I have a small ASP.net MVC application with about 10 views and 2 controllers that will forever (and not forever, but between 30-50 seconds) load the site.
I did some profiling and found that more than 50% of the time was spent on the following line in my Global.asax.cs file:
AreaRegistration.RegisterAllAreas();
What could be the reason and how to increase productivity?
Preli source share