First off,
launchSettings.json
file is only used within the local development machine. Refer:
ASP.NET Core launchSettings.json File - Dot Net Tutorials[
^]
Now, to setup a startup page for ASP.NET Core webapp, there are various ways:
1. Method 1: Set Startup Class
2. Method 2: Configure the Startup.cs file
3. Method 3: Use the
UseDefaultFiles
Method
First two are custom ways. Generally, apps use default configuration (Method 3) where one of the below files is placed in wwwroot and setup to use it.
default.html
default.htm
index.html
index.htm
Refer:
How to set start page in dotnet core web api? - StackTuts[
^]
Configuring Startup Page In ASP.NET Core[
^]