SlideShare une entreprise Scribd logo
1  sur  44
Agenda
• What’s New in SharePoint 2010
• SharePoint 2010 Development Primer
• New Developer tool for SharePoint 2010
• SharePoint 2010 Integration with PowerShell
SharePoint 2010
SharePoint 2010
What’s New in SharePoint 2010
SharePoint 2007
Are you familiar with MOSS 2007 and WSS 3.0
•as a user?
•as a site administrator?
•as a farm administrator?
•as a developer?
What types of components have you developed for SharePoint?
•Features and Solution packages
•Web Parts and Event Handlers
•List Definition and Site Definition
What Tools and utilities have you used?
•Visual Studio Extensions for WSS 3.0
•Code Plex utilities
What’s New in SharePoint 2010
SharePoint Server 2010 is the next version of the SharePoint technology
stack. There will be three different SKUs for SharePoint Server 2010
•SharePoint 2010 Server Enterprise
•SharePoint 2010 Server Standard
•Microsoft SharePoint Foundation
SharePoint 2010 Server only runs on 64-bit operating systems. This is
different from MOSS 2007 and WSS 3.0 which ran on either a 32-bit OS
and a 64-bit OS.
SharePoint 2010 Server is the first version of the product that supports
installation on a client OS for development.
The supported clients Oss included 64-bit version of Windows 7 and
Windows Vista.
IIS 7.0 investments – few changes for the httpmodules and httphandlers
registrations in the web.config – requires changes to webconfig
modifications .
Ajax & Silverlight modifications natively supported by the platform.
What’s New in SharePoint 2010
What’s New in SharePoint 2010
The value proposition of SharePoint 2010 can be split across 6 functional
areas as seen in what is commonly referred to as the "SharePoint Pie".
Here is a quicker decoder ring to understand what each piece of the pie is
all about.
•Sites: Collaboration (e.g. Team sites)
•Communities: Social networking (Blogs, Wikis, User profiles)
•Search: Content discovery and connecting people
•Content: WCM, ECM, DM and RM
•Composites: Building no-code applications with external data (BCS)
•Insights: Business Intelligence and Reporting
What’s New in SharePoint 2010
What’s New in SharePoint 2010
The SharePoint 2010 Team site looks quite a bit different from
SharePoint 2007
•Master page has changed (Site Action menu now on left)
•Home Page is a wiki page (SitePages/Home.aspx)
•New lists and galleries created behind the scenes
What’s New in SharePoint 2010
What’s New in SharePoint 2010
•Create a new Team using SharePoint Central Admin
•Demo the CA in high level – just to show the new UI
•Create new team site
•Navigate to the Team Site and demonstrate new SharePoint 2010 UI
•Demonstrate ribbon
•Edit page – show the new ribbon functionalities
•Live preview capability
•Picture adding
•Updated WebPart adding functionality
•Versioning of page – including web part versioning
•Fluency – add list web part -> you access the list content from
the web part ribbon settings
What’s New in SharePoint 2010
SharePoint 2010
SharePoint 2010
SharePoint 2010
SharePoint 2007
Things to note about the "Hello world" application - SharePoint style
•This code requires a reference to Microsoft.SharePoint.dll.
•SharePoint object model using a new SPSite object
•using construct to ensure Dispose is called
•Many collections in SharePoint object model support For Each enumeration.
Backward compatible way of handling the objects.
Key code is fully functional from 2007 to 2010.
.NET version is 3.5 for both MOSS 2007 and SharePoint 2010
- Platform as any or x64 for SharePoint 2010
SharePoint 2010
The developer dashboard has been introduced with SharePoint Server 2010. It
shows diagnostics and performance-related statistics.
•How long did the request take to run?
•What event handlers were fired?
•In what sequence did these event handlers fire?
SharePoint 2010
Quite often (but not always) you must launch Visual Studio 2010 as
Administrator to get debugging working correctly. Much of this has to due
with the fact that the identity behind the Windows process for Visual Studio
2010 need sufficient rights to be to attach to and debug the IIS Worker Process
(W3WP.EXE)
SharePoint 2010
SharePoint 2010
Create a simple Console application
•Make a point to mention it has to be built for x64 or Any Platform.
•Connect to site using SPSite
•Make sure to create new SPSite object inside using construct
•Get hold of SPWeb object for top-level site
•Enumerate through all lists and print each list title to Console window
SharePoint 2010
SharePoint 2010
SharePoint 2010
SharePoint 2010
SharePoint Designer has gone through many significant changes
•SharePoint objects such as lists and workflow associations are seen as first
class objects in the new UI
•Each SharePoint object has a summary page
•The new workflow designer is much more powerful
•SPD can create reusable workflows – this was a big problem in SPD 2007
•Prototypes created in SPD can be migrated into Visual Studio 2010
SharePoint 2010
SharePoint 2010
SharePoint Designer
•Launch SharePoint Designer
•Backstage view in Office 2010
•Open team site create earlier this module
•Show summary pages for existing lists
•Explain the ribbon
•Create a new list and show how quick and easy it is to create a custom set of
columns
•Explain the list summary page and how it can be used to manage the
different setting of list. Mention also that you can customize the view rendering
(which can be exported as wsp package features), or create custom actions etc.
SharePoint 2010
SharePoint 2010
SharePoint 2010
The SharePoint team has now gotten in line with many other server product
teams at Microsoft and made SharePoint Server 2010 completely administrate-
able through PowerShell scripts.
The bottom line is that all administrators and developers working with
SharePoint Server 2010 should know or get to know PowerShell scripting. The
remainder of this lecture is designed to give an introductory primer for students
with either limited or no previous experience with PowerShell.
SharePoint 2010
SharePoint 2010
Over the last few years, PowerShell scripting has begun to replace older DOS-
style batch files and VBScript files as the preferred way to manage and automate
administrative tasks
•Cmdlets are callable functions
•Pipelining allow one Cmdlet to return an object as input to another
•PowerShell includes formatting features to display output using lists or tables
•PowerShell is based on a provider-based model based on Snap-ins
•SharePoint support added through Microsoft.SharePoint.Powershell..
SharePoint 2010
SharePoint 2010
The first example shows calling a Cmdlet that takes no parameters The
second example adds filtering by adding a Where command
•Where-Object {$_.name –eq "F*"}
•The syntaxt $_ refers to the object in question
•$_.name refers to the object's name property
•-eq is the operator for equals
The third example adds in formatting instructions The last example
redirects output so it is stored in a new text files.
SharePoint 2010
SharePoint 2010
By default, Powershell does not allow script to run
•Administrator must change execution policy to enable script execution.
Execution Policy Settings
•restricted (default) – scripts prohibited from executing
•unrestricted - scripts can execute. Scripts that are signed can run with user
interaction. Scripts that are not signed result in prompting user for
permission to execute.
•bypass (developer mode) – scripts can execute and user interaction is
suppressed.
SharePoint 2010
SharePoint 2010
SharePoint 2010
SharePoint Server 2010 adds many Cmdlets for SharePoint administration
through a Snap-in provider named Microsoft.SharePoint.PowerShell. The
SharePoint cmdlets cannot be called until the SharePoint snap-in has been
loaded.
There are two common ways to load the SharePoint snap-in
•Call the Add-PSSnapin cmdlet and pass a parameter with the snap-in
name
•Launch the PowerShell console using SharePoint Management Console.
This link points to an XML file that loads the SharePoint snap-in in a
declarative fashion.
SharePoint 2010
The first example shows how to get a farm-wide list of all features that have been
installed with a Display Name that contains the word "Publishing". This example
also shows how to use PowerShell fundamentals for filtering, sorting and
formatting.
The second example shows a PowerShell script which uses the New-SPSite cmdlet
to create a new site. You should observe that the New-SPSite cmdlet returns a
SPSite object which is then used to access the SPWeb object for the top-level site.
SharePoint 2010
SharePoint 2010
SharePoint 2010
If you are going to work with SharePoint Server 2010 as a developer or as an
administrator, you must learn PowerShell from the perspective of someone that
consumes cmdlets. However, it some scenarios you might actually want to develop
our own custom cmdlets by creating a PowerShell snap-in.
This approach allows you to develop in a richer environment like Visual Studio 2010
to build reusable components which encapsulate the logic for ongoing
administrative tasks.
SharePoint Installation
Practical Demonstration
Q & A

Contenu connexe

Tendances

Advanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site AdministrationAdvanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site AdministrationLearning SharePoint
 
Share Point For Beginners V1
Share Point For Beginners V1Share Point For Beginners V1
Share Point For Beginners V1MJ Ferdous
 
What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)Mahmoud Hamed Mahmoud
 
SharePoint 2010 Team Site Overview
SharePoint 2010 Team Site OverviewSharePoint 2010 Team Site Overview
SharePoint 2010 Team Site OverviewIvor Davies
 
How to implement SharePoint in your organization
How to implement SharePoint in your organizationHow to implement SharePoint in your organization
How to implement SharePoint in your organizationSPC Adriatics
 
Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Vishal Pawar
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondKanwal Khipple
 
Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010Jordan Remix
 
Sharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can doSharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can doFaisal Masood
 
Advanced SharePoint 2010 Features
Advanced SharePoint 2010 FeaturesAdvanced SharePoint 2010 Features
Advanced SharePoint 2010 FeaturesIvor Davies
 
10 razones para pasarse a SharePoint 2010
10 razones para pasarse a SharePoint 201010 razones para pasarse a SharePoint 2010
10 razones para pasarse a SharePoint 2010Raona
 
Advanced SharePoint Server Concepts
Advanced SharePoint Server ConceptsAdvanced SharePoint Server Concepts
Advanced SharePoint Server ConceptsLearning SharePoint
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Sourav Nayyar
 
Introduction To SharePoint 2010
Introduction To SharePoint 2010Introduction To SharePoint 2010
Introduction To SharePoint 2010Rishu Mehra
 
Intermediate SharePoint 2010 Training
Intermediate SharePoint 2010 TrainingIntermediate SharePoint 2010 Training
Intermediate SharePoint 2010 TrainingIvor Davies
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePointsamirsangli
 

Tendances (20)

Advanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site AdministrationAdvanced SharePoint 2013 Site Administration
Advanced SharePoint 2013 Site Administration
 
Share Point For Beginners V1
Share Point For Beginners V1Share Point For Beginners V1
Share Point For Beginners V1
 
SharePoint 101
SharePoint 101SharePoint 101
SharePoint 101
 
What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)What's new in SharePoint Server 2013 (End user - Admin – Developer)
What's new in SharePoint Server 2013 (End user - Admin – Developer)
 
SharePoint 2010 Team Site Overview
SharePoint 2010 Team Site OverviewSharePoint 2010 Team Site Overview
SharePoint 2010 Team Site Overview
 
Core SharePoint 2013 Concepts
Core SharePoint 2013 ConceptsCore SharePoint 2013 Concepts
Core SharePoint 2013 Concepts
 
How to implement SharePoint in your organization
How to implement SharePoint in your organizationHow to implement SharePoint in your organization
How to implement SharePoint in your organization
 
Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013Introduction To Microsoft SharePoint 2013
Introduction To Microsoft SharePoint 2013
 
SharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday RedmondSharePoint Branding Guidance @ SharePoint Saturday Redmond
SharePoint Branding Guidance @ SharePoint Saturday Redmond
 
Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010Jordan Remix - SharePoint 2010
Jordan Remix - SharePoint 2010
 
Sharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can doSharepoint 2010 overview - what it is and what it can do
Sharepoint 2010 overview - what it is and what it can do
 
Share point overview
Share point overviewShare point overview
Share point overview
 
Advanced SharePoint 2010 Features
Advanced SharePoint 2010 FeaturesAdvanced SharePoint 2010 Features
Advanced SharePoint 2010 Features
 
10 razones para pasarse a SharePoint 2010
10 razones para pasarse a SharePoint 201010 razones para pasarse a SharePoint 2010
10 razones para pasarse a SharePoint 2010
 
Advanced SharePoint Server Concepts
Advanced SharePoint Server ConceptsAdvanced SharePoint Server Concepts
Advanced SharePoint Server Concepts
 
Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1Microsoft SharePoint 2010 Overview Session 1
Microsoft SharePoint 2010 Overview Session 1
 
Introduction To SharePoint 2010
Introduction To SharePoint 2010Introduction To SharePoint 2010
Introduction To SharePoint 2010
 
Intermediate SharePoint 2010 Training
Intermediate SharePoint 2010 TrainingIntermediate SharePoint 2010 Training
Intermediate SharePoint 2010 Training
 
Basics of SharePoint
Basics of SharePointBasics of SharePoint
Basics of SharePoint
 
Beginners SharePoint introduction
Beginners SharePoint introductionBeginners SharePoint introduction
Beginners SharePoint introduction
 

Similaire à Share point 2010_day5

SharePoint Fundamentals (Lesson 1&2)
SharePoint Fundamentals (Lesson 1&2)SharePoint Fundamentals (Lesson 1&2)
SharePoint Fundamentals (Lesson 1&2)MJ Ferdous
 
SharePoint Development (Lesson 4)
SharePoint Development (Lesson 4)SharePoint Development (Lesson 4)
SharePoint Development (Lesson 4)MJ Ferdous
 
Share point review qustions
Share point review qustionsShare point review qustions
Share point review qustionsthan sare
 
Share point answer the question
Share point answer the questionShare point answer the question
Share point answer the questionthan sare
 
Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...
Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...
Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...Planet Technologies
 
2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePointDon Donais
 
SharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, WorkflowSharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, WorkflowJonathon Schultz
 
Session 5-SharePoint with Office-Donovan Follette
Session 5-SharePoint with Office-Donovan FolletteSession 5-SharePoint with Office-Donovan Follette
Session 5-SharePoint with Office-Donovan FolletteMithun T. Dhar
 
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPSharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPAyman El-Hattab
 
SharePoint 2010 and its development tools
SharePoint 2010 and its development toolsSharePoint 2010 and its development tools
SharePoint 2010 and its development toolsShakir Majeed Khan
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointChakkaradeep Chandran
 
Share point 2013
Share point 2013Share point 2013
Share point 2013LiquidHub
 
SharePoint Office 2010 Web Seminar
SharePoint  Office 2010  Web  SeminarSharePoint  Office 2010  Web  Seminar
SharePoint Office 2010 Web SeminarASPE, Inc.
 
Sp2010 Office 2010 Web Seminar
Sp2010 Office 2010 Web SeminarSp2010 Office 2010 Web Seminar
Sp2010 Office 2010 Web SeminarASPE, Inc.
 
SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)MJ Ferdous
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part developmenticdesktop
 
SharePoint 2010 Developer 101
SharePoint 2010 Developer 101SharePoint 2010 Developer 101
SharePoint 2010 Developer 101Nick Hadlee
 
Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 WorkflowPhuong Nguyen
 
Office 365 development
Office 365 developmentOffice 365 development
Office 365 developmentyounjw
 

Similaire à Share point 2010_day5 (20)

SharePoint Fundamentals (Lesson 1&2)
SharePoint Fundamentals (Lesson 1&2)SharePoint Fundamentals (Lesson 1&2)
SharePoint Fundamentals (Lesson 1&2)
 
SharePoint Development (Lesson 4)
SharePoint Development (Lesson 4)SharePoint Development (Lesson 4)
SharePoint Development (Lesson 4)
 
Share point review qustions
Share point review qustionsShare point review qustions
Share point review qustions
 
Share point answer the question
Share point answer the questionShare point answer the question
Share point answer the question
 
Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...
Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...
Building End-to-End Solutions Leveraging SharePoint 2010 and Office 2010 Appl...
 
2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint2012 MindSurf - Augmenting Business Process with SharePoint
2012 MindSurf - Augmenting Business Process with SharePoint
 
SharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, WorkflowSharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, Workflow
 
Session 5-SharePoint with Office-Donovan Follette
Session 5-SharePoint with Office-Donovan FolletteSession 5-SharePoint with Office-Donovan Follette
Session 5-SharePoint with Office-Donovan Follette
 
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVPSharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
 
SharePoint 2010 and its development tools
SharePoint 2010 and its development toolsSharePoint 2010 and its development tools
SharePoint 2010 and its development tools
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share Point
 
Share point 2013
Share point 2013Share point 2013
Share point 2013
 
SharePoint Office 2010 Web Seminar
SharePoint  Office 2010  Web  SeminarSharePoint  Office 2010  Web  Seminar
SharePoint Office 2010 Web Seminar
 
Sp2010 Office 2010 Web Seminar
Sp2010 Office 2010 Web SeminarSp2010 Office 2010 Web Seminar
Sp2010 Office 2010 Web Seminar
 
SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part development
 
SharePoint 2010 Developer 101
SharePoint 2010 Developer 101SharePoint 2010 Developer 101
SharePoint 2010 Developer 101
 
Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 Workflow
 
Share Point
Share PointShare Point
Share Point
 
Office 365 development
Office 365 developmentOffice 365 development
Office 365 development
 

Dernier

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 

Dernier (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

Share point 2010_day5

  • 1. Agenda • What’s New in SharePoint 2010 • SharePoint 2010 Development Primer • New Developer tool for SharePoint 2010 • SharePoint 2010 Integration with PowerShell SharePoint 2010
  • 3. What’s New in SharePoint 2010
  • 4. SharePoint 2007 Are you familiar with MOSS 2007 and WSS 3.0 •as a user? •as a site administrator? •as a farm administrator? •as a developer? What types of components have you developed for SharePoint? •Features and Solution packages •Web Parts and Event Handlers •List Definition and Site Definition What Tools and utilities have you used? •Visual Studio Extensions for WSS 3.0 •Code Plex utilities
  • 5. What’s New in SharePoint 2010
  • 6. SharePoint Server 2010 is the next version of the SharePoint technology stack. There will be three different SKUs for SharePoint Server 2010 •SharePoint 2010 Server Enterprise •SharePoint 2010 Server Standard •Microsoft SharePoint Foundation SharePoint 2010 Server only runs on 64-bit operating systems. This is different from MOSS 2007 and WSS 3.0 which ran on either a 32-bit OS and a 64-bit OS. SharePoint 2010 Server is the first version of the product that supports installation on a client OS for development. The supported clients Oss included 64-bit version of Windows 7 and Windows Vista. IIS 7.0 investments – few changes for the httpmodules and httphandlers registrations in the web.config – requires changes to webconfig modifications . Ajax & Silverlight modifications natively supported by the platform. What’s New in SharePoint 2010
  • 7. What’s New in SharePoint 2010
  • 8. The value proposition of SharePoint 2010 can be split across 6 functional areas as seen in what is commonly referred to as the "SharePoint Pie". Here is a quicker decoder ring to understand what each piece of the pie is all about. •Sites: Collaboration (e.g. Team sites) •Communities: Social networking (Blogs, Wikis, User profiles) •Search: Content discovery and connecting people •Content: WCM, ECM, DM and RM •Composites: Building no-code applications with external data (BCS) •Insights: Business Intelligence and Reporting What’s New in SharePoint 2010
  • 9. What’s New in SharePoint 2010
  • 10. The SharePoint 2010 Team site looks quite a bit different from SharePoint 2007 •Master page has changed (Site Action menu now on left) •Home Page is a wiki page (SitePages/Home.aspx) •New lists and galleries created behind the scenes What’s New in SharePoint 2010
  • 11. What’s New in SharePoint 2010
  • 12. •Create a new Team using SharePoint Central Admin •Demo the CA in high level – just to show the new UI •Create new team site •Navigate to the Team Site and demonstrate new SharePoint 2010 UI •Demonstrate ribbon •Edit page – show the new ribbon functionalities •Live preview capability •Picture adding •Updated WebPart adding functionality •Versioning of page – including web part versioning •Fluency – add list web part -> you access the list content from the web part ribbon settings What’s New in SharePoint 2010
  • 16. SharePoint 2007 Things to note about the "Hello world" application - SharePoint style •This code requires a reference to Microsoft.SharePoint.dll. •SharePoint object model using a new SPSite object •using construct to ensure Dispose is called •Many collections in SharePoint object model support For Each enumeration. Backward compatible way of handling the objects. Key code is fully functional from 2007 to 2010. .NET version is 3.5 for both MOSS 2007 and SharePoint 2010 - Platform as any or x64 for SharePoint 2010
  • 17. SharePoint 2010 The developer dashboard has been introduced with SharePoint Server 2010. It shows diagnostics and performance-related statistics. •How long did the request take to run? •What event handlers were fired? •In what sequence did these event handlers fire?
  • 18. SharePoint 2010 Quite often (but not always) you must launch Visual Studio 2010 as Administrator to get debugging working correctly. Much of this has to due with the fact that the identity behind the Windows process for Visual Studio 2010 need sufficient rights to be to attach to and debug the IIS Worker Process (W3WP.EXE)
  • 20. SharePoint 2010 Create a simple Console application •Make a point to mention it has to be built for x64 or Any Platform. •Connect to site using SPSite •Make sure to create new SPSite object inside using construct •Get hold of SPWeb object for top-level site •Enumerate through all lists and print each list title to Console window
  • 24. SharePoint 2010 SharePoint Designer has gone through many significant changes •SharePoint objects such as lists and workflow associations are seen as first class objects in the new UI •Each SharePoint object has a summary page •The new workflow designer is much more powerful •SPD can create reusable workflows – this was a big problem in SPD 2007 •Prototypes created in SPD can be migrated into Visual Studio 2010
  • 26. SharePoint 2010 SharePoint Designer •Launch SharePoint Designer •Backstage view in Office 2010 •Open team site create earlier this module •Show summary pages for existing lists •Explain the ribbon •Create a new list and show how quick and easy it is to create a custom set of columns •Explain the list summary page and how it can be used to manage the different setting of list. Mention also that you can customize the view rendering (which can be exported as wsp package features), or create custom actions etc.
  • 29. SharePoint 2010 The SharePoint team has now gotten in line with many other server product teams at Microsoft and made SharePoint Server 2010 completely administrate- able through PowerShell scripts. The bottom line is that all administrators and developers working with SharePoint Server 2010 should know or get to know PowerShell scripting. The remainder of this lecture is designed to give an introductory primer for students with either limited or no previous experience with PowerShell.
  • 31. SharePoint 2010 Over the last few years, PowerShell scripting has begun to replace older DOS- style batch files and VBScript files as the preferred way to manage and automate administrative tasks •Cmdlets are callable functions •Pipelining allow one Cmdlet to return an object as input to another •PowerShell includes formatting features to display output using lists or tables •PowerShell is based on a provider-based model based on Snap-ins •SharePoint support added through Microsoft.SharePoint.Powershell..
  • 33. SharePoint 2010 The first example shows calling a Cmdlet that takes no parameters The second example adds filtering by adding a Where command •Where-Object {$_.name –eq "F*"} •The syntaxt $_ refers to the object in question •$_.name refers to the object's name property •-eq is the operator for equals The third example adds in formatting instructions The last example redirects output so it is stored in a new text files.
  • 35. SharePoint 2010 By default, Powershell does not allow script to run •Administrator must change execution policy to enable script execution. Execution Policy Settings •restricted (default) – scripts prohibited from executing •unrestricted - scripts can execute. Scripts that are signed can run with user interaction. Scripts that are not signed result in prompting user for permission to execute. •bypass (developer mode) – scripts can execute and user interaction is suppressed.
  • 38. SharePoint 2010 SharePoint Server 2010 adds many Cmdlets for SharePoint administration through a Snap-in provider named Microsoft.SharePoint.PowerShell. The SharePoint cmdlets cannot be called until the SharePoint snap-in has been loaded. There are two common ways to load the SharePoint snap-in •Call the Add-PSSnapin cmdlet and pass a parameter with the snap-in name •Launch the PowerShell console using SharePoint Management Console. This link points to an XML file that loads the SharePoint snap-in in a declarative fashion.
  • 40. The first example shows how to get a farm-wide list of all features that have been installed with a Display Name that contains the word "Publishing". This example also shows how to use PowerShell fundamentals for filtering, sorting and formatting. The second example shows a PowerShell script which uses the New-SPSite cmdlet to create a new site. You should observe that the New-SPSite cmdlet returns a SPSite object which is then used to access the SPWeb object for the top-level site. SharePoint 2010
  • 42. SharePoint 2010 If you are going to work with SharePoint Server 2010 as a developer or as an administrator, you must learn PowerShell from the perspective of someone that consumes cmdlets. However, it some scenarios you might actually want to develop our own custom cmdlets by creating a PowerShell snap-in. This approach allows you to develop in a richer environment like Visual Studio 2010 to build reusable components which encapsulate the logic for ongoing administrative tasks.
  • 44. Q & A