HOW DO YOU DEBUG AN ASP.NET WEB APPLICATION?

Monaj Singh

Total Post:48

Points:240
Posted by  Monaj Singh
 1361  View(s)
Ratings:
Rate this:
  1. Pushpendra Singh

    Post:241

    Points:1205
    How do you debug an ASP.NET Web application?

    Enable Debugging in Web.config
    Because many parts of an ASP.NET application (such as .aspx, .asmx and .ascx pages) are dynamically compiled at run-time, you need to configure the ASP.NET run-time process to compile the application with symbolic information before the application can be debugged. To do this, set the debug attribute in the configuration section of the Web.config file that is located in the root of the application folder to true, as follows:
    <configuration>
    <compile debug=true/>
    </configuration>
    you can set the Debug attribute of the Page directive to true in your .aspx pages, as follows:
    <%@ Page Debug="true" %>

  1. Monaj Singh

    Post:48

    Points:240
    How do you debug an ASP.NET Web application?

    I want to know that how debug an ASP.NET Web application? 

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!