Logo
CAR REVIEW
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
PREGNANCY
 
 
Windows Server

Developing with SharePoint 2010 (part 2) - SharePoint Fundamentals

2/6/2013 4:35:50 PM
Now that you’re up and running, you’re ready to get into some serious development. Before we start looking at each of the functional areas in depth, let’s spend a bit of time getting to know the fundamentals of the Server Object Model and the SharePoint product in general.

Creating a Web Application

On the SharePoint platform, sites are provisioned on a farm according to a hierarchy. At the top level of the hierarchy is the web application. A web application is a web site in Internet Information Services 7 (IIS7), and web applications are automatically provisioned on all front-end servers within a farm. SharePoint content is stored in a content database, and when attached at the web application level, multiple content databases can exist within a single web application.

Within a SharePoint farm, most farm level configuration is performed using a Central Administration web site. As part of the SharePoint 2010 installation process, this web application will be provisioned using a random port number. However, to make it easy to find, a shortcut will be placed in the Start menu in the Microsoft SharePoint 2010 Product folder.

  1. Click the SharePoint 2010 Central Administration link to open the Central Administration site.

  2. From the Application Management section, select Manage Web Applications, as shown here:

  3. In the Contribute section of the Web Applications tab, select New to create a new web application.

  4. In the Create New Web Application dialog, select Create A New IIS Web Site and type SP2010Dev in the Name field. Accept the defaults for all other settings, and then click OK at the bottom of the page to create the web application.

  5. After the new web application has been created, a dialog confirming success appears, as shown. Click OK to close the dialog.

Creating a Site Collection

The next step in the site provisioning hierarchy is the site collection. This collection of sites exists mainly as an administrative container. Each site collection can make use of a single content database, although more than one site collection can exist in the same content database. As a result, each web application can contain many site collections spread across a number of content databases. From a backup and restore perspective, the site collection is the lowest level of granularity.

Follow these steps to create a site collection:

  1. Navigate to the home page of the Central Administration site. In the Application Management section, select Create Site Collections.

  2. In the Web Application drop-down, ensure that the SP2010Dev web application is selected. (This will appear as http://<servername>:<portNumber>.)

  3. Type SharePoint 2010 Demo as the title, and then select Blank Site as the site template. Add an appropriate username in the Primary Site Collection Administrator box. Generally, this will be the username you use to log in to the server that provides full administrative privileges on all sites within the site collection.

  4. Click OK to complete the process. A confirmation message will be displayed when the process has completed. Take note of the URL that is displayed for our new site collection, because you’ll need it in the next example.

New in 2010—Although we’ve set out to create a site collection, we’ve also selected a site template and named our web site. Each site collection must have at least one root site; when we’re creating a new site collection, we must also specify the details for this site. In some situations, however, the details of the root site are unknown; in such situations, you can create a site collection and allow the type of root site to be determined when the first administrative user connects. To achieve this, select the Select Template Later option in the Custom tab of the Template Selection section, as shown here:

Creating a Site

The final item in the provisioning hierarchy is the site. When creating a site collection, one or more sites are automatically provisioned. Each site collection must have a root site, but you can add more sites to a site collection if they are required. Furthermore, sites can also contain child sites.

Although the site collection is the lowest level of granularity in terms of backup and restore functionality, you can import or export an individual site. While import/export appears to achieve the same results as backup/restore, there are differences between these options, and backup/restore is the recommended approach when it comes to handling a significant volume of data.

Although we use the Central Administration web site to create web applications and site collections, creating web sites is performed from the root site of a site collection or via SharePoint Designer.

  1. Connect to the URL of the site collection that we created earlier.

  2. In the upper-left corner of the page, click the Site Actions menu, and then select New Site:

  3. The Create dialog displays a number of different templates from which we can choose when creating our new site. For the purposes of our demonstration, select Team Site and type the Title as Team Site and the URL as TeamSite, as shown:

  4. Click the Create button to provision the new site.

Our new site is created as a child of our site collection root site. We can add more child sites to our team site, allowing us to build a hierarchy of sites all contained within the same site collection. Next to the Site Actions button is a folder icon, and by clicking this we can view a navigation control that shows where we are within our site collection:

Other -----------------
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Viewing Stored Procedures
- SQL Server 2008 R2 : Creating and Managing Stored Procedures - Deferred Name Resolution
- Using Microsoft SharePoint with Microsoft Dynamics CRM Functions (part 2) - Displaying Data Using BDC in Microsoft Office SharePoint Server
- Using Microsoft SharePoint with Microsoft Dynamics CRM Functions (part 2) - Displaying Data Using BDC in Microsoft Office SharePoint Server
- Using Microsoft SharePoint with Microsoft Dynamics CRM Functions (part 1) - Displaying Data in SharePoint Using the List Web Part for Microsoft Dynamics CRM 4.0
- Microsoft Exchange Server 2007 : Single Copy Clusters (part 2) - Installing Exchange Server 2007 on the Active Node
- Microsoft Exchange Server 2007 : Single Copy Clusters (part 1)
- Windows Server 2003 on HP ProLiant Servers : Logical Structure Design (part 5) - Trust Definitions
- Windows Server 2003 on HP ProLiant Servers : Logical Structure Design (part 4) - Group Policy
- Windows Server 2003 on HP ProLiant Servers : Logical Structure Design (part 3) - Naming Standards
- Windows Server 2003 on HP ProLiant Servers : Logical Structure Design (part 2) - Forest Structure, OU Structure
- Windows Server 2003 on HP ProLiant Servers : Logical Structure Design (part 1) - Domain and OU Structure
- Microsoft Dynamics GP 2010 : Preventing Errors in Dynamics GP - Ensuring proper year-end closing by checking Posting Types
- Microsoft Dynamics GP 2010 : Preventing Errors in Dynamics GP - Preventing account selection errors with Chart Segment names
- Monitoring Windows Small Business Server 2011 : Using Windows SBS Console Monitoring (part 3) - Creating and Viewing Reports
- Monitoring Windows Small Business Server 2011 : Using Windows SBS Console Monitoring (part 2) - Using Notification Settings
- Monitoring Windows Small Business Server 2011 : Using Windows SBS Console Monitoring (part 1) - Using the Network Essentials Summary
- System Center Configuration Manager 2007 : Operating System Deployment - Boot Images
- System Center Configuration Manager 2007 : Operating System Deployment - Site Systems
- BizTalk Server 2006 : Pipeline Component Best Practices and Examples - The Databased Disassembler
 
 
Most view of day
- Maintaining Security : Restricting Content in Windows Media Center, Creating Trusted Contacts
- Maintaining Security : Maintaining High Security, Setting Internet Explorer Security
- Windows Phone 8 : Configuring Basic Device Settings - Screen Brightness (part 1) - Automatically Adjusting the Screen Brightness
- Microsoft SharePoint 2013 : Working with Visio Services - Designing dashboards - Data linking (part 3) - Mapping external data to shapes
- Microsoft Visio 2010 : Linking External Data to Shapes (part 1) - Preparing the Data
- Maintaining Dynamics GP : Resolving errors with the Check Links utility
- Microsoft Visio 2010 : Introducing Data Graphics (part 2) - Creating Data Graphics,Applying Data Graphics to Shapes
- Windows Server 2012 : Simplifying the Datacenter (part 1) - New Server Manager Tool
- Customizing Windows 7 : Change the Desktop Background
- Windows Phone 7 : Running Silverlight Projects in the Browser (part 2)
Top 10
- Windows Phone 8 : Scheduled Tasks - Scheduled Task API Limitations
- Windows Phone 8 : Scheduled Tasks - Updating Tiles Using a Scheduled Task Agent
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 5) - Editing an Existing To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 4) - Creating the To-Do Item Shell Tile, Saving a To-Do Item
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 3) - Debugging Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 2) - TodoService, TodoItemViewModel
- Windows Phone 8 : Scheduled Tasks - To-Do List Scheduled Task Sample (part 1) - TodoItem,TodoDataContext
- Windows Phone 8 : Scheduled Tasks - Using Scheduled Tasks
- Windows Phone 8 : Scheduled Tasks - Background Agent Types
- Windows Phone 8 : Windows Phone Toolkit Animated Page Transitions - Reusing the Transition Attached Properties
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro