Hai guys,
I want to know,is memory management a concern with asp.net mvc..
- comparision of memeory management in
both asp.net mvc and web forms by experts
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
AFAIK there is no difference in worrying about memory in ASP.NET MVC and webforms. You have to do it in both cases. 🙂
To elaborate, they both are built on top of the same ASP.NET infrastructure, which is built on top of the .NET runtime. Thus, they use the same memory management as any other .NET application, web or otherwise.
The overhead of the frameworks themselves is negligible, the real memory usage will come from the objects YOU load in your application. If you get a lot of users (from comments – 200 to 500 per minute), you will need to think about scaling out horizontally. That is, having multiple web and DB servers (also known as a “cluster”). This requires a bit of thought from the very beginning of the development, but is not very difficult to do. There should be other resources on this subject which is outside of the scope of this question.