DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 818013 - Last Review: February 27, 2014 - Revision: 2.3

This article has been archived. It is offered "as is" and will no longer be updated.

On This Page

SUMMARY

This step-by-step article describes important considerations for supporting applications that are built on the .NET Framework. This is one of a series of articles that provide detailed information for applications that are built on the .NET Framework.

The articles in this series include the following:
818016  (http://support.microsoft.com/kb/818016/EN-US/ ) HOW TO: Deploy Applications That Are Built on the .NET Framework
818013  (http://support.microsoft.com/kb/818013/EN-US/ )
818015  (http://support.microsoft.com/kb/818015/EN-US/ ) HOW TO: Tune and Scale Performance of Applications That Are Built on the .NET Framework
818014  (http://support.microsoft.com/kb/818014/EN-US/ ) HOW TO: Secure Applications That Are Built on the .NET Framework

Backup and Restore .NET Framework Configuration and Security Policies

The .NET Framework configuration and security policies are stored in standard XML files. These files do not require a special agent for backup and recovery. However, administrators must know the locations of the various files. They should also understand which files are significant and which files do not require backup.

For descriptions of files that must be included in backup and recovery to enable the .NET Framework configuration to be restored after a storage failure, click the following article number to view the article in the Microsoft Knowledge Base:
815168  (http://support.microsoft.com/kb/815168/EN-US/ ) HOW TO: Back up and Restore .NET Framework Configuration and Security Policy Files

Enable ASP.NET Tracing

ASP.NET includes tools that give administrators detailed information about the operation of Web pages. Tracing shows all details of the request and response, including custom error messages that the application may generate. Tracing can be a valuable troubleshooting tool. However, you should only enable tracing when you understand its potential effects on performance and security.

For additional information about how to enable tracing for ASP.NET applications, click the following article number to view the article in the Microsoft Knowledge Base:
306731  (http://support.microsoft.com/kb/306731/EN-US/ ) INFO: New Tracing Feature in ASP.NET

Monitor ASP.NET Server Applications

One of the best ways to improve application uptime is to reliably and rapidly detect application failures. There are several ways to monitor ASP.NET applications: watch for process failures, monitor dependant services, simulate HTTP requests, and alert on performance counters.

For additional information about how to configure multiple layers of monitoring for ASP.NET applications, click the following article number to view the article in the Microsoft Knowledge Base:
815169  (http://support.microsoft.com/kb/815169/EN-US/ ) HOW TO: Monitor ASP.NET Server Applications

Monitor Errors in Applications That Are Built on the .NET Framework

Applications that are built on the .NET Framework typically log errors by using the standard Windows event log. ASP.NET applications can use the Windows event log. However, errors frequently appear only in the HTTP usage logs. ASP.NET applications also expose errors through performance counters. This enables real-time monitoring and alerting.

For additional information about how to monitor errors in applications that are built on the .NET Framework, click the following article number to view the article in the Microsoft Knowledge Base:
815167  (http://support.microsoft.com/kb/815167/EN-US/ ) HOW TO: Monitor Errors in .NET-Connected Applications

Troubleshoot ASP.NET Web Applications

ASP.NET applications function very differently from ASP 3.0 applications. Therefore, they require different methods for troubleshooting. Fortunately, ASP.NET provides better troubleshooting tools than did older application environments. Detailed error messages and tracing can isolate most problems if the error messages occur in ASP.NET and not in the Web sever.

For additional information about ASP.NET troubleshooting procedures, click the following article number to view the article in the Microsoft Knowledge Base:
815166  (http://support.microsoft.com/kb/815166/EN-US/ ) HOW TO: Troubleshoot ASP.NET Web Applications

Measure Responsiveness of ASP.NET Web Applications


The responsiveness of ASP.NET applications can be measured by using tracing, by using the Performance snap-in, or by using the Web Application Stress (WAS) tool. The WAS tool generates an artificial load on a Web server. You can do this to measure responsiveness, to test scalability, and to tune performance. However, there are four considerations for using the WAS tool to most effectively identify performance issues for an ASP.NET application.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
815161  (http://support.microsoft.com/kb/815161/EN-US/ ) HOW TO: Measure ASP.NET Responsiveness with the Web Application Stress Tool

Debug ASP.NET Web Applications


ASP.NET has new features for easily debugging your Web application. In an ASP.NET application, you can set up a breakpoint, use page-level tracing, and write out custom trace messages for debugging. By using the new debugging features in ASP.NET, you can track progress through your Web applications and more easily identify and diagnose problems.

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
316726  (http://support.microsoft.com/kb/316726/EN-US/ ) HOW TO: Debug an ASP.NET Web Application

306172  (http://support.microsoft.com/kb/306172/EN-US/ ) INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio .NET

Troubleshoot Problems Caused by .NET Security Configuration

The .NET Framework provides administrators with very detailed control over permissions that are granted to managed assemblies. Many applications are built to run in the default .NET Framework environment. These applications may experience problems in customized environments. An important part of isolating these types of issues is to determine whether security configuration is the source of the problem.

For additional information about how to determine whether customized security configuration is the source of an application problem, click the following article number to view the article in the Microsoft Knowledge Base:
815163  (http://support.microsoft.com/kb/815163/EN-US/ ) HOW TO: Troubleshoot Problems That Are Caused by the .NET Framework Security Configuration

Troubleshoot Problems That Are Caused by Trust Levels

One of the benefits of managed applications that are built on the .NET Framework is that the common language runtime environment restricts the application’s access to only those system resources that are permitted by the application’s trust level. The downside of this increased security is that applications may require resources that they do not have access to. Administrators must be able to troubleshoot these issues. The .NET Framework Configuration tool offers several ways to troubleshoot these configuration issues.

For additional information about how to troubleshoot trust-level problems, click the following article number to view the article in the Microsoft Knowledge Base:
815164  (http://support.microsoft.com/kb/815164/EN-US/ ) HOW TO: Troubleshoot Problems That Are Related to Trust Levels

REFERENCES

For more information about how to support applications that are built on the .NET Framework, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/netframework/aa497327.aspx (http://msdn2.microsoft.com/en-us/netframework/aa497327.aspx)



APPLIES TO
  • Microsoft .NET Framework 1.0
  • Microsoft ASP.NET 1.0
  • Microsoft Internet Information Services 5.0
  • Microsoft .NET Framework 1.1
  • Microsoft ASP.NET 1.1
Keywords: 
kbnosurvey kbarchive kbsecurity kbbackup kbmonitoring kbwebserver kbweb kbhowtomaster KB818013
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support