You are on page 1of 46

SharePoint 2010 Development

Introduction Installation Architecture

Session 1 Page 1

Introduction
Thursday, April 26, 2012 2:57 PM

What Is Microsoft SharePoint 2010?


the fourth version of SharePoint from Microsoft one of the fastest - growing server products in Microsoft s history Business Collaboration Platform for the Enterprise and the Web At its core, SharePoint is a web application a really large and full - featured web application, but still a web application.

- Three Aspects: Presentation Aggregation Collaboration - Usage: Central document storage, replacing network folders. Another common use is as a corporate portal where the corporate employees can go and download forms, read corporate news, fill in surveys, and search for documents. web content management system : Internet siteswhere visitors from around the world can visit the companys website and read about the companys products, register for events, etc. , and do whatever it is the site has been configured to allow them to do. This use is known as a web content management system. - Users will be accessing it primarily with a web browser.

A standard SharePoint site

Session 1 Page 2

A customized SharePoint site

Session 1 Page 3

SharePoint as a Web Platform


Saturday, April 28, 2012 3:42 PM

SharePoint Capabilities Beyond the File Share 1. Alerts 2. Versioning 3. Metadata 4. Security 5. Workflow SharePoint is a platform not only for its own family of products, but for many other Microsoft and partner products as well. - An ASP.NET application that conforms to many of the web standards in use today. - Project Server 2010 is built on top of SharePoint Server 2010 - Microsoft Dynamics CRM 5 is tightly integrated with SharePoint, again using the collaboration features and also acting as the document repository as needed. - (SSRS) and Outlook Web Access - TFS Web Interface.

Session 1 Page 4

SharePoint as the Collaboration Platform


Saturday, April 28, 2012 7:57 PM

A. Team Collaboration Team Site When users create a team site, they have a number of tools available, including group announcements, a team calendar, useful links, and containers for documents and fi les. B. Document Collaboration when discussing collaboration are the availability of and access to the document or fi le that is being worked on. SharePoint sites provide a common repository to access and manage documents so that users no longer need to use e - mail as a method of version control and storage by sending documents back and forth to each other. C. Document Workspaces A document workspace might be used when a number of users are working on a larger, more complex document over a span of time. Some examples might include a technical or operations manual or an employee handbook. D. Meeting Collaboration A workspace can be created from and linked to meetings originating from a SharePoint - based calendar or an Exchange/Outlook calendar. These mini sites become a container for the preparation materials and content as well as any artifacts that come out of a meeting.

Session 1 Page 5

SharePoint as a Search Provider


Saturday, April 28, 2012 7:57 PM

- which is great : What user want? - SharePoint are the additional properties, metadata, tagging, and rating information that is also tracked. - As content is ranked higher by users, that content will bubble up higher in search results.

A. FAST search FAST is an optional component of SharePoint Server that an organization can have installed on top of SharePoint. It adds further intelligence to the regular SharePoint search experience by enhancing the search options and how the search results are returned. If FAST is installed on a SharePoint site, you see more options than you would normally get in SharePoint.

B. People Search : with phonetic search feature

C. Configuration And Customization Configuration is something a user can do without other tools. Customization is something done using SharePoint Designer, Visual Studio, or another tool D. Search Result Page, XSLT manipulation, Search Webparts E. Refiners - Facets Used to further narrow search results, much as is done on popular shopping websites when doing product searches by brand, size, color, and so on. F. Federated Search allows SharePoint to talk to other search engines and request their search results for submitted search terms. Example:
Session 1 Page 6

Example: Federated Search allows users to search remote data sources without having to index the remote sources themselves. For example, SharePoint doesnt need to index all the content Bing indexes, but it can submit a search term request to Bing, receive Bing s search results, and then display the results within SharePoint s interface, alongside results from other providers or SharePoint s own content. The SharePoint platform can act as both a Federated Search consumer or provider. E. Search Scope, Content Sources, Crawling F. Ifilters

Session 1 Page 7

SharePoint as a Presentation Layer


Saturday, April 28, 2012 7:57 PM

External Data, BCS WebParts, Meia, Content BI, KPIs Tagging, User Profiles Social component UI

Session 1 Page 8

SharePoint as a Development Platform


Saturday, April 28, 2012 7:57 PM

Session 1 Page 9

SharePoint for Social Networking


Saturday, April 28, 2012 7:57 PM

My Sites Blogs OCS Office Communication Server (OCS) People Search tag, rate, and comment And more..

Session 1 Page 10

SharePoint Roles
Saturday, April 28, 2012 3:54 PM

Session 1 Page 11

Session 1 Page 12

Budgeting
Saturday, April 28, 2012 7:31 PM

Test/stage/development environments: In addition to the production environment, other SharePoint environments may be necessary to conform to development standards or other standards in the environment. Additional staffing: New staff may need to be added to manage the SharePoint environment. Multiple locations: If an organization has more than one location, additional architecture, hardware, or software may be necessary to fulfill business needs. Disk space: If SharePoint is being used for a storage - intensive solution like document management, records management, or other storage - heavy solutions, be sure that adequate disk space and room for growth are considered. Third - party tools: Licensing costs for additional software. Contractor costs: If everything cant be done in - house, be sure to plan for service or consulting costs to round out your internal resources. Training, communication, and internal marketing: Just deploying SharePoint isnt the end of the project. Rolling out a solution to users and empowering them to be successful with the new tool are critical to the success of the project.

Session 1 Page 13

SharePoint 2010 Editions


Saturday, April 28, 2012 7:37 PM

SharePoint Foundation 2010

SharePoint Server 2010: Intranet


1. Standard a. Enterprise Content Management (ECM) b. Managed metadata c. Profiles and My Site d. Search 2. Enterprise a. InfoPath Services: These allow digital forms to be created and served up via the server rather than having to load a client application. b. Excel Services and Power Pivot: These publish and manipulate Excel data and make data available as a source for other applications. c. PerformancePoint: This service provides professional business intelligence capabilities, Web Parts, scorecards, and dashboards. d. Access Services: These import and publish Access databases in the SharePoint farm, bringing data into a centrally managed and supportable environment. e. Visio Services: These allow users to view, edit, and embed Visio content in other SharePoint applications. f. FAST search: The additional capabilities of FAST search include thumbnails, previews, and configurable relevance. 3. SharePoint Server 2010: Internet/Extranet a. Standard b. Enterprise 4. Search Server 2010 a. Microsoft Search Server 2010 Express b. Microsoft Search Server 2010 5. FAST Search a. FAST Search Server 2010 adds new elements and depth to the SharePoint search capabilities. Where SharePoint Search returns search results based on keyword searches, FAST does additional processing on the content and allows for more context - sensitive content. From an end - user perspective, one of the most obvious and exciting features of FAST is the search results preview feature that displays the actual document or fi le right in the search results page. b. FAST Search Server for SharePoint (Intranet) c. FAST Search Server for SharePoint Internet Sites (FSIS) Similar to the intranet functionality, FSIS is licensed for public - facing solutions based on the SharePoint platform. 6. SharePoint Online SharePoint can be deployed on-premises via a hosted offering, or in the cloud. As part of the
Session 1 Page 14

SharePoint can be deployed on-premises via a hosted offering, or in the cloud. As part of the ever-growing cloud offerings in the market, SharePoint Online is available from Microsoft as a part of the Office 365 suite of communications and collaboration products. Though the feature had yet to be finalized when this was written, the 2010 online version of SharePoint is expected to be much more consistent with the on-premises feature set. The most notable difference will likely be with the online versions not supporting BCS or other data integration features, PerformancePoint, or FAST. At the time this book was written, BPOS had not yet reached RTM status. 7. Other Related Products a. Microsoft Office products b. InfoPath 2010 c. PowerPivot for SharePoint: This provides enhanced BI capabilities for working with large data sets. d. Microsoft Excel, Visio, and Access: All have SharePoint Server services associated with them, providing server - side management of content. e. Project Server 2010: Built on SharePoint Server 2010.

SharePoint Designer 2010


Improved workflow design Reusable workflows that can be used with different lists Integration of workflows with Visio 2010 process diagrams Ability to export a workflow from SPD into Visual Studio for further customization Dramatically improved ability to add and edit list forms Kick - start development efforts that can be further extended in Visual Studio Integrate external data and lists into SharePoint

i. ii. iii. iv. v. vi. vii. viii. ix. x. xi. xii.

Improved Workflow Design New Workflow Actions Reusable Workflows Site Workflows InfoPath Integration Integration with Visio Task Process Designer Editable OOB Workflows BCS Integration Browser to SPD WSP Integration Locking Down SPD

SharePoint Workspace 2010

Session 1 Page 15

SharePoint Installation
Thursday, April 26, 2012 4:54 PM

List of Prerequisites Software


1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Windows server 2008 with SP 2 / Windows 7 / Vista (All OS must be 64bit) Windows 2008 R2 and Windows Server 2008 KB971831 WCF Fix article for Windows 2008 R2 and Windows 7 KB976462 Microsoft SQL Server 2008 Native Client Microsoft "Geneva" Framework Runtime Microsoft Sync Framework Runtime v1.0 (x64) Microsoft Chart Controls for Microsoft .NET Framework 3.5 Microsoft SQL Server 2008 Analysis Services ADOMD.NET PowerShell V2 RTM SQL Server 2008 SP1 .NET Framework 3.5 Service Pack 1 (Full Package) KB959209 KB967190

Installing OS on VMWARE Workstation 7.0


Installing Windows Server 2008 with SP2 on VMWARE Workstation 7.0 may prompt the following error: You have configured this virtual machine as a 64-bit guest operating system

By default, Lenovo T61 laptops ship with virtualization technology and set VT is disabled. In order to enable VT on laptop, please shut down your laptop and go to BIOS setup > CPU > Virtualization technology > Enable and Press F10 to Save and Exit. Install Windows server 2008 with SP 2.

Session 1 Page 16

Install Windows server 2008 with SP 2.

Download prerequisites software (if you need to share your PC folder to access from VMWARE) enable Share folder option:

Go to VM > Setting > Options > Shared Folder > Enable and Select your Pre-request software download folder.

Session 1 Page 17

Run > SharePoint Server 2010 Application file, system will extract files and show the above screen, under Install > click Install Software prerequisites

Session 1 Page 18

System will run for few minutes and display the following error message:

Install your prerequisites software that you downloaded one by one (if possible, follow the above order as shown in the error message). Note: If you try to install Hotfixes from your Share Folder system may prompt error code 0x80070003 please copy your hotfix files to Windows server and click Install.

Session 1 Page 19

files to Windows server and click Install.

Once you get the above screen Installation Complete, click "Install SharePoint Server link:

SharePoint 2010 Installation screen prompts for Product Key get beta key from here.

Session 1 Page 20

SharePoint 2010 Installation screen prompts for Product Key get beta key from here.

Read your License terms and click I accept and start Installation:

Select Standalone option, if you are installing with SQL Express 2008 server. If you are installing SQL Server 2008 and SharePoint 2010 farm servers, then select Server Farm option. Since I am using VMWARE installation, I select Standalone option.

Session 1 Page 21

2010 farm servers, then select Server Farm option. Since I am using VMWARE installation, I select Standalone option.

System will start the Installation progress

System would take several minutes to complete installation and prompt for Configuration Wizard.

Session 1 Page 22

Run your Configuration wizard and click next >

Step 2 on Configuration wizard click Yes to start IIS and SharePoint Admin, Timer service.

Session 1 Page 23

Step 2 on Configuration wizard click Yes to start IIS and SharePoint Admin, Timer service.

Configuration wizard continue 2 of 10 tasks and if everything is ok, the system will display the following screen. (Please note that it will take several minutes to complete. It's not as fast as SharePoint 2007 configuration wizard)

( Congratulations you successfully Installed SharePoint 2010.


Session 1 Page 24

Congratulations you successfully Installed SharePoint 2010. System will launch SharePoint 2010 Central Administration screen

Pasted from <http://www.codeproject.com/Articles/44219/Step-by-Step-SharePoint-Server-2010-Installation-G>

Session 1 Page 25

Install SharePoint on windows 7


Thursday, April 26, 2012 4:56 PM

http://msdn.microsoft.com/en-us/library/ee554869.aspx

Session 1 Page 26

SharePoint 2010 Products deployment


Thursday, April 26, 2012 4:58 PM

This model presents deployment-related information such as the different deployment stages and environments, plus a flowchart that illustrates the steps for installing and configuring SharePoint 2010 Products. http://zoom.it/94oE#full

http://technet.microsoft.com/en-us/sharepoint/ee518642

Session 1 Page 27

Install SharePoint Foundation


Friday, April 27, 2012 8:53 PM

Session 1 Page 28

What's New in SharePoint 2010


Saturday, April 28, 2012 4:09 PM

1. Language Integrated Query (LINQ) 2. List Enhancements a. new scale limits b. XSLT views for better customization c. list relationships that allow cascade deletes and updates to work d. Formula validation for columns in a list. e. External Data List. Connect to database or web service data, inside SharePoint with read/write capabilities. 3. Business Connectivity Services a. BDC -> BCS b. Supports WCF 4. Silverlight Integration 5. Client - Side OM 6. Sandbox Solutions a. Will not allow developers to access the server with the elevated privileges they need to deploy their solution. b. No dll in GAC for Webpart c. The administrator has no simple way to ensure that badly written code does not slow down the system, crash it, or perform malicious activities. d. Sandbox Solution offers only a subset of the SharePoint object model,

7. SharePoint Designer 8. Visio and Access Services 9. InfoPath (Forms, List Forms, Mobile Forms) 10. Visual Studio, Web Solution Packages 11. Developer Dashboard 12. COLLABORATION/SOCIAL a. Enhanced Blogs and Wikis b. Social Tagging and Ratings c. Activity Feeds d. Social Bookmarking e. Organization Browser f. Outlook Social Newsfeeds g. Microblogging and Mobile Client h. Social Search 13. SEARCH a. New Core Search Query Capabilities b. Enhanced Core Search Results c. Enhanced People Search: Phonetics d. Enhanced People Search Results e. FAST Integration 14. ECM: Document Management a. Metadata Management and Navigation b. Location - Based Metadata if a user posts a document into a specific location, metadata is automatically filled in for the

Session 1 Page 29

c. d. e. f. g.

if a user posts a document into a specific location, metadata is automatically filled in for the user. Document Routing Unique Document IDs Taxonomy Services Document Sets Word Services

15. ECM: Records Management a. Multi - Stage Disposition For example, you may want to have a 5 - year destruction rule with a 1 - year review rule to double - check the content and perhaps a 10 - year destruction rule if the document is digitally signed.

16. ECM: Web Content Management a. Standards and Browser Support b. One - Click Page Layout c. Enhanced Page Libraries i. folders in your Pages library d. Social Computing Crossover Features 17. Silverlight Web Part and Media Player 18. ECM: Workflow a. OOB Modifiable Workflows b. Site Workflow c. Visio Services d. Forms Support in SharePoint Designer 19. SharePoint Workspace

Session 1 Page 30

Developer Tools for SharePoint 2010


Saturday, April 28, 2012 7:08 PM

1. OOB DEVELOPER EXPERIENCE

2. SharePoint Designer 2010

3. VISUAL STUDIO 2010

Session 1 Page 31

System Requirements
Saturday, April 28, 2012 7:12 PM

1. SharePoint supports only 64 - bit hardware 2. OS: SharePoint supports Windows Server 2008 with SP2 or above or Windows Server 2008 R2 for server operating systems and Windows Vista or Windows 7 for desktop operating systems. 3. Virtual or Physical? 4. SQL Server Version SharePoint supports multiple versions of SQL Server, both 2005 and 2008. The main difference is in the SQL Server features, as most SharePoint features work across both versions. The only exception will be using the new Remote Blob Storage and SQL Server FileStream technology, which is supported only in SQL Server 2008. You can decide whether you want SQL Server Express or another version of SQL Server for your installation and development. 5. .NET Framework Support - SharePoint supports only the .NET Framework 3.5.

Session 1 Page 32

Debugging And Testing


Saturday, April 28, 2012 7:15 PM

Useful Tools for Debugging and Testing


Internet Explorer 8 Developer Tools FireFox and Firebug Visual Round Trip Analyzer - It visualizes how long it takes a client to talk to a server information that you can then use to understand if you are making excessive round trips, if your code is slowing down the pages Fiddler

Session 1 Page 33

Sandbox Solution
Saturday, April 28, 2012 7:26 PM

Session 1 Page 34

Sandbox Overview
Sunday, May 13, 2012 12:18 AM

Solutions are packaged as .wsp files that can contain features, site definitions, Web Parts, and assemblies. There are two ki nds of solutions: farm and sandboxed.
Farm - Farm solutions are deployed on front-end Web servers by a farm administrator, - have full access to the server object model, and - are not subject to any usage limits. Sandbox - sandboxed solutions can be deployed by a site collection administrator or by a user who has the Full Control permission level at the root of the site collection into the solution gallery for a site collection. - Sandboxed solutions have limited access to the server object model and run in a security restricted context that provides isolation and monitoring of the sandboxed solution's code.

- Farm administrators can enable or disable sandboxed solutions and set usage limits to protect servers in the farm from malicious code.

Session 1 Page 35

Use and benefits of sandboxed solutions


Sunday, May 13, 2012 12:14 AM

Use:
* When an organization wants to run code for employees on a production SharePoint Server site, and that code has not been rigorously reviewed and tested. * When a hoster wants to let the owners of hosted SharePoint Server sites upload and run custom code.

Benefits: * Sandboxed solutions can be added to a production SharePoint Server environment without the risk of affecting processes outside the sandbox. * Site collection administrators can deploy sandboxed solutions. This frees farm administrators from this task. * Scalability and flexibility are increased because sandboxes run in a separate process that can be restricted by quotas, and their effect on the farm can be monitored. * A solution does not have to be modified or recompiled if it is moved from a sandbox to running directly on the farm.

Session 1 Page 36

components that you might deploy in a sandbox


Sunday, May 13, 2012 12:16 AM

Web Parts Event receivers Feature receivers Custom Microsoft SharePoint Designer workflow activities Microsoft InfoPath business logic

Session 1 Page 37

What sandboxed solutions cannot do


Sunday, May 13, 2012 12:17 AM

Connect to resources that are not located on the local farm. Access a database. Change the threading model. Call unmanaged code. Write to disk. Access resources in a different site collection.

Session 1 Page 38

Core SharePoint
Sunday, April 29, 2012 3:30 PM

Sites and Webs Lists and Libraries Templates Views The Ribbon Properties and Metadata Web Parts

Session 1 Page 39

SharePoint Hierarchy
Sunday, April 29, 2012 3:32 PM

Session 1 Page 40

Template
Sunday, April 29, 2012 3:36 PM

Session 1 Page 41

Maximum Values
Sunday, April 29, 2012 3:58 PM

Session 1 Page 42

Difference Between SPF and SharePoint Server


Sunday, April 29, 2012 9:22 PM

http://sharepoint.microsoft.com/en-us/buy/pages/editions-comparison.aspx SPF sites work well for collaboration sites. Such a site gives groups of people the ability to upload and download documents, use discussion boards, assign tasks, share events, and use workflows. Not good enough for corporate portal or for a corporate search solution. Server: - Enterprise searching , FAST search (searching from one location across all the sites that corporate has and on documents and external systems that are stored in other locations, not just in SharePoint). - People search - My Site - Publishing feature that enables site managers to create publishing sites where it is easy to author pages (as opposed to documents) and publish them using workflows.

How to Tell Whether a Site Is Based on SPF or SharePoint Server - There is no way - My Site Link

Session 1 Page 43

Basic Questions
Sunday, April 29, 2012 9:41 PM

What Is a Site? What Is a Personal Site? What Is a Ribbon? What Is a List? What Is an External List? What Is a Document Library? What Is a Wiki Page Library? What Is a Form Library? What Is an Asset Library? What Is a Slide Library? What Is a Picture Library? What Is a View? What Are Web Parts? What Are Alerts? What Is a Site Column? What Is a Content Type? What Is Tagging? What Is Managed Metadata? What Are Versions? What Does Check-in/Check-out Mean? What Is a Workflow?

Session 1 Page 44

Basic Operations
Sunday, April 29, 2012 9:48 PM

Get to a SharePoint Site Log On with Different Credentials Sign Out of a Site Use the Ribbon Change My Regional Settings Change My Display Language Navigate Through a SharePoint Site. Use the Left Navigation Bar . Use the Top Navigation Bar . Use the Breadcrumbs . Use the Navigate Up Breadcrumbs .

Session 1 Page 45

Files, Documents, List Items, and Forms


Sunday, April 29, 2012 9:51 PM

See What Lists and Document Libraries Are in a Site Use Direct Links in the Left Navigation Bar View All Lists and Libraries. Open a Document for Reading . View Properties of a Document . Using the Documents Ribbon . Using a Drop-down Menu . Send a Link to a File by E-mail. Download a File to Your Computer . Tag a Document, List Item, or Page . Tag an External Site. View/Add Notes to a Document or List Item . View Past Versions of Documents. View Properties of a List Item. View a Microsoft InfoPath Form. Change Sorting and Filtering of a List or Library . Sort . Filter . Switch List Views in Lists and Libraries Switch to a Datasheet View. Add Totals Calculations to the Datasheet View Use Alerts . Create an Alert . Modify or Remove an Alert Manage My Alerts in a Site Export the Contents of a List to Microsoft Excel.

Session 1 Page 46

You might also like