开发者

Compiling a 6GB site

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?


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.


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)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜