Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > controls and performance

Reply
Thread Tools

controls and performance

 
 
Ashish
Guest
Posts: n/a
 
      12-04-2003
hi all,
Iam trying to investigate some serious memory problems and ways to
optimize them in our web application.

some of the information i collected using the performance monitor, is
that number of assemblies loaded per appdomain is large,
we have a lot of pages which are using number of user controls,
some of the documentation i read in this respect was that when asp.net
will compile the page ( first time it is accessed) it will create an
assembly for each page , and if that page references user controls,
assemblies would be created for each user control too

I dont know how much iam correct on this

this would load a large amount of assemblies and assemblies would not be
unloaded untill the appdomain gets unlaoded from asp.net wp

some articles on monitoring and performance also say that avoid using
<%@reference .. > , <@%import ... > or <@%register > directives as these
would create parse time dependencies, and use LoadControl instead, in
all the examples online to use usercontrols, even though we can use
loadcontrol, we still need to <@%register > directive to strong type casting

can anyone throw more light on this, and may be tell me if my
investigation is going in right direction or not,

any help/pointers would be appreciated

Regards
-ashish





 
Reply With Quote
 
 
 
 
Ashish
Guest
Posts: n/a
 
      12-05-2003
Ashish wrote:
> hi all,
> Iam trying to investigate some serious memory problems and ways to
> optimize them in our web application.
>
> some of the information i collected using the performance monitor, is
> that number of assemblies loaded per appdomain is large,
> we have a lot of pages which are using number of user controls,
> some of the documentation i read in this respect was that when asp.net
> will compile the page ( first time it is accessed) it will create an
> assembly for each page , and if that page references user controls,
> assemblies would be created for each user control too
>
> I dont know how much iam correct on this
>
> this would load a large amount of assemblies and assemblies would not be
> unloaded untill the appdomain gets unlaoded from asp.net wp
>
> some articles on monitoring and performance also say that avoid using
> <%@reference .. > , <@%import ... > or <@%register > directives as these
> would create parse time dependencies, and use LoadControl instead, in
> all the examples online to use usercontrols, even though we can use
> loadcontrol, we still need to <@%register > directive to strong type
> casting
>
> can anyone throw more light on this, and may be tell me if my
> investigation is going in right direction or not,
>
> any help/pointers would be appreciated
>
> Regards
> -ashish
>
>
>
>
>

can someone atleast tell me which group to post this problem to ?, we
are getting a lot of complaints from customers regarding the out of
memory exception, and we need to do something about it

thanks
-ashish

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance Tutorials Services - Boosting Performance by DisablingUnnecessary Services on Windows XP Home Edition Software Engineer Javascript 0 06-10-2011 02:18 AM
Performance between user controls and custom controls link45809@msn.com ASP .Net Web Controls 3 02-06-2008 10:23 PM
Controls.Count, Controls.IsSynchronized, and Controls.SyncRoot Nathan Sokalski ASP .Net 4 09-05-2007 03:27 AM
Performance between Html with run at server and Webserver controls thomson ASP .Net 1 06-28-2006 09:33 AM
Web Form Performance Versus Single File Performance jm ASP .Net 1 12-12-2003 11:14 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57