How to Set Default path for the Asp.Net Core Web Api
If you want to learn about How to set up Swagger in .Net core web api please follow this link
1. Go To Project Properties > Open LaunchSettings.json
2. Select Your Running Profile
I am running on 'IIS Express' profile
3. Change the "LaunchUrl" property into url you need to set as default path
I need to set my Default path as swagger document and i change it to "swagger/",
4. Now its time to run the application
1. Go To Project Properties > Open LaunchSettings.json
2. Select Your Running Profile
I am running on 'IIS Express' profile
3. Change the "LaunchUrl" property into url you need to set as default path
I need to set my Default path as swagger document and i change it to "swagger/",
4. Now its time to run the application
Comments
Post a Comment