How to enable the Launch URL of Swagger in ASP.NET?
Here are the general steps to enable Swagger and set the base URL in an ASP.NET Web API project:
Steps:
1. Create a Rest App
2. Go to the appsettings.json
3. Add a default launch as swagger
4. Mark the launch browser as true
5. Set the application URL
6. Save it and hit the Start IIS server option
7. The swagger URL will be loaded in the browser
