How do I debug an ASP.NET application that wasn't written
with Visual Studio.NET and that doesn't use code-behind?
Answer / asra
Start the DbgClr debugger that comes with the .NET
Framework SDK, open the file containing the code you want
to debug, and set your breakpoints. Start the ASP.NET
application. Go back to DbgClr, choose Debug Processes from
the Tools menu, and select aspnet_wp.exe from the list of
processes. (If aspnet_wp.exe doesn't appear in the
list,check the "Show system processes" box.) Click the
Attach button to attach to aspnet_wp.exe and begin
debugging.
Be sure to enable debugging in the ASPX file before
debugging it with DbgClr. You can enable tell ASP.NET to
build debug executables by placing a
<%@ Page Debug="true" %> statement at the top of an ASPX
file or a <COMPILATION debug="true" />statement in a
Web.config file.
Is This Answer Correct ? | 1 Yes | 0 No |
how many databases and tables are uses in one project?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
What is a page life cycle? What are the events in a page life cycle?
main difference between asp.net2.0,asp.net1.1,asp.net1.0
What should you do is you want to remove an existing component but would like to make some funtionalities?
What is the advantage of mvc over asp.net? : Asp.Net MVC
what is webpart? what r the parts in this webpart (zone)
Why session management is required?
How do you handle session management in ASP.NET and How do you implement them. How do you handle in case of SQLServer mode?
Types of caching ?
Can you explain what inheritance is and give an example of when you might use it?
What are the advantages of Web API?