UPGRADE: MCAD Skills to MCPD Web Developer by Using the Microsoft .NET Framework
Copy a Web application to a target server by using the Copy Web tool.
Precompile a Web application by using the Publish Web tool.
Optimize and troubleshoot a Web application.
- Customize event-level analysis by using the ASP.NET health-monitoring API.
- Use performance counters to track the execution of an application.
- Troubleshoot a Web application by using ASP.NET tracing.
- Optimize performance by using the ASP.NET Cache object.
The Copy Web Tool allows you to copy your website from your machine to another machine. It can connect to a remote machine through http (using Frontpage extensions), FTP. It can also deploy to your local IIS machine, or your file system. It does a bi directional sync, meaning changes from your machine are uploaded to the server and changes from the server are downloaded to your machine.
The Publish web tool allows you to precompile your website. You can then deploy the website without the accompanying source code. You publish to either a local file path, ftp or http. If you select the "Allow this precompiled site to be updateable" option, the HTML is not compiled into the assembly. If you select the "Use fixed naming and single page assemblies" option, you will get an assembly for each page. Skins and Themes are still compiled into a single assembly. The last option available to you is whether or not you want to strongly name the assemblies.
In the last section of this MSDN article, Jeff Prosise describes the health monitoring API. There is also a Patterns and Practices article describing best uses of the feature.
There are quite a few performance counters. Look (in perfmon) under ASP .NET Apps v2.0.50727 . Counters that look interesting to watch are Anonymous Requests / Sec, Error Events Raised / Sec, Request Execution Time, Request Wait Time, Requests Executing, Requests / Sec, Sessions Total.
To get tracing information from an ASP.NET application, you still have to enable tracing in the web.config file. You request http://localhost/myapp/trace.axd to view the trace logs. There is an article at ExtremeExperts.com on the new tracing features.
Thiru Thangarathinam has a overview of the new caching features at 15seconds.com. Important changes appear to be the SqlCacheDependency.
Next up->Master Pages