T
thejeffross
When building a website in ASP.Net, are there any advantages to
compiling everything into multiple DLLs (one per .aspx, .ascx, etc) in
the website project model vs. the single DLL generated by a web
application project?
I can see the benefit of having multiple DLLs in that you can replace
the DLL corresponding to one codebehind file and not worry about
deploying unwanted code somewhere else on the site, but are there any
other advantages?
My testing showed that with either model, dropping a DLL into the bin
folder results in the application restarting, so all classes in the
application have to be reloaded with either approach when a change is
made.
compiling everything into multiple DLLs (one per .aspx, .ascx, etc) in
the website project model vs. the single DLL generated by a web
application project?
I can see the benefit of having multiple DLLs in that you can replace
the DLL corresponding to one codebehind file and not worry about
deploying unwanted code somewhere else on the site, but are there any
other advantages?
My testing showed that with either model, dropping a DLL into the bin
folder results in the application restarting, so all classes in the
application have to be reloaded with either approach when a change is
made.