Performance difference b/w ASP.Net WebSite & Web Application template

Last post 05-30-2009 4:23 PM by chintanpshah. 4 replies.

Sort Posts:

  • Performance difference b/w ASP.Net WebSite & Web Application template

    03-02-2009, 6:32 AM
    • Member
      point Member
    • adeelnasim
    • Member since 03-02-2009, 11:20 AM
    • Posts 1

    Hi,

     I have converted my web site from ASP.Net Web Site (Visual Studio Template) into ASP.Net Web Application template in visual studio 2008 and after deployment i have seen major performance hits.

    WebSite running faster than Web Application (Template).

    Is this because of website is pre-compiled and every .aspx page has its own dll and in case of web application project, only one dll of all pages created at the time of compilation.

    Please give some definite reason, i know the difference between ASP.Net Web Site & ASP.Net Web Application but if i am talking about the performance i need to know which one is better.

    Thanks

     

  • Re: Performance difference b/w ASP.Net WebSite & Web Application template

    03-05-2009, 3:56 AM
    Answer

    Hi,

    Based on my experience, there is not big difference in performance between ASP.NET website and ASP.NET web application when we deploy them on server with same configuration.

    In this case, please try to use Publish utility (Right click project name in Solution Window and select "Publish.." for web application or "Publish Web Site" for website project)  to precompile them and then deploy them on server.

    Besides, we also need to make sure the web.config setting is same, such as debug mode in compilation section.

     

    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Performance difference b/w ASP.Net WebSite & Web Application template

    05-30-2009, 8:08 AM

    Simillar question ...

     Apart from just performace what about scalability / managability ?

  • Re: Performance difference b/w ASP.Net WebSite & Web Application template

    05-30-2009, 8:41 AM
    • Star
      10,766 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,925

    Website is bind to the File system. Means, If you add some file into the folder of you website from Explorer, that file will be included to your website.

    On the other side, Web Application can has Project file (.csproj for C# and .vbproj for VB) that contains file that you application contains. You must include file from Visual Studio to add it to you project.

    Hope this helps...

    Don't forget to mark as answer, if it helps
  • Re: Performance difference b/w ASP.Net WebSite & Web Application template

    05-30-2009, 4:23 PM
    • Star
      10,766 point Star
    • chintanpshah
    • Member since 11-19-2008, 5:39 AM
    • Ahmedabad
    • Posts 1,925
    Hope this helps...

    Don't forget to mark as answer, if it helps
Page 1 of 1 (5 items)