Since I am new to working with IIS and communicates with a C# web form 2010 web application, I have a few questions to ask about how to test the web application with IIS. The IIS I need to work with is IIS 7 that needs to be compatible with IIS6. (This is due to the web application I am working uses meta data files.) Of the ways to work with IIS , I do not think I want to use IIS Express as the web server since IIS EXpress is version IIS 7.5 and above and I want to use IIS 6.
Of the options I am listing below, I would like to know what the better option is and how to accomplish the tasks on my own workstation:
1. I would will use Cassini to test the web application. I will then deploy the web application to IIS on my own workstation and test the web application. How can I accomplish those tests separately? (Note: the network administrator at my small company has already installed IIS for me. (Note: I have not setup IIS to communicate with the web application yet.)
2. I would use IIS as the test web server on my workstation.
Thus can you tell me and/or show me references on how to accomplish these goals?
Loading
Mamta MPosted Apr 27, 2012, 2:27 AM
The built in web server for Visual Studio, Cassini, has many limitations...
It can host only one ASP.NET application per port.
It does not support HTTPS.
It does not support authentication.
It responds only to localhost requests.
Does not support virtual directories
About testing with Cassini and NUnit, see here:
http://timescott.wordpress.com/2008/12/09/running-integration-tests-using-cassini/
More links:
http://www.lhotka.net/weblog/UpdateOnMyStrugglesWithTheASPNETDevelopmentServer.aspx