Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Starting swagger from within visual studio #5510


User avatar
0
system15 created

Hi there when I press the IIS Express button with visual studio the browser loads with the url <a class="postlink" href="http://localhost:22742/">http://localhost:22742/</a> how do I get it to load with <a class="postlink" href="http://localhost:22742/swagger/">http://localhost:22742/swagger/</a> so I don't need to type /swagger each time I run it?

Thanks in advance


1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team

    Hi,

    Right click to your web project in Visual Studio and select Properties. From the left tab choose Web. Write your swagger URL, in the Specific Page input.