Search code examples
wcfvisual-studio-2013portvs-web-site-project

Where can I change the port of a Web Site Project (WCF) in Visual Studio 2013?


For Web Site Projects in Visual Studio 2010 the port could be changed in the properties after setting use dynamic ports to false. This option not present in Visual Studio 2013. Can the port there only be changed directly in the SLN file?


Solution

  • it is as suspected. The ports have to be changed in the SLN file and the URL in the web.config

    SLN File of the solution:

    VWDPort = "xxx"
    

    Web.config of the website:

    endpoint address="http://....."