.NET Tuning, Debugging, and Optimization From Modulus Training
Sponsored links
Microsoft .NET applications must be thoroughly tested, debugged, and optimized
before deployment, to ensure high performance and robust solutions. This course is
designed for intermediate programmers to quickly come up to speed on techniques for
debugging and optimizing .NET programs. It also covers tuning applications after they
have been deployed.
This course is designed for using the C# programming language. However, the
techniques for debugging a .NET program do not generally depend on the programming
language used to develop the application. Therefore, this course would also be useful
to programmers who use other .NET languages, such as VB.NET. However, all example
code and lab exercises are provided in C#.
The course incorporates a case study approach, involving use of many important
features of the .NET Framework, including Windows Forms, ASP.NET Web Forms, Web
services, and XML. The case study can serve as an effective vehicle for review or
gaining exposure to these technologies, and so can be suitable for project leaders and
architects who need a good understanding of .NET but may not have the time to take a
complete curriculum of courses.
This course is practical, with many example program that demonstrate effective
debugging and optimizing techniques. The goal is to quickly bring you up to speed in
the development of effective and reliable .NET applications. The student will receive
a comprehensive set of materials, including course notes, programming examples, and
lab exercises.
| Delivery: |
|
| Regions: |
|
| Category: |
Topics
• 1. Overview of .NET Debuggers
o Compile-time Errors and
Run-time Errors
o Configuring Debug,
Release, and Special
Builds
o Visual Studio .NET
Debugger
o The Windows-based
DbgCLR Debugger
o The CorDbg Commandline
Debugger
o Just-In-Time Debugging
• 2. Error and Exception
Handling
o Using Exception Handlers
o Checked Integer
Arithmetic
o The Exceptions Dialog
Box
o The $exception
Pseudovariable
o User Defined Exceptions
o Best Practices in
Exception Handling
• 3. Debugging and Tracing
o Attaching to Processes
o Tracing
o Event Logs
• 4. Debugging Web Forms
Applications
o Enabling ASP.NET
Debugging
o Debugging Web Forms
Applications Using Visual
Studio
o Debugging Web Forms
Applications Using .NET
SDK
o Tracing and Event Logs
with ASP.NET
o Debugging Client Scripts
• 5. Debugging Web Services
o Enabling Web Services
Debugging
o Debugging Web Services
Using Visual Studio
o Debugging Web Services
Using .NET SDK
o XML Serialization Issues
o HTTP Headers Issues
• 6. More About Tracing
o Using the BooleanSwitch
and TraceSwitch Classes
o Print Debugging
Information with the
Debug Class
o Instrumenting Release
Builds with the Trace
Class
o Using Listeners
o Implementing Custom
Listeners
• 7. Fundamentals of
Optimization
o Compiler Optimization
o Performance
Measurements
o Responsive User
Interfaces
o Multithreaded Windows
Forms Applications
o Best Practices for High
Performance
• 8. Application Profiling
o Profiling Techniques
o Tracing and
Instrumenting an
Application
o Using Performance
Counters
o Resource Utilization
Profiling
o Profiling Code Hotspots
• 9. Optimizing ASP .NET
Applications and Web Services
o Caching in ASP.NET
o Monitoring ASP.NET
Application Performance
o Using Microsoft
Application Center Test
(ACT)
o Best Practices for High
Performance
• 10. Remote Debugging
o Remote Debugging Setup
o Debugging Windows
Forms Programs
Remotely
o Debugging Web
Applications and Services
Remotely
• 11. Tuning
o Configuration Files in
.NET
o Tuning Windows Forms
Configuration Files
o Tuning ASP.NET
Configuration Files
• Appendix A. Mixed-Mode
Debugging Creating the User
Interface
Objectives
On completion of this course, the student should be able to:
• Acquire a working knowledge of .NET diagnostic classes and tools
• Learn how to debug .NET applications
• Become proficient in optimizing and tuning .NET applications
Prerequisites
The student should be an experienced .NET application developer.
