Chapter 4. Troubleshoot and debug web applications

The developer who has never had to troubleshoot or debug an application is a rare person indeed. Even the best-planned projects can experience situations in which something does not work as expected. Sometimes the fix is simple, such as correcting a divide-by-zero exception; other times the solution requires removing large chunks of code and refactoring that section of the application.

Troubleshooting and debugging an application is a normal process when creating or modifying an application. Fortunately, Microsoft Visual Studio presents many ways to trace through your code while the application is running. Traces can help you understand what is occurring inside your application. The ability to ...

Get Exam Ref 70-486: Developing ASP.NET MVC 4 Web Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.