I've tested my application with the build in localhost in Visual Studio 2010 and it responds great. When I published the page and go to the login page, it takes FOREVER to load. Once it logs in, it renders all the internal pages quickly.

Any idea?

Recommended Answers

All 3 Replies

that slowness is due to the sever compiling the code on first access.

Is there a way to speed it up?

You can slightly speed it up by pre-compiling the code, however there are some disadvantages such as having to pre-compile every time you make a change to the code-behind. When I have looked at this in the past, it really didnt speed up the process enough for the trouble I had to go through.

Maybe someone else has had a different experience?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.