Viewing generated code in ASP.NET

T

Tony Moaikel

Hi everybody,

Is there a way to view the code generated for the partial page class in
ASP.NET in VS2005?

Thanks,

Tony
 
B

Brock Allen

You can use Reflector to look at the generated assembly (either the one generated
on the fly or the one generated if you do a precompile). The other option
is to set Debug=true in your web.,config or @page directive and go hunt for
the partial in the generated .cs file in the Temporary ASP.NET Files (this
only works if you're not precompiling).
 
J

Juan T. Llibre

Decompile the assemblies generated with Decompile.Net or with Reflector.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top