Question

This morning I moved a .NET website from our local server to live (not pre-complied). When I go to the url the sites hosted on the browser starts loading the site and has been doing this for the last hour. I presumed it is compiling the site and its just taking a while because of the size of the site.

Is there any way to check if this is definitely the case and there's nothing else happening?

Was it helpful?

Solution

Put your images in a spearate folder, not in your virtual directory for the application.

@ ck. You obviously haven't used Umbraco before because Umbraco cannot be hosted in a virtual directory.

Umbraco bin zip comes with the site precompiled. I am assuming the reason your site is compiling is because you have ascx usercontrols with ascx.cs files. Maybe some App_Code .cs files.

Put those in another Web Application project. Compile it, and just move the .dll and .ascx files over to the appropriate directories.

OTHER TIPS

Put your images in a spearate folder, not in your virtual directory for the application.

I.e.

 Default Web Site
 - Picture folder (5.8GB)
 - Application virtual directory (small application)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top