Summary
Set the build option to Release and the debug attribute to false in Web.config before building your application for deployment.
Use the AssemblyInfo.vb or AssemblyInfo.cs file to identify the application s assembly and provide versioning information.
To deploy a Web application, use the Visual Studio .NET upload tools or simply copy the application s assembly and content files to the server.
Set the security privileges on the ASPNET user account to enable your Web application to write files or access other security-restricted resources on the server.
After deployment, monitor the Web application using the MMC Event Viewer and Performance Logs and Alerts snap-ins.
You can repair Web applications by uploading new versions of the application s assembly or content files to the server.
Web applications with memory leaks or other problems can repair themselves through ASP.NET process recycling.
To enable a Web garden, use the processModel element attributes in the server s Machine.config file.
To enable a Web farm, use a load balancer to distribute requests to multiple servers.
For both Web gardens and Web farms, share Session state information by setting the sessionState element in the application s Web.config file.