Monday, August 2, 2010
Testing and Deploying ASP.NET 4.0 Apps

Code OnTime code generator is not using IIS to run the generated web sites on development machine.

Please install one of the following on your machine to enable testing of ASP.NET 4.0 web sites generated with Code OnTime generator:

Both products will install local Web Developer Server on your machine. There are two Web Developer servers capable of running ASP.NET 3.5, and ASP 4.0. You can find the at "C:\Program Files (x86)\Common Files\microsoft shared\DevServer\10.0".

Our code generator is producing ASP.NET 3.5 web sites for all code generation projects. Web Site Factory code generation project also supports ASP.NET 4.0. The code generator will need WebDev.WebServer40.EXE to run the ASP.NET 4.0 projects.  Otherwise WebDev.WebServer20.exe is required.

image

If you run the code generator and select the "browse" option next to the name of your project then the appropriate version of the local web server will be started.

If you are generating an ASP.NET 4.0 project and running it under IIS 7 then the following requirements must be met:

You may need to execute "iisreset" from command line to restart the server for  changes to take affect.

Otherwise the application deployment procedure is based on XCOPY model. You will find numerous deployment options described at http://msdn.microsoft.com/en-us/library/ms178610(VS.80).aspx.

We are planning to publish a visual tutorial explaining the deployment process on our YouTube channel. Subscribe to be notified when next batch of tutorials is available.