SharePoint 2010: What Happens Internally When a Web Application is Created

SharePoint 2010: What Happens Internally When a Web Application is Created

Table of Contents




 This is very basic question mostly come across, whenever we create a Web Application from SharePoint Central Administration, what happens exactly behind the scene.

This article addresses two basic questions:
  • What exactly happens internally when a web application is created?
  • and what happens when a site collection is created?

This is very important for a SharePoint developer, administrator to know about it, it will help them for troubleshooting any existing web application. Below is the description of the above two question you will come to know how to find out what happens exactly ion above two events

Simple steps to figure out what happens is just go to your Central administration and create a new Web Application and see what options, what parameters it is asking for you will find that: It ask for host name, port, virtual directory address, authentication provider, authentication type, database credentials, database name, service apps to configure for the web app ...etc

That means it does all these setup whenever you create a new web application.

Creation of site collection setup the site and content for you based on the template you select to create the site collection. You can browse the web application you created unless you create a root site collection.

You can see below what all happens behind the scene

Reference URL http://msmvps.com/blogs/laflour/archive/2009/01/27/sharepoint-tip-1-do-you-know-what-happens-behind-the-scene-when-you-create-new-web-app.aspx

Web Site

  •     Creates a unique entry in SharePoint configuration DB for the Web App and assign GUID to that entry;
  •     Create and configures a Web application in IIS
  •     Creates a root folder to store the Web application pages and associated resources;
  •     Creates and configures an IIS application pool;
  •     Configures authentication protocol and encryption settings;
  •     Assign a Default alternate access mapping for the Web app;
  •     Creates the first content database for the Web application;
  •     Associate a search service with the Web application;
  •     Assign a name to the Web application that appears in the Web application list in SharePoint Central Administration;
  •     Assign general settings to the Web application, such as maximum file upload size and default time zone;


Site Collection

  •     Creates the top-level site based on a site definition;
  •     Sets general properties for the site, such as the site title and site owner;

This article has been written from the question posted in the forum at below link
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3c6c113a-734f-46e7-8dfe-7d5556ab1093/what-happens-internally-when-a-web-application-is-created-in-sharepoint
Leave a Comment
  • Please add 8 and 6 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Gokan Ozcifci edited Revision 5. Comment: toc

  • Ed Price - MSFT edited Revision 3. Comment: Title casing, tags

Page 1 of 1 (2 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Gokan Ozcifci edited Original. Comment: content and title

  • Added the From Forum tag.

  • Ed Price - MSFT edited Revision 3. Comment: Title casing, tags

  • Gokan Ozcifci edited Revision 5. Comment: toc

Page 1 of 1 (4 items)