dotnet-architecture / eShopOnWeb

Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
https://docs.microsoft.com/dotnet/standard/modern-web-apps-azure-architecture/
MIT License
10.16k stars 5.52k forks source link

Cannot Debug BlazerAdmin #1053

Open matnatx opened 5 months ago

matnatx commented 5 months ago

Hi,

I tried to run/debug BlazerAdmin in Visual Studio 2022 / VS Code and I get the following error:

This localhost page can’t be foundNo webpage was found for the web address: https://localhost:5001/

Any ideas why ?

TIA

muratsercann commented 5 months ago

in Visual Studio :

  1. Open PublicApi in terminal and run dotnet run command
  2. Start Web project with Web profile not with IIS Express profile.
  3. Go to https://localhost:5001/Admin from your browser

This is enough for you to debug BlazorAdmin or any other project. No need to run the BlazorAdmin project separately.

You can look : Running the sample locally in readme.md