It is apparently a shortcoming of the VS Web Express software. I had to dig deep and asked my professor. Time wasted but lesson learned.
How to set fixed port in Visual Studio Express 2012 for Web
-
20-07-2023 - |
سؤال
I do not know if its a limitation of VSE 2012 or if I am looking at it incorrectly but I cannot for the life of me find the option to disable the dynamic port of my web service. This is what I am seeing under my project properties and this is the property page. According to this article I should be getting very different options. Any ideas? (Screens would be more convenient but alas, I do not have the rep yet)
المحلول 2
نصائح أخرى
Steps are here.
To specify a port for a Web application project that uses IIS Express
- In Solution Explorer, right-click the name of the application and then select Properties. Click the Web tab.
- In the Servers section, under Use Local IIS Web server, in the Project URL box change the port number.
- To the right of the Project URL box, click Create Virtual Directory, and then click OK.
- In the File menu, click Save Selected Items.
- To verify the change, press CTRL+F5 to run the project.
The new port number appears in the address bar of the browser.
لا تنتمي إلى StackOverflow