« Previous Next »

Answered Thread: ASP.NET 2.0 application compilation time

Last post 07-31-2008 5:06 PM by joelangley. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-23-2008, 5:56 AM

    • erule
    • Not Ranked
    • Joined on 07-23-2008, 9:49 AM
    • Posts 13

    ASP.NET 2.0 application compilation time

    Hi,

     I have asp.net website hosted on IIS 7.0 on 64bit server ( windows 2008 web servers ) but in 32bit mode. When i put new dll of the application the compilation takes like 5 minutes. Before on windows 2003 it took few seconds to start the application again. Coud you please tell me where I can set the "compilation time" for the application pool in IIS 7. I have the folowing settings for pool recycle:

    pingMaximumReponseTime 90

    pingPeriod 30

    shutdownTimeLimit 10

    StartupTimeLimit 90

     One more question is what happens with Application Pool when the StartupTimeLimit is exceded?

    Thank you in advance for help

    Emil

  • 07-24-2008, 2:36 PM In reply to

    Answered Re: ASP.NET 2.0 application compilation time

    I don't think such a feature exists...the compilation is not done by IIS and is done by the framework. Is this a pre-compiled app? 

    Check out my blog for other cool tips and tricks:

    http://joelangley.blogspot.com/
  • 07-24-2008, 4:27 PM In reply to

    • erule
    • Not Ranked
    • Joined on 07-23-2008, 9:49 AM
    • Posts 13

    Re: ASP.NET 2.0 application compilation time

    Yes it is pre-compiled application. By the compilation time I mean time between putting new dlls on bin folder and having the site working.

    There is some setting in IIS 7.0 called ASP.NET Compilation but I dont see any setting there which change could help.

    Please advice

  • 07-24-2008, 8:18 PM In reply to

    Answered Re: ASP.NET 2.0 application compilation time

     I must admit I have no idea what you are trying to do. "Time from files in the bin folder and the site working" makes no sense to me

    However a simple google of the term 

    ASP.NET Compilation iis 7.0

    Gives:

    http://www.google.co.uk/search?hl=en&safe=off&client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&hs=tiV&q=ASP.NET+Compilation+iis+7.0&btnG=Search&meta=

    Which then gives things like:

    http://technet2.microsoft.com/windowsserver2008/en/library/750f3689-dc28-4c22-8a97-c33f7a8b29521033.mspx?mfr=true

    http://technet2.microsoft.com/windowsserver2008/en/library/30884867-a56d-4f31-8143-be0f35a30f8d1033.mspx?mfr=true

    But you have read all that already right?

     

    OR do you not mean complie at all or just when the site first starts up ion IIS7 it is slower than in IIS6?

  • 07-25-2008, 1:26 AM In reply to

    • erule
    • Not Ranked
    • Joined on 07-23-2008, 9:49 AM
    • Posts 13

    Answered Re: ASP.NET 2.0 application compilation time

    ok example:

    Developer finish new version of application. There are set of new dll files to be put on the web server. After I put new dll files on the webserver the application is down for a long time. I guess during this time .NET Framework compiles the new dll files and I would like to speed it up.

  • 07-31-2008, 5:06 PM In reply to

    Re: ASP.NET 2.0 application compilation time

    When you say down...I assume you mean slow? I am confused though. When you get a new build from your dev team to drop is it the full application or a business component assembly (for example the team update a business object or data access component)? If they give you a few dll's and updating of components then I am surprised it is slow...I have never seen that. If they give you the full web app...then it will be slow unless the pre-compile it. By pre-compile that does not mean .dll...pre-compile does what you are trying to do. It is a feature in VS.NET and can be called via command line and NAnt as well (not sure how you build). Your dev team should be able to solve that.

    Check out my blog for other cool tips and tricks:

    http://joelangley.blogspot.com/
Page 1 of 1 (6 items)
Microsoft Communities