Viewing generated code in ASP.NET

  • Thread starter Thread starter Tony Moaikel
  • Start date Start date
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
 
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).

-Brock
DevelopMentor
http://staff.develop.com/ballen
 

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

Back
Top