How do you publish an ASP.net MVC application from Visual Studio 2013 to your local network?

前端 未结 5 1516
耶瑟儿~
耶瑟儿~ 2021-01-28 00:19

I made a simple ASP.net MVC web application in Visual Studio 2013, and I want to deploy it so it can be accessed from the browser on other computers on my local network. I have

5条回答
  •  太阳男子
    2021-01-28 00:31

    The issue was that ASP.net was not registered with IIS

    1. Opened command prompt as administrator
    2. Navigated to C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    3. Ran aspnet_regiis -iru

    Now web app runs in IIS http://www.asp.net/web-forms/overview/deployment/configuring-server-environments-for-web-deployment/configuring-a-web-server-for-web-deploy-publishing-%28remote-agent%29

提交回复
热议问题