Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Improving ASP.NET MVC startup performance

I'm trying to improve the speed at which my MVC2 app is starting up.

I did a first round of performance sampling, and it appears that the

MvcAreaRegistration.RegisterAllAreas

is taking up most of the startup time.

I read here that you can manually register the area's as well, and I would like to try that out, but I'm not sure how the syntax works on that page.

So my (first) question woud be: how can I register my Area's manually?

like image 989
Bertvan Avatar asked Mar 02 '11 14:03

Bertvan


1 Answers

Try this super handy area registration utility. Not only does it make registration easier, but also way faster since it doesn't scan every loaded assembly for areas.

like image 184
Brook Avatar answered Oct 22 '22 12:10

Brook