Just feeling curious to know when an asp.net's deployed and published and this site is visited by many clients per time……So how is it managing its memory?And what should we notice about them?
If I'm using static things,I don't want everyone share the same thing。
If I'm using non-static things,each client coming,the object instance will be recreated again and again……
TimoYang
Contributor
3732 Points
1275 Posts
About ASP.NET's technology of being viewed by multiple users……
Apr 15, 2012 09:16 AM|LINK
Hi nice MS employees……
Just feeling curious to know when an asp.net's deployed and published and this site is visited by many clients per time……So how is it managing its memory?And what should we notice about them?
If I'm using static things,I don't want everyone share the same thing。
If I'm using non-static things,each client coming,the object instance will be recreated again and again……
Reguards & Thxxxxxxxxx
ramiramilu
All-Star
95503 Points
14106 Posts
Re: About ASP.NET's technology of being viewed by multiple users……
Apr 15, 2012 10:05 AM|LINK
Memory management in .Net - http://www.c-sharpcorner.com/UploadFile/tkagarwal/MemoryManagementInNet11232005064832AM/MemoryManagementInNet.aspx
Thanks,
JumpStart
hiza808
Member
270 Points
75 Posts
Re: About ASP.NET's technology of being viewed by multiple users……
Apr 15, 2012 02:24 PM|LINK
http://www.asp.net/web-forms/tutorials/security/roles/assigning-roles-to-users-cs
http://www.asp.net/web-forms/tutorials/security/membership/creating-user-accounts-cs
TimoYang
Contributor
3732 Points
1275 Posts
Re: About ASP.NET's technology of being viewed by multiple users……
Apr 16, 2012 01:17 AM|LINK
Sorry the two men above,they are not what I want……What I want to know is:
How does the system (ASP.NET)manage the Server's memory and what's the nice way to release memory as soon as possible?
By using "using……" statement? Set object instances to null to let Garbage collect them???
Anything else???