Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The normal way to preview a website in Visual Studio is to run the project, not to open a static design pane. Select the https launch profile (or another configured profile), press F5 to debug or Ctrl+F5 to run without debugging, and Visual Studio opens the rendered application in a browser. The browser displays the site served by your running app, so server-side code, routes, data, JavaScript and CSS are tested together.

This guide covers ASP.NET Core, browser selection, Browser Link and Hot Reload, Web Forms Web Live Preview, common launch failures, and a way to capture a clean remote screenshot without configuring a local browser.

Preview an ASP.NET Core website in Visual Studio

  1. Open the project. Open the .sln solution or the web project’s .csproj file in Visual Studio.
  2. Choose a launch profile. In the toolbar’s run-target dropdown, select https when it is available. The profile supplies the local URL, environment and browser-launch behavior.
  3. Start the app. Press F5 (Start Debugging) or Ctrl+F5 (Start Without Debugging). Visual Studio builds the project, starts the web server and opens the local address in a browser. Microsoft describes the rendered result this way: “The Index.cshtml file corresponds with your Home page in the web app, which runs in a web browser.”
  4. Use the site. Follow links, submit forms and inspect the rendered pages at the local URL. Edit a page or stylesheet, save it, then refresh. Depending on the edit and project configuration, Hot Reload may apply the change; otherwise refresh or restart the app.
  5. Stop the preview. Press Shift+F5 to stop debugging. A Ctrl+F5 session can be stopped with the Stop button or by closing the running session.

The Microsoft walkthrough is available at Tutorial: Create C# ASP.NET Core web application – Visual Studio (Windows). On first HTTPS use, Visual Studio may ask you to trust the ASP.NET Core development certificate; accept it only when you recognize the prompt and follow Microsoft’s current certificate guidance if trust errors remain.

Choose a browser or open several browsers

Select the browser Visual Studio launches

Use the browser/debug-target dropdown beside the Start button. The choices depend on installed browsers and the project’s launch-profile configuration. Microsoft Edge documentation shows Visual Studio launching an ASP.NET Core app in an Edge preview channel; that is simply a browser target—the application still has to be running locally.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Use Browse With for cross-browser checks

When available, right-click the web project and choose Browse With…. Select one or more installed browsers, choose a default if needed, and open the project. This is useful for comparing layout, cookies and JavaScript behavior without changing the application.

See Microsoft’s browser-launch and debugging settings at Enable debugging for ASP.NET apps – Visual Studio (Windows) and the browser workflow at Visual Studio for web development.

Refresh connected browsers with Browser Link and Hot Reload

Browser Link creates a development communication channel between Visual Studio and connected browsers. Where the project supports it, you can refresh multiple browsers together, test different screen sizes, map selected UI elements to source markup and assist with browser testing. CSS Hot Reload can refresh connected browsers after CSS changes.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

These tools are different from launching the app: the launch profile starts the server and opens a page; Browser Link coordinates refresh and diagnostics after a browser is connected. Hot Reload is edit-dependent. Microsoft’s Browser Link guidance recommends Hot Reload rather than runtime compilation for observing Razor (.cshtml) changes, and neither feature guarantees that every code or configuration edit appears without a restart.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What “Live Preview” means in Visual Studio

ASP.NET Core

For ASP.NET Core, the supported baseline preview is the running app in a browser (F5 or Ctrl+F5), optionally assisted by Hot Reload and Browser Link. There is not a universal design canvas that renders every ASP.NET Core project while you edit.

ASP.NET Web Forms

Web Live Preview is a separate Visual Studio experience described for Web Forms in Visual Studio 2022. Microsoft’s Visual Studio Toolbox episode explains that Web Forms changes can be reflected live in the running app. It should not be treated as the general ASP.NET Core preview path. Details and availability can vary by Visual Studio version and project type; see Web Live Preview.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Visual Studio versus Visual Studio Code

A common search result says “I installed Live Preview but there is no live preview option.” The Microsoft Q&A response explains that the commonly named Live Preview extension is for Visual Studio Code, while Visual Studio IDE has the separate Web Live Preview feature for Web Forms. Confirm which editor and project type you are using before installing an extension; use the documentation for your exact Visual Studio release rather than assuming the controls are interchangeable. The discussion is at Microsoft Q&A.

Preview workflow by goal

Goal Use What it does
Run an ASP.NET Core site locally https or another launch profile, F5/Ctrl+F5 Builds and serves the application, then opens a browser.
Debug requests and breakpoints F5 Runs with the Visual Studio debugger attached.
Check without debugger overhead Ctrl+F5 Runs the app and opens the browser without starting a debugging session.
Test several browsers Browse With… Launches selected browsers against the running site.
Refresh connected browsers Browser Link Coordinates refresh and selected development features.
See supported edits quickly Hot Reload Applies eligible changes; unsupported edits require refresh or restart.
Live Web Forms editing Web Live Preview Visual Studio 2022 experience for Web Forms, not a universal ASP.NET Core mode.

Troubleshoot a missing or broken preview

The browser does not open

  • Confirm a web project is selected as the startup project.
  • Check the toolbar launch target and the profile’s URL.
  • Open the project’s debug/launch settings and verify Launch browser is enabled. Microsoft’s debugger documentation describes these settings.
  • Copy the displayed local URL and paste it into a browser manually. If it works, the app is running and only automatic launching is misconfigured.

The HTTPS certificate prompt or error appears

ASP.NET Core development HTTPS can require a certificate-trust prompt. Accept the expected Visual Studio prompt, then consult the current Microsoft certificate instructions for persistent trust or browser errors. Do not replace a certificate problem by silently switching to production credentials.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Edits are not visible

  1. Save the file and hard-refresh the browser.
  2. Check whether Hot Reload reports that the edit is supported.
  3. Restart with F5 or Ctrl+F5 if the edit changes server startup, routing, configuration, generated code or another unsupported area.
  4. For Razor files, use the Hot Reload workflow recommended in the Browser Link documentation rather than assuming runtime compilation is active.

There is no “Live Preview” command

Identify the editor (Visual Studio or Visual Studio Code), project type (ASP.NET Core or Web Forms) and Visual Studio version. A VS Code extension will not add the Visual Studio IDE’s Web Forms Web Live Preview command, and Web Live Preview is not the ordinary ASP.NET Core launch workflow.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

A page is blank or a route returns an error

  • Read the Visual Studio Output and Debug consoles for build, startup and exception messages.
  • Verify the requested path matches the app’s routing and that required services, database settings and environment variables are available in the selected profile.
  • Check whether the page depends on an external service that is unavailable from your development machine.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Capture a remote preview without configuring a browser

If you need an image or PDF of a public URL rather than an interactive local debugging session, ScreenshotNeo is a practical alternative: it removes cookie banners, newsletter popups and chat widgets before capture, bills only clean successful shots, and provides an MCP server for AI agents.

Or skip the browser setup

After your site is deployed to a reachable URL, make one request. The API can return PNG, JPEG or WebP; the example below requests the default image output.

See the complete parameter reference in the ScreenshotNeo documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
r.raise_for_status()
open("shot.webp", "wb").write(r.content)

Node.js

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`Screenshot failed: ${res.status}`);
const fs = await import('node:fs/promises');
await fs.writeFile('shot.webp', Buffer.from(await res.arrayBuffer()));

Replace the example URL with your deployed site. ScreenshotNeo supports full-page and element captures, device presets, custom viewports, retina scale, dark mode, PDF settings, custom CSS or JavaScript, click and wait actions, request blocking, headers, cookies, user agents, authorization, timezone, geolocation, transparent backgrounds, resizing, configurable caching, signed image links, asynchronous webhooks, bulk capture of up to 100 URLs per call, usage reporting and an OpenAPI specification. Its parameter names are compatible with those used by other screenshot APIs, which can simplify migration.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits are not billed, and response headers identify the page verdict and billing result. Every plan includes the features above; the Free plan provides 1,000 shots per month without a card, and paid plans start at $5 for 3,000 shots. An MCP server exposes take_screenshot, get_page_info and capture_pdf to Claude, Cursor and other MCP clients. Create a free ScreenshotNeo account to get started.

Cost, reliability and security considerations

  • Local preview: F5 and Ctrl+F5 use your development machine and require no screenshot-service account. The URL is normally local and unavailable to outside reviewers unless you expose it deliberately.
  • Remote capture: ScreenshotNeo requires a reachable URL and an API key. Keep the key in an environment variable or secret store, not in client-side JavaScript or a public repository.
  • Repeatability: Fix a launch profile, viewport, wait condition and test data when comparing screenshots. Dynamic content, authentication and third-party scripts can change what a capture shows.
  • Billing interpretation: For ScreenshotNeo, inspect the X-Page-Verdict and X-Billed response headers; a failed or cached request is not treated as a clean billed shot.

Frequently Asked Questions

Can I preview a website without debugging it?

Yes. Press Ctrl+F5 or choose Start Without Debugging. Visual Studio runs the site and opens its local URL without attaching the debugger.

Does Visual Studio preview a static HTML file?

The F5 workflow is intended for a configured web project. For a static file, open the file in a browser or use a local static server; the ASP.NET Core launch profile is not required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why does my local URL work only while Visual Studio is open?

The development server is normally owned by the running Visual Studio session. Stop the session and the local endpoint stops serving requests.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.