locked
How to deploy my asp.net mvc web application to IIS without using visual Studio RRS feed

  • Question

  • User-540818677 posted

    I have moved my asp.net mvc web application to our staging server and I have deploy it to IIS using visual Studio, as our staging server already contain Visual Studio .i did this bu right-click on my project and click on Publish. currently I need to move the asp.net mvc web application to production server and deploy it on IIS, but I have a couple of questions:-

    1. Should I install visual studio inside my production server. Or it is better to avoid doing so ?
    2. Is there a way to deploy my asp.net mvc directly to IIS , without uisng visual Studio ?

    Thanks

    Friday, February 7, 2014 6:25 AM

Answers

  • User-760709272 posted

    Do a File publish to a folder on the machine that has VS installed, then just copy that folder to your production server.  There are various deployment services and tools etc that you can use to automate these things like TeamCity and others, or use MSBuild scripts etc.  It's quite a large subject.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, February 7, 2014 6:44 AM