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?

13
задан Bertvan 2 March 2011 в 14:48
поделиться