locked
Web Applications, Application Pools and IIS RRS feed

  • Question

  • Hi all,

    Can anyone clearly define and point me to few resources that explains Web Applications, Application pools and their relation to IIS? I am a newbie and hence couldn't understand this jargon. I am unable to find all this info at one place comprehensively. It would be great if anyone could explain me with an example.

    Thanksm in Advance


    K.V.N.PAVAN

    Tuesday, April 16, 2013 3:29 PM

Answers

  • Application Pool is asp.net worker process(w3wp) which serves you request and send response back whenever a page is browsed. This worker process will take care of any applications which is deployed in IIS(it can be asp.net web application, web service, or Sharepoint Webapplication). IIS can have more than one application pool which indirectly does balances load(by having seperate application pool for a single webapplication). It does not mean that a single application pool cannot serve more than one appplicatiions, it can serve.

    While Webapplication in Sharepoint is based on asp.net only, so any sharepoint webapplication are deployed to IIS(physical files), however please note based on Sharepoint Architeture, all the content will be stored in Content Database. There are some physical files which are stored in wwwroot folder of IIS. Some application pages are stored on physical folder in 14 hive (setting.aspx,viewlsts.aspx page). Sharepoint treats webapplication as single application in IIS and site collections related data are stored in content database.

    Here is relationship for between different sharepoint terms used

    A web application can have one or more site collections. Though a web application can stand alone without any site collection but it won't be browsable.

    A Site collection can have zero or more subsites.

    A subsite can have zero or more subsites.

    A webapplication can have one or more than one content datbase attach to it.

    A content database can have one or more than site collections.

    ------------------------

    Trevor- Please suggest If anything is not correct.


    If this helps Please mark it answer or Vote As Helpful.

    Thanks
    Siddharth Vaghasia

    • Proposed as answer by Trevor SewardMVP Thursday, April 18, 2013 10:47 PM
    • Marked as answer by Emir Liu Friday, April 19, 2013 6:45 AM
    Tuesday, April 16, 2013 6:44 PM
  • The credential for the Application Pool is what runs the code for that Application Pool, in this instance, the code for everything running in the Web Application.

    Site Collection Administrator is an individual who manages a Site Collection which is hosted inside the Web Application and has no direct relation to the Application Pool.

    ASP.NET sites are not "SharePoint Web Applications", though sometimes you'll hear them refered to as 'web applications' (because they're web-based "applications").  However, SharePoint is based on ASP.NET.


    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010

    -----------------------
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    • Proposed as answer by Trevor SewardMVP Thursday, April 18, 2013 10:47 PM
    • Marked as answer by Pa1 Kumar Friday, April 19, 2013 12:15 AM
    Tuesday, April 16, 2013 3:54 PM

All replies

  • Web Applications is purely a SharePoint term.  A Web Application consists of one or more IIS sites, associated with a single Application Pool (as well as a few other things, like a Service Proxy Group, User Policies, and so forth).

    An IIS site is simply that - a web site served by IIS.

    An Application Pool is a 'container' of sorts for code.  It runs the logic behind web pages served by a site in IIS.


    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010

    -----------------------
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Tuesday, April 16, 2013 3:44 PM
  • So when we give a Credential for an Application pool and a Site collection Administrator Account for a SharePoint Site? What difference does this make for the Web Application?

    What it actually means giving a credentials for an Application pool?

    Also are there no Web Applications for ASP.NET? Since you mentioned that "Web Applications" is a purely SharePoint Term?

    Kindly correct me if I am wrong


    K.V.N.PAVAN

    Tuesday, April 16, 2013 3:50 PM
  • The credential for the Application Pool is what runs the code for that Application Pool, in this instance, the code for everything running in the Web Application.

    Site Collection Administrator is an individual who manages a Site Collection which is hosted inside the Web Application and has no direct relation to the Application Pool.

    ASP.NET sites are not "SharePoint Web Applications", though sometimes you'll hear them refered to as 'web applications' (because they're web-based "applications").  However, SharePoint is based on ASP.NET.


    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010

    -----------------------
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    • Proposed as answer by Trevor SewardMVP Thursday, April 18, 2013 10:47 PM
    • Marked as answer by Pa1 Kumar Friday, April 19, 2013 12:15 AM
    Tuesday, April 16, 2013 3:54 PM
  • Application Pool is asp.net worker process(w3wp) which serves you request and send response back whenever a page is browsed. This worker process will take care of any applications which is deployed in IIS(it can be asp.net web application, web service, or Sharepoint Webapplication). IIS can have more than one application pool which indirectly does balances load(by having seperate application pool for a single webapplication). It does not mean that a single application pool cannot serve more than one appplicatiions, it can serve.

    While Webapplication in Sharepoint is based on asp.net only, so any sharepoint webapplication are deployed to IIS(physical files), however please note based on Sharepoint Architeture, all the content will be stored in Content Database. There are some physical files which are stored in wwwroot folder of IIS. Some application pages are stored on physical folder in 14 hive (setting.aspx,viewlsts.aspx page). Sharepoint treats webapplication as single application in IIS and site collections related data are stored in content database.

    Here is relationship for between different sharepoint terms used

    A web application can have one or more site collections. Though a web application can stand alone without any site collection but it won't be browsable.

    A Site collection can have zero or more subsites.

    A subsite can have zero or more subsites.

    A webapplication can have one or more than one content datbase attach to it.

    A content database can have one or more than site collections.

    ------------------------

    Trevor- Please suggest If anything is not correct.


    If this helps Please mark it answer or Vote As Helpful.

    Thanks
    Siddharth Vaghasia

    • Proposed as answer by Trevor SewardMVP Thursday, April 18, 2013 10:47 PM
    • Marked as answer by Emir Liu Friday, April 19, 2013 6:45 AM
    Tuesday, April 16, 2013 6:44 PM