SlideShare una empresa de Scribd logo
1 de 40
SP 2013: Full Trust Solution
Development
SharePoint Saturday – MONTRÉAL
2 février 2013 – February 2nd 2013
Merci à nos commanditaires!
    Thanks to our sponsors!
{ About.Me() }
•   Current SharePoint MVP
•   Author for two SP 2010 development books
•   SharePoint Architect for Infusion
•   Speaker at International Conferences on
    SharePoint, at user groups, and at
    SharePoint Saturdays
•   Certified Trainer for the industry leading
    SharePoint training from Critical Path
    Training
•   Telerik “Insider”
•   Holds all MS certifications for SharePoint
    2010


• Harley-Davidson ™ Enthusiast!



    https://mvp.support.microsoft.com/profile/Ed.Musters
London   Kraków   Dubai   New York   Toronto   Boston
And, yes, I do really have a Black
             Belt. 
Published Books
Prize! Telerik DevCraft Ultimate Collection
Agenda
Why Full Trust?
The New SharePoint « App » Model
The New SharePoint « App » Model
Full Trust Solutions in SharePoint
Full Trust Solutions in SharePoint
Full Trust Solutions in SharePoint
Solution Packages

• Solution Packages are sets of            Web Parts

  functionality deployed to the farm or
  site collection (sandbox)
• May contain one or more Features,
  assemblies, pages, controls, and other
  artifacts                                Assemblies   WSP
• SharePoint framework handles
  installation and configuration of
  solution items
• Automated packaging and
  deployment in Visual Studio 2010          Mapped
                                            Folders
Features   Solution

• A ‘Feature’ is a defined set of
  functionality encapsulated
                                           Feature
  within a specific format
• Features may be comprised of
  any combination of code,                  XML      Project Item
  including web parts, workflows,
  and site definitions
• Features may be deployed                Receiver
                                          Assembly
                                                     Web Part   Template   Workflow


  individually or as a part of the
  solution package
Convert from
    SP2010
Sample App – Footer Links
• Illustrates a very common development pattern
  1. Define schema: Site Columns and Content Types
  2. List Provisioned with attached content types
  3. A Web Part that performs a content query against the content type /
     SP List
Solution Structure and Dependencies
Use Existing Solutions from SharePoint 2010




  SharePointProductVersion="14.0"
Converting VS Solutions from SharePoint 2010




  SharePointProductVersion="15.0"
Converting VS Solutions from SharePoint 2010
SP 2013 Dev
Development in SharePoint 2013
Advanced
Deployment
Solution File (WSP) Deployment

• Know the solution deployment life cycle!
               •   Uninstall-SPSolution
               •   Remove-SPSolution                                 Web Servers
               •   Add-SPSolution
               •   Install-SPSolution
                                                                Install
                                           Debugging            Uninstall




                   “MakeCab”        mySolution.wsp
                                  (WSS Solution Cab)
                                                       add
                                                                WSS
                                                       remove   Config
                                                                DB
Automate Solution Provisioning

$SolutionPackage = "FooterLinks2013Schema.wsp"
$solution = Get-SPSolution | where-object {$_.Name -eq $SolutionPackage}
if ($Solution -ne $null) {
  if($Solution.Deployed -eq $true) {
    Write-Host "Uninstall: " $SolutionPackage
    Uninstall-SPSolution -Identity $SolutionPackage -Local -Confirm:$false
  }
  Write-Host "Remove: " $SolutionPackage
  Remove-SPSolution -Identity $SolutionPackage -Confirm:$false
}

$wspPath = Resolve-Path $SolutionPackage;
Write-Host "Add: " $SolutionPackage
Add-SPSolution -LiteralPath $wspPath
Write-Host "Install: " $SolutionPackage
Install-SPSolution -Identity $SolutionPackage -Local -GACDeployment -FOrce
Feature Receivers



public override void FeatureDeactivating(SPFeatureReceiverProperties properties)
       {
           SPWeb site = properties.Feature.Parent as SPWeb;
           if (site != null)
           {
               SPList list = site.Lists.TryGetList("Footer Links 2013");
               if (list != null)
               {
                   list.Delete();
               }
           }
       }
Content / Contenu
Content / Contenu
Content / Contenu
Content / Contenu
Best Practices
Right # of Solutions?
•   Partition according to feature scope
•   Partition with reusability in mind
•   Partition with maintainability in mind
•   Partition along activation dependencies
•   Put “schema” in its own solution
•   Item types have tendency to be grouped together (e.g. web
    parts, workflow templates)
What’s Your Story?
•   Methodically planned deployment
•   The “big bang” deployment
•   Visual Studio and SharePoint Designer mix
•   Manual Deployment – 35 page manual
•   Lack of Deployment Automation
•   Actually, there is no real deployment
Deployment Best Practices
Conclusion
Remerciements / Thanks
       Questions et réponses / Q&A



emusters@infusion.com
Merci à nos commanditaires!
    Thanks to our sponsors!
 Visitez-nous! – Visit Us!



     Site principal / Main site – www.sharepointquebec.org
     Twitter - @guspquebec
     Facebook - http://www.facebook.com/groups/206445679432304/
     Meetup- http://www.meetup.com/guspquebec/
     LinkedIn - http://www.linkedin.com/groups?gid=149597

Más contenido relacionado

La actualidad más candente

SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
Nik Patel
 
Access Services in SharePoint 2010 - All You Need to Know
Access Services in SharePoint 2010 - All You Need to KnowAccess Services in SharePoint 2010 - All You Need to Know
Access Services in SharePoint 2010 - All You Need to Know
Nik Patel
 
Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013
David J Rosenthal
 
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box TechnologyBringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
joelsef
 
Exploring SharePoint 2013 by Chandu Raj
Exploring SharePoint 2013 by Chandu RajExploring SharePoint 2013 by Chandu Raj
Exploring SharePoint 2013 by Chandu Raj
chanduraj1984
 

La actualidad más candente (20)

SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
SharePoint Saturday Chicago Suburbs 2016 - Modern Intranet Development Best P...
 
A Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deploymentA Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deployment
 
SharePoint Programming Basic
SharePoint Programming BasicSharePoint Programming Basic
SharePoint Programming Basic
 
How to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
How to best setup SharePoint 2013, Web Apps, Workflow Manager with PowershellHow to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
How to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
 
Access Services in SharePoint 2010 - All You Need to Know
Access Services in SharePoint 2010 - All You Need to KnowAccess Services in SharePoint 2010 - All You Need to Know
Access Services in SharePoint 2010 - All You Need to Know
 
SharePoint 2016 - What's New, What's Not
SharePoint 2016 - What's New, What's NotSharePoint 2016 - What's New, What's Not
SharePoint 2016 - What's New, What's Not
 
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
 
Sharepoint Overview
Sharepoint OverviewSharepoint Overview
Sharepoint Overview
 
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
 
ECS19 - Benjamin Niaulin - MOVED TO OFFICE 365, NOW WHAT?
ECS19 - Benjamin Niaulin - MOVED TO OFFICE 365, NOW WHAT?ECS19 - Benjamin Niaulin - MOVED TO OFFICE 365, NOW WHAT?
ECS19 - Benjamin Niaulin - MOVED TO OFFICE 365, NOW WHAT?
 
SharePoint 2016 Upgrade Planning
SharePoint 2016 Upgrade PlanningSharePoint 2016 Upgrade Planning
SharePoint 2016 Upgrade Planning
 
SharePoint 2013 overview jeremy thake
SharePoint 2013 overview   jeremy thakeSharePoint 2013 overview   jeremy thake
SharePoint 2013 overview jeremy thake
 
Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013Introduction and What is New: Microsoft SharePoint 2013
Introduction and What is New: Microsoft SharePoint 2013
 
Hybrid SharePoint Deployments
Hybrid SharePoint DeploymentsHybrid SharePoint Deployments
Hybrid SharePoint Deployments
 
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box TechnologyBringing Zest to SharePoint Sites Using Out-of-the-Box Technology
Bringing Zest to SharePoint Sites Using Out-of-the-Box Technology
 
Exploring SharePoint 2013 by Chandu Raj
Exploring SharePoint 2013 by Chandu RajExploring SharePoint 2013 by Chandu Raj
Exploring SharePoint 2013 by Chandu Raj
 
Creating a SharePoint App with Microsoft Access Services
Creating a SharePoint App with Microsoft Access ServicesCreating a SharePoint App with Microsoft Access Services
Creating a SharePoint App with Microsoft Access Services
 
New SharePoint Features in Visual Studio 2012!
New SharePoint Features in Visual Studio 2012!New SharePoint Features in Visual Studio 2012!
New SharePoint Features in Visual Studio 2012!
 
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick BakkerO365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
O365Con19 - Model-driven Apps or Canvas Apps? - Rick Bakker
 
Migrate to share point 2016 (presentation)
Migrate to share point 2016 (presentation) Migrate to share point 2016 (presentation)
Migrate to share point 2016 (presentation)
 

Similar a Full Trust Solution Development in SharePoint 2013

Customizing the visual studio 2010 share point deployment process
Customizing the visual studio 2010 share point deployment processCustomizing the visual studio 2010 share point deployment process
Customizing the visual studio 2010 share point deployment process
Eric Shupps
 
Archetype autoplugins
Archetype autopluginsArchetype autoplugins
Archetype autoplugins
Mark Schaake
 
WSO2 Quarterly Technical Update
WSO2 Quarterly Technical UpdateWSO2 Quarterly Technical Update
WSO2 Quarterly Technical Update
WSO2
 

Similar a Full Trust Solution Development in SharePoint 2013 (20)

SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365SharePoint 2013 Sandbox Solutions for On Premise or Office 365
SharePoint 2013 Sandbox Solutions for On Premise or Office 365
 
OSH01 - Developing SharePoint Framework Solutions for the Enterprise
OSH01 - Developing SharePoint Framework Solutions for the EnterpriseOSH01 - Developing SharePoint Framework Solutions for the Enterprise
OSH01 - Developing SharePoint Framework Solutions for the Enterprise
 
CUST-2 New Client Configuration & Extension Points in Share
CUST-2 New Client Configuration & Extension Points in ShareCUST-2 New Client Configuration & Extension Points in Share
CUST-2 New Client Configuration & Extension Points in Share
 
SharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUGSharePoint 2013 Web Content Management for Developers TSPUG
SharePoint 2013 Web Content Management for Developers TSPUG
 
SharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Web Content Management for Developers HSPUGSharePoint 2013 Web Content Management for Developers HSPUG
SharePoint 2013 Web Content Management for Developers HSPUG
 
Getting Started with Site Designs and Site Scripts - SPSChi
Getting Started with Site Designs and Site Scripts - SPSChiGetting Started with Site Designs and Site Scripts - SPSChi
Getting Started with Site Designs and Site Scripts - SPSChi
 
Getting Started with Site Designs and Site Scripts - NACollabSummit 2019
Getting Started with Site Designs and Site Scripts - NACollabSummit 2019Getting Started with Site Designs and Site Scripts - NACollabSummit 2019
Getting Started with Site Designs and Site Scripts - NACollabSummit 2019
 
Share point development 101
Share point development 101Share point development 101
Share point development 101
 
Customizing the visual studio 2010 share point deployment process
Customizing the visual studio 2010 share point deployment processCustomizing the visual studio 2010 share point deployment process
Customizing the visual studio 2010 share point deployment process
 
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
Quick Wins to Jump Start Your SharePoint Implementation - SPEngage Raleigh 2016
 
Distribution best practices
Distribution best practicesDistribution best practices
Distribution best practices
 
Keynote: What’s new in Sirius?
Keynote: What’s new in Sirius?Keynote: What’s new in Sirius?
Keynote: What’s new in Sirius?
 
SiriusCon 2021 - Keynote
SiriusCon 2021 - KeynoteSiriusCon 2021 - Keynote
SiriusCon 2021 - Keynote
 
Make the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShellMake the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShell
 
Envision IT - Application Lifecycle Management for SharePoint in the Enterprise
Envision IT - Application Lifecycle Management for SharePoint in the EnterpriseEnvision IT - Application Lifecycle Management for SharePoint in the Enterprise
Envision IT - Application Lifecycle Management for SharePoint in the Enterprise
 
Archetype autoplugins
Archetype autopluginsArchetype autoplugins
Archetype autoplugins
 
SharePoint Development (Lesson 3)
SharePoint Development (Lesson 3)SharePoint Development (Lesson 3)
SharePoint Development (Lesson 3)
 
WSO2 Quarterly Technical Update
WSO2 Quarterly Technical UpdateWSO2 Quarterly Technical Update
WSO2 Quarterly Technical Update
 
Session 3 - Developer Tools-Sharepoint firestarter-paul yuknewicz
Session 3 - Developer Tools-Sharepoint firestarter-paul yuknewiczSession 3 - Developer Tools-Sharepoint firestarter-paul yuknewicz
Session 3 - Developer Tools-Sharepoint firestarter-paul yuknewicz
 
SharePoint Design & Development
SharePoint Design & DevelopmentSharePoint Design & Development
SharePoint Design & Development
 

Más de Ed Musters

Más de Ed Musters (8)

Collab365 global 2016_edmusters_searchzerotohero
Collab365 global 2016_edmusters_searchzerotoheroCollab365 global 2016_edmusters_searchzerotohero
Collab365 global 2016_edmusters_searchzerotohero
 
SharePoint Search Zero to Search Hero
SharePoint Search Zero to Search HeroSharePoint Search Zero to Search Hero
SharePoint Search Zero to Search Hero
 
SharePoint Search Zero to Search Hero - SPSNL 2016
SharePoint Search Zero to Search Hero - SPSNL 2016SharePoint Search Zero to Search Hero - SPSNL 2016
SharePoint Search Zero to Search Hero - SPSNL 2016
 
Using Telerik Kendo UI in Office 365
Using Telerik Kendo UI in Office 365Using Telerik Kendo UI in Office 365
Using Telerik Kendo UI in Office 365
 
Telerik Kendo UI Overview
Telerik Kendo UI OverviewTelerik Kendo UI Overview
Telerik Kendo UI Overview
 
Telerik Kendo UI in Office 365
Telerik Kendo UI in Office 365Telerik Kendo UI in Office 365
Telerik Kendo UI in Office 365
 
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365SharePoint 2013 Sandbox Solutions for On Premise and Office 365
SharePoint 2013 Sandbox Solutions for On Premise and Office 365
 
SharePoint 2013 Document Management Out of the Box
SharePoint 2013 Document Management Out of the BoxSharePoint 2013 Document Management Out of the Box
SharePoint 2013 Document Management Out of the Box
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Full Trust Solution Development in SharePoint 2013

  • 1. SP 2013: Full Trust Solution Development SharePoint Saturday – MONTRÉAL 2 février 2013 – February 2nd 2013
  • 2. Merci à nos commanditaires! Thanks to our sponsors!
  • 3. { About.Me() } • Current SharePoint MVP • Author for two SP 2010 development books • SharePoint Architect for Infusion • Speaker at International Conferences on SharePoint, at user groups, and at SharePoint Saturdays • Certified Trainer for the industry leading SharePoint training from Critical Path Training • Telerik “Insider” • Holds all MS certifications for SharePoint 2010 • Harley-Davidson ™ Enthusiast! https://mvp.support.microsoft.com/profile/Ed.Musters
  • 4. London Kraków Dubai New York Toronto Boston
  • 5. And, yes, I do really have a Black Belt. 
  • 7. Prize! Telerik DevCraft Ultimate Collection
  • 10. The New SharePoint « App » Model
  • 11. The New SharePoint « App » Model
  • 12. Full Trust Solutions in SharePoint
  • 13. Full Trust Solutions in SharePoint
  • 14. Full Trust Solutions in SharePoint
  • 15. Solution Packages • Solution Packages are sets of Web Parts functionality deployed to the farm or site collection (sandbox) • May contain one or more Features, assemblies, pages, controls, and other artifacts Assemblies WSP • SharePoint framework handles installation and configuration of solution items • Automated packaging and deployment in Visual Studio 2010 Mapped Folders
  • 16. Features Solution • A ‘Feature’ is a defined set of functionality encapsulated Feature within a specific format • Features may be comprised of any combination of code, XML Project Item including web parts, workflows, and site definitions • Features may be deployed Receiver Assembly Web Part Template Workflow individually or as a part of the solution package
  • 17. Convert from SP2010
  • 18. Sample App – Footer Links • Illustrates a very common development pattern 1. Define schema: Site Columns and Content Types 2. List Provisioned with attached content types 3. A Web Part that performs a content query against the content type / SP List
  • 19. Solution Structure and Dependencies
  • 20. Use Existing Solutions from SharePoint 2010 SharePointProductVersion="14.0"
  • 21. Converting VS Solutions from SharePoint 2010 SharePointProductVersion="15.0"
  • 22. Converting VS Solutions from SharePoint 2010
  • 26. Solution File (WSP) Deployment • Know the solution deployment life cycle! • Uninstall-SPSolution • Remove-SPSolution Web Servers • Add-SPSolution • Install-SPSolution Install Debugging Uninstall “MakeCab” mySolution.wsp (WSS Solution Cab) add WSS remove Config DB
  • 27. Automate Solution Provisioning $SolutionPackage = "FooterLinks2013Schema.wsp" $solution = Get-SPSolution | where-object {$_.Name -eq $SolutionPackage} if ($Solution -ne $null) { if($Solution.Deployed -eq $true) { Write-Host "Uninstall: " $SolutionPackage Uninstall-SPSolution -Identity $SolutionPackage -Local -Confirm:$false } Write-Host "Remove: " $SolutionPackage Remove-SPSolution -Identity $SolutionPackage -Confirm:$false } $wspPath = Resolve-Path $SolutionPackage; Write-Host "Add: " $SolutionPackage Add-SPSolution -LiteralPath $wspPath Write-Host "Install: " $SolutionPackage Install-SPSolution -Identity $SolutionPackage -Local -GACDeployment -FOrce
  • 28. Feature Receivers public override void FeatureDeactivating(SPFeatureReceiverProperties properties) { SPWeb site = properties.Feature.Parent as SPWeb; if (site != null) { SPList list = site.Lists.TryGetList("Footer Links 2013"); if (list != null) { list.Delete(); } } }
  • 34. Right # of Solutions? • Partition according to feature scope • Partition with reusability in mind • Partition with maintainability in mind • Partition along activation dependencies • Put “schema” in its own solution • Item types have tendency to be grouped together (e.g. web parts, workflow templates)
  • 35. What’s Your Story? • Methodically planned deployment • The “big bang” deployment • Visual Studio and SharePoint Designer mix • Manual Deployment – 35 page manual • Lack of Deployment Automation • Actually, there is no real deployment
  • 38. Remerciements / Thanks Questions et réponses / Q&A emusters@infusion.com
  • 39. Merci à nos commanditaires! Thanks to our sponsors!
  • 40.  Visitez-nous! – Visit Us!  Site principal / Main site – www.sharepointquebec.org  Twitter - @guspquebec  Facebook - http://www.facebook.com/groups/206445679432304/  Meetup- http://www.meetup.com/guspquebec/  LinkedIn - http://www.linkedin.com/groups?gid=149597

Notas del editor

  1. Suivre Groupe d’usagers SharePoint Québec sur Twitter via @guspquebec
  2. 400 full-time employee consultants with offices in Toronto, Waterloo, New York, Boston, Houston, London UK and Dubai (Calgary expansion underway - planned Q4 2010)Specialists in the design, architecture and implementation of enterprise-scale solutions in Public Sector, Travel & Tourism, Financial Services, Oil & Gas, Retail, Education and HealthcareRecognized Experts on strategic Microsoft technologies: .NET, SharePoint, Dynamics CRM SQL Server, Performance Point, Bing Maps, CCF 2008, Silverlight, WPF, WCF, WW, BizTalk, Mobility and Microsoft SurfaceServices: Consulting & Strategy Enterprise Solution Design & Development User Experience Design & Information Architecture On-site technical mentoring & training Application hosting and support Technical writing
  3. La version 2013 a été présentée par Microsoft cet été. Durant cette session, nous en ferons un survol