Recompilation

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
 
G

George

It's true,

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

George.
 

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

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top