Recompilation

  • Thread starter Thread starter Neil
  • Start date Start date
N

Neil

This may sound daft, but can anyone settle this:

True? -
Modifying an ASCX in a ASP.NET 2.0 Web Site causes a recompilation a
temporary assembly. Note that I mean the front-end ASCX file, not any
code-behind.

True? -
Modifying Global.asax or Web.config will trigger recompilation of ALL
temporary assemblies AND trigger an application restart.
I believe that both are true as web pages and user controls are
compiled dynamically when users first request a resource, however
recompilation is triggered AND the application restarted when any of
the "top level" files are modified.

I'm embroiled in an argument that modifying user controls doesn't
cause a recompile.

Thanks for any help
 
It's true,

Also if you modify ascx or aspx to many time (default 15) ASP.NET will do
the application restart.

George.
 
Back
Top