![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Ashish, This is not exactly correct. Whenever possible, ASP.NET will batch compile multiple pages and user controls together, hence creating a smaller number of assemblies that need to be loaded. Note that this does not happen if the page/uc has a debug=true attribute. Maybe that is whay you are seeing this? As for the suggestion about avoiding <%@reference .. > , <@%import ... > or @%register >, it is not quite correct, except for one case: if you have %@ import src="somefile.cs" %> that file is always compiled by itself. But for loading user control, it makes no difference whether you use @register or LoadControl when it comes to the number of assemblies that get loaded. Hope this helps, David; Thanks David, |
#4
| |||
| |||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |