In Solution Explorer, click the name of the application/Web site.
In the Properties pane, click the drop-down of the "Use dynamic ports" and set to false.
Write the Port Number in the Port Number box. Save the settings.
Now, whenever you will start debugging, your application will use this port.
Thanks
Regards,
Raja
Poster, please login to Mark As Answer, if this helps |
Alert Moderator