ASP.NET MVC3 WebSite Hosting With Remote Server (BIN Deployment)


Here are the steps that you can use to deploy your MVC Website.

1. Build your website.
2. Select all your Reference Assemblies in the Reference section of your Website project. And goto Properties-> Set Local Copies to True.
3. Right click on your Project and select Add Project Deployment Dependencies.( Select as appropriate with your requirements like Razor, ASP.NET MVC, SQL CE).
4. Finally build your website and Right click on Project and select publish.
5. Follow this Image step by providing appropriate selection.



6. Copy your deployed folder to the destination server.
7. In your Server IIS right click add website and select new one with the folder you just copied.

7.1. Select your Application pool as .NET4.0 Integrated mode.(Not Classic mode)

8. In Sites tree view select your project and goto content view like in the image below.






9. And in your APP_Data folder make the access permission to everyone.(Thats all). 

10. You are done now. Goto -> Sites -> Right Click on your Project -> Manage your website -> Browse.

No comments:

Post a Comment