Last post Nov 15, 2012 03:23 AM by Danish woman
Nov 13, 2012 11:33 PM|Danish woman|LINK
I have a application on www.myapplication.com.
All the homepages that uses this application are pointed to the root of www.myapplication.com. In the defaut site the application reads the request.ServerVariables("HTTP_HOST") and from there it know what to do with the client.
When I update a global file in myapplication it takes up to 15 minutes to load the application again. Therefor I do it in the night.
I am wondering that for all the websites that are pointed to www.myapplication.com also takes 15 minutes to load again.
I have installed smartping to ping all the websites every 15 minutes, but it dont seems to help when I have updated a global file.
Is there any good way to help this problem out?
Nov 14, 2012 03:08 AM|Mikesdotnetting|LINK
The best way to prevent this recompilation taking place online is to convert your web site project to a web application project and pre-compile it before publishing it. That way, the compilation takes place on your machine instead of the web server.
Nov 14, 2012 03:18 AM|Danish woman|LINK
Thank you for your quick reply.
How do I do this in praksis. I am not using Visual Studio so I have to do it manually.
Nov 14, 2012 03:23 AM|hans_v|LINK
Nov 15, 2012 03:23 AM|Danish woman|LINK
Thanks for your answer. I marked is as answer because I think this could be a very good solution.
For me it is not the right time to make a compilation of my application right now, because I can see that there can be a lot of complication using other languages in my application.
I was wondering if there is a solution setting the applicatioin pool time out to 0 or 30 hours of the domains where the main applications is. This would solve the problem with the main application where the other domains are pointing to. What I dont understand
is why alle the domains that point into the main application also have to load the whole application. I think it should be enough that the main domain for the application is loaded and dont understand that the other domains that uses the same applications
have to load the same files again.