Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 11, 2012 07:58 PM by admdev
Apr 11, 2012 01:31 PM|LINK
I am not sure if this is the right forum, but this is my question.
I have an Azure project, which is working fine and already in production. What we want to do is run the website in our local IIS for testing purposes. We are having a performance issue where the first page (Login) takes up to 20 seconds to appear. I have
researched on the issue and some mention a compiling issue where the IIS server has to compile the webpage; however, if that is the case, it seems like IIS is compiling the webpage every time IE is closed/opened as this only happens when closing the web browser
and reopening it. If we keep IE opened and open the page in a new tab, it loads instantaneously.
My question is: Does the project being an Azure project have something to do with this?
Any ideas why this could be happening?
Thanks in advance.
Apr 11, 2012 01:38 PM|LINK
There are a couple of things that can help. Firstly, making sure if you are using a Website Application instead of a Website, as this will stop the website compiling each time due to being pre-compiled.
Turn off the Debug statement in the web.config file.
Lastly, I think it is a good idea to understand what is happening when the IIS Service starts up.
IIS starts the metabase listener and listens for change notifications.
Hope this helps.
Apr 11, 2012 01:46 PM|LINK
Thanks for your reply.
Debug is already turned off. Additionally, we have a couple other webapps(not as big) on the same IIS and those load quick.
Apr 11, 2012 07:20 PM|LINK
Do you have any bootstrapper on your website without a test on the roleenvironnement ?
Do you have check the eventviewer for any errors ?
Apr 11, 2012 07:58 PM|LINK
Bootstrapper on your website? How can I check this?
Eventviewer - No errors.