Friday, January 4, 2008

How To See The Path Of The Parsed class generated by ASP.NET

  1. Add Debug="true" to your @Page directive.

  2. Place <%= GetType().Assembly.Location %>somewhere on your page

This will print the location of the assembly generated for your page. If you go to that directory, you will also see source code files (*.cs or *.vb) that contain the class definitions

No comments:

Post a Comment