Page 271 - DCAP312_WEB_TECHNOLOGIES_II
P. 271
Sarabjit Kumar, Lovely Professional University Unit 14: Debugging and Optimization
Unit 14: Debugging and Optimization Notes
CONTENTS
Objectives
Introduction
14.1 Debugging in an ASP.NET Application
14.1.1 Creating an ASP.NET Application
14.1.2 Download Cassini
14.1.3 Debugging an ASP.NET Application
14.1.4 Attach to Process
14.1.5 Disable Debugging for an ASP.NET Application
14.2 Optimizing Using Caching
14.2.1 ASP.NET Caching Features
14.2.2 The Upside of Using the Cache
14.2.3 The Downside of Extensive Caching
14.2.4 Standardizing Cache Access
14.3 Optimizing via Performance Profiling
14.3.1 ASP.NET Performance
14.3.2 ASP.NET Pipeline Optimization
14.3.3 ASP.NET Process Configuration Optimization
14.4 Summary
14.5 Keywords
14.6 Review Questions
14.7 Further Readings
Objectives
After studying this unit, you will be able to:
• Explain debugging and optimization application
• Define optimizing using caching
• Discuss the optimizing via performance profiling
Introduction
Debugging is the process of finding and correcting the errors in a program. In normal Active
Server Pages (ASP) file Response. Write statement was the only primary method to debug the
errors and even Script Debugger was not sophisticated to debug, in comparison to the debuggers
that Windows developers had for Visual Basic and C++ code. All these deficiencies have been
changed in .Net Framework because the Common Language Runtime provides integrated
debugging for all the applications. The primary objectives for debugging in ASP.NET include both
in-process and out-of-process debugging, remote process debugging, managed and unmanaged
code debugging, edit and continue, and mixed language support.
LOVELY PROFESSIONAL UNIVERSITY 265