Asp.net MVC 3 Deployment

With MVC 3 you could deploy to remote site, create package.

in My case I need to create the package.

How to do that?

in your vs 2010 sp1.

  • Right Click on the MVC3 Project –>Add deployable Dependency-> Check “asp.net MVC” and “asp.net webpages with Razor Syntax”, this will make sure all the presequites dll are being copied to bin folder
  • Right click again –> Build deployment Package
  • Go to that Folder setting, get the package or zip file

Now if you have problem running that cmd/bat file , it’s related to ms deploy.

Install Ms deploy in the server

you can import manually on your IIS manager console in the server.

just choose the website and click Import and choose the zip file.

Done Smile

http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx

Remember that on that machine must have :

everything under world wide web->application…-> Checked

“regiis –I” is your latest weapon

.

Share this post: | | | |
Published Wednesday, February 29, 2012 10:44 AM by cipto

Comments

No Comments