سؤال

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

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.

نصائح أخرى

Steps are here.

To specify a port for a Web application project that uses IIS Express

  1. In Solution Explorer, right-click the name of the application and then select Properties. Click the Web tab.
  2. In the Servers section, under Use Local IIS Web server, in the Project URL box change the port number.
  3. To the right of the Project URL box, click Create Virtual Directory, and then click OK.
  4. In the File menu, click Save Selected Items.
  5. To verify the change, press CTRL+F5 to run the project.

The new port number appears in the address bar of the browser.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top