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
 
Back
Top