StepUp
StepUp

Reputation: 38094

How to run MVC 4 of VS 2012 on web server?

I have a MVC 4 application and runs well on my local machine. What do I have to do further in Visual Studio 2012 to run my website in web server? Do I have to make some files by VS 2012 to deploy a website in web server?

Upvotes: 0

Views: 1099

Answers (1)

JMan
JMan

Reputation: 2629

You don't need to do anything specific in Visual Studio.

  • Make sure you have .net 4.0 and MVC installed on your server.
  • Configure your app pool to be the same architecture as your Webapp(x86, x64).
  • Change your web.config
  • Create a virtual directory/application on your ISS.
  • Configure authentication options of your app(probably you will need anonymous and forms)

When you publish/build your website you can just copy the entire content to your IIS directory and it should work.

Upvotes: 1

Related Questions