I have a question about deploying a C# web form 2010 application to production. In the application that I am to make some changes to, I plan on using Cassini as the development web server. However when I want to deploy this web application to production,
the production website uses II7 and needs to be compatible with IIS6.
Thus since I will be testing in Cassini and deploying to IIS7 that is compatible with IIS 7, what do I need to be aware of? Are some settings different?
Are there common mistakes that developers make that I should be aware of? Basically like do files need to be in a certain directory for IIS, but it makes no difference for Cassini?
peggy_girl
Member
33 Points
47 Posts
deploying visual studio.net 2010 to production
Apr 16, 2012 03:48 PM|LINK
I have a question about deploying a C# web form 2010 application to production. In the application that I am to make some changes to, I plan on using Cassini as the development web server. However when I want to deploy this web application to production, the production website uses II7 and needs to be compatible with IIS6.
Thus since I will be testing in Cassini and deploying to IIS7 that is compatible with IIS 7, what do I need to be aware of? Are some settings different?
Are there common mistakes that developers make that I should be aware of? Basically like do files need to be in a certain directory for IIS, but it makes no difference for Cassini?
tdykstra
Contributor
4475 Points
625 Posts
Microsoft
Moderator
Re: deploying visual studio.net 2010 to production
Apr 16, 2012 03:56 PM|LINK
See these tutorials on the ASP.NET site:
http://www.asp.net/hosting/tutorials/common-configuration-differences-between-development-and-production-cs
http://www.asp.net/web-forms/tutorials/deployment/core-differences-between-iis-and-the-asp-net-development-server-cs
Consider also deploying to an IIS site on your local machine for testing, as in this tutorial:
http://www.asp.net/web-forms/tutorials/deployment-to-a-hosting-provider/deployment-to-a-hosting-provider-deploying-to-iis-as-a-test-environment-5-of-12