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 do you identify that the page is postback?
Explain what a diffgram is and a good use for one?
1 Answers Siebel Systems, Syntax Softtech,
What is Web API?
Explain the difference between dataset and datareader.
What base class do all Web Forms inherit from?
how to debug web services on consumer side?
Is asp.net core faster?
What is session mode in asp.net?
Which color scheme in a Repeater control can you provide alternatively?
What is event in asp.net?
Explain why it is useful to use mvc instead of webforms? : asp.net mvc
Which platform does Microsoft .NET use for exchanging data between applications?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)