Quote:
How will I know where is the blazor app hosted on dev server?
Put the base URL of the other application in the
appSettings
section of your
web.config
file. You can use the application settings expression builder to insert the value into your page:
<appSettings>
<add key="RollUpMappingsUrl" value="https://localhost:44335/counter" />
</appSettings>
<asp:MenuItem NavigateUrl="<%$ AppSettings:RollUpMappingsUrl %>" Text="RollUp Mappings" />
ASP.NET Expressions Overview | Microsoft Docs[
^]
When you deploy your application, update the config file to specify the live URL to use.