Localhost(MSSQL) taking 3-4min to load the page.

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
9/7/2012 4:02:07 AM
Gravatar
Total Posts 8

Localhost(MSSQL) taking 3-4min to load the page.

Anybody know why everytime i build the UI once and refresh the page in localhost it takes 3-4min to show the page? 

9/7/2012 8:18:38 AM
Gravatar
Total Posts 18439

Re: Localhost(MSSQL) taking 3-4min to load the page.

Its because of after that lots of things (.aspx files, .ascx, resx etc) get re-compiled by the asp.net compiler and then cached down in the temporary files. The article Visual Studio Performance Advice may help you.

9/8/2012 1:41:10 AM
Gravatar
Total Posts 8

Re: Localhost(MSSQL) taking 3-4min to load the page.

Hi again! Yup I've read the Visual Studio Performance Advice already and try it but it still the same.

9/11/2012 7:44:25 AM
Gravatar
Total Posts 8

Re: Localhost(MSSQL) taking 3-4min to load the page.

Hello people!! Can anybody help me please. :( I'm suffering with the load time T_TFrown

9/11/2012 8:46:15 AM
Gravatar
Total Posts 18439

Re: Localhost(MSSQL) taking 3-4min to load the page.

The only additional advice I can think of beyond what I have already listed in the linked article is maybe you need a new development machine with more power, faster drives etc. Visual Studio is a beast and mojoPortal is a large solution with lots of projects and files. Wish I had easier advice for you but I've already given the information that I know, I don't know of any other tips or I would already include them in that article.

You can remove resx files for languages you are not using from the /App_GlobalResources folder and you can remove extra skins that you are not using, that may help a little but I doubt it will make any drastic improvement.

9/11/2012 11:26:07 AM
Gravatar
Total Posts 27

Re: Localhost(MSSQL) taking 3-4min to load the page.

I too found almost unbearable the compilation times. Not the Visual Studio compilation, that was fine, but the site recompilation the .Net framework does. I kept thinking "didn't I just compile, why does it need to recompile my compilation?". But I digress.

After each Visual Studio compilation, I found it interesting that the Cassiny web server took about 8 minutes to open my site, changing to IIS Express cut that down to about 6 minutes, and finally using IIS 7.5 cut it down to a minute.

What web server are you using?

You must sign in to post in the forums. This thread is closed to new posts.