SlideShare a Scribd company logo
WelcomeSharePoint 2010 Development for  ASP.NET Developers
Welcome to SharePoint Saturday HoustonThank you for being a part of the 2nd Annual SharePoint Saturday HoustonPlease turn off all electronic devices or set them to vibrate.If you must take a phone call, please do so in the hall so as not to disturb others.Thanks to our Platinum Sponsors:
InformationSpeaker presentation slides will be available at SharePointSaturday.org/Houston within a weekKeep checking website for future eventsThe Houston SharePoint User Group at www.h-spug.org, will be having it’s May meeting this Wednesday on May 11th.  Please be sure to join us!Have a great day!
SharePoint 2010 Development for  ASP.NET DevelopersCorey RothBlog: www.dotnetmafia.comTwitter: @coreyroth
Corey RothSharePoint Solutions Architect for StonebridgeMicrosoft SharePoint MVPSpecializing in ECM and SearchPassed all SharePoint 2010 certification examsMicrosoft Solutions AdvocateE-mail: coreyroth@gmail.comTwitter: @coreyrothBlog: www.dotnetmafia.comLaptop: Dell E6510 i5 2.4 GHz 8GBOracle VirtualBox 3.2.8 – 4GB on VM
What’s new?Visual Studio 2010!
3-Minute Web Part DemoDemo
Getting StartedWhat do I need?
You need…RAM!
To Virtualize or not?
What else do I need?Windows Server 2008 R2 (or SP2) x64 / Windows 7 x64 for native installsSQL Server 2008 R2 (or SP1+CU2) x64 / SQL Server 2005 SP3 x64Virtualization Software (if virtualizing) – Oracle VirtualBox, VMWareWorkstation, Hyper-V, etc.Complete requirements at http://technet.microsoft.com/en-us/library/cc262485.aspx
SharePoint BasicsFarm (SPFarm) – Represents the collection of servers of the SharePoint deploymentWeb Applications (SPWebApplication) – Typically one or more of these maps to a web site in IIS (i.e.: Port 80)Site Collection (SPSite) – Will have at least one.  Groups sites togetherSite (SPWeb) – Represents a site or subsite in a Site Collection.  Contains pages, lists, etc.Feature – Allows code and SharePoint changes to occur at the click of a buttonSolution (.wsp) – CAB file used for deployment
SharePoint Root Folder (aka 14 Hive)Location of most key SharePoint files:  C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14Called 12 in WSS3
Solution TypesFarm Solution – Same type of solution used in WSS3.  No security restrictions unless using partial trustCan be deployed with Full Trust or Partial TrustSandboxed Solution – Deploys to the site collection with security limitationsCan only access a subset of the SharePoint object modelCannot elevate privilegesCan only access artifacts in the site collection it was activated onAdministrators can restrict the amount of resources availableIdeal for shared hosting environments / SharePoint Online
Visual Web PartA glorified ASP.NET User Control with a Web Part wrapperBuilt with a designerPreviously only available in Farm SolutionsSandbox compatible version available with Visual Studio 2010 SharePoint Power Tools
Visual Web Part DemoDemo
SharePoint APISPContext – Used to get reference to the current site or site collectionAll uses of SPSite or SPWeb must be disposed (use a using statement)Most collections do not have an “Exists” methodA few if them do now in SharePoint 2010Most objects require a call to .Update to save any changes madeSome API calls require elevated security – Pass a delegate to RunWithElevatedPrivleges
DemoDemo
DeploymentNo manual configuration or third party add-ons requiredVisual Studio builds features and solution package files for youVisual Studio deploys packages directly to SharePoint serverSolution packages can still be deployed to other servers via PowerShell
ResourcesHow to Build and Deploy a Web Part in SharePoint 2010http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/02/15/intro-to-sharepoint-2010-development-how-to-build-and-deploy-a-web-part.aspxHow to Build and Deploy a Web Part in WSS3http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/10/22/intro-to-sharepoint-development-how-to-build-and-deploy-a-web-part.aspx
Questions?Corey RothBlog: www.dotnetmafia.comTwitter: @coreyroth
Thanks to our Sponsors

More Related Content

PPTX
Advanced BCS - Business Data Connectivity Models and Custom Connectors
PPTX
SharePoint Development For Asp Net Developers
PPTX
Writing Code To Interact With Enterprise Search
PPTX
Building business applications using business connectivity services using sha...
PPTX
Introduction To Enterprise Search Tulsa Tech Fest 2009
PPT
Windows Server 2008 for Developers - Part 1
PPTX
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
PPTX
It114 Configuring SharePoint 2010 User Profile Sync
Advanced BCS - Business Data Connectivity Models and Custom Connectors
SharePoint Development For Asp Net Developers
Writing Code To Interact With Enterprise Search
Building business applications using business connectivity services using sha...
Introduction To Enterprise Search Tulsa Tech Fest 2009
Windows Server 2008 for Developers - Part 1
Connecting to LOB Systems Using BCS, Ayman El-Hattab, MVP
It114 Configuring SharePoint 2010 User Profile Sync

What's hot (20)

PPTX
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
PPTX
STUG-Client Object Model SharePoint 2010
PPTX
Access & SharePoint
PPTX
Oracle WebCenter Content User Training
PPTX
Visio Services in SharePoint 2010
PDF
SPUnite17 External Sharing in SharePoint Online
PPTX
SharePoint Saturday Dayton 2012
PDF
O365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
PPTX
SharePoint as Development Platform for the Modern Intranet
PPTX
What Is SPS Arabia
PPTX
Hybrid SharePoint - Office 365 & On-prem SharePoint 2013 -part2
PPTX
SPS Belgium 2015 - High-trust Apps for On-Premises Development
PPTX
Sharepoint and office 365 hybrid configuration from A to Z #spstoronto 2015
PPTX
Share Point For Beginners V1
PPTX
Worldwide Deployment
PPT
Oracle WebCenter Solutions
PPTX
Office 2010 for IT Pros
PPTX
IBM Social Business Toolkit
PPTX
Access share point-2013-data-with-provider-hosted-apps
PPTX
SharePoint 2010 IT Pro Overview
Advanced BCS - Business Data Connectivity Models and Custom Connectors - SPTe...
STUG-Client Object Model SharePoint 2010
Access & SharePoint
Oracle WebCenter Content User Training
Visio Services in SharePoint 2010
SPUnite17 External Sharing in SharePoint Online
SharePoint Saturday Dayton 2012
O365Con18 - External Collaboration with Azure B2B - Sjoukje Zaal
SharePoint as Development Platform for the Modern Intranet
What Is SPS Arabia
Hybrid SharePoint - Office 365 & On-prem SharePoint 2013 -part2
SPS Belgium 2015 - High-trust Apps for On-Premises Development
Sharepoint and office 365 hybrid configuration from A to Z #spstoronto 2015
Share Point For Beginners V1
Worldwide Deployment
Oracle WebCenter Solutions
Office 2010 for IT Pros
IBM Social Business Toolkit
Access share point-2013-data-with-provider-hosted-apps
SharePoint 2010 IT Pro Overview
Ad

Similar to SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Houston 2011 (20)

PPTX
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
PPTX
SharePoint Fundamentals (Lesson 1&2)
PPTX
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
PPTX
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
PPTX
Intro to SharePoint for Developers
PPTX
SharePoint Design & Development
PPTX
Sps Boston The Share Point Beast
PPTX
SPSDenver - Wrapping Your Head Around the SharePoint Beast
PPTX
Share point 2010_day5
PPTX
SharePoint for ASP.Net Developers
PPT
SharePoint 2010 and its development tools
PDF
What's new in Sharepoint2010 ?
PPTX
SharePoint Development 101
PDF
WKDNUG SP2010 Development Presentation
PDF
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
PPTX
Introduction to sharepoint 2010
PDF
Sharepoint 2010 ! Key Improvements from MOSS
PPTX
Introduction to SharePoint Developer
PPT
4 tools, sandboxed solutionds, web part development
PPTX
Custom Development for SharePoint
SharePoint 2010 Development for ASP.NET Developers - Tyson Devcon 2010
SharePoint Fundamentals (Lesson 1&2)
SharePoint 2010 as a Development Platform, Ayman El-Hattab MVP
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
Intro to SharePoint for Developers
SharePoint Design & Development
Sps Boston The Share Point Beast
SPSDenver - Wrapping Your Head Around the SharePoint Beast
Share point 2010_day5
SharePoint for ASP.Net Developers
SharePoint 2010 and its development tools
What's new in Sharepoint2010 ?
SharePoint Development 101
WKDNUG SP2010 Development Presentation
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Introduction to sharepoint 2010
Sharepoint 2010 ! Key Improvements from MOSS
Introduction to SharePoint Developer
4 tools, sandboxed solutionds, web part development
Custom Development for SharePoint
Ad

More from Corey Roth (20)

PPTX
Introduction to Microsoft Teams and Office 365 Groups
PPTX
Compliance and eDiscovery with Office 365
PPTX
Surfacing Your External Data using BCS in SharePoint 2013 - Dev Connections 2013
PPTX
Office 365 - Introduction to SharePoint Online Development - SharePoint Conne...
POTX
Configuring SharePoint Search for an Optimal Document Management Experience
PPTX
Fives ways to query SharePoint 2013 Search - SharePoint Summit Toronto 2013
PPTX
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
PPTX
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
PPTX
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
PPTX
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
PPTX
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
PPTX
Making the Most of Search in SharePoint Online - TechEd North America
PPTX
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
PPTX
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
PPTX
Extending SharePoint 2010 to your customers and partners
PPTX
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
PPTX
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
PPTX
Instant ECM with SharePoint 2010
PPTX
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
PPTX
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010
Introduction to Microsoft Teams and Office 365 Groups
Compliance and eDiscovery with Office 365
Surfacing Your External Data using BCS in SharePoint 2013 - Dev Connections 2013
Office 365 - Introduction to SharePoint Online Development - SharePoint Conne...
Configuring SharePoint Search for an Optimal Document Management Experience
Fives ways to query SharePoint 2013 Search - SharePoint Summit Toronto 2013
Publishing SharePoint 2013 Apps to the Office Store - Austin SharePoint Users...
What you need to know about Search in SharePoint 2013 Preview - DFW SharePoin...
Office 365 - Introduction to SharePoint Online Development - Lync and Learn
New SharePoint development features using Visual Studio 2012 - SharePoint Sat...
Pitching Office 365 to your Energy Customers - Microsoft Worldwide Partner Co...
Making the Most of Search in SharePoint Online - TechEd North America
New SharePoint development features using Visual Studio 11 - San Antonio Shar...
Office 365 - Introduction to SharePoint Online Development - SharePoint Satur...
Extending SharePoint 2010 to your customers and partners
Instant ECM with SharePoint 2010 - SPTechCon Boston 2011
Getting the most ouf of SharePoint Search - Tulsa SharePoint Interest Group
Instant ECM with SharePoint 2010
Introduction to SharePoint 2010 Enterprise Search - NWA TechFest 2010
Power shell basics in sharepoint 2010 - SharePoint Saturday Houston 2010

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PPTX
Big Data Technologies - Introduction.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Empathic Computing: Creating Shared Understanding
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPT
Teaching material agriculture food technology
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
Cloud computing and distributed systems.
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Big Data Technologies - Introduction.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
MYSQL Presentation for SQL database connectivity
Mobile App Security Testing_ A Comprehensive Guide.pdf
20250228 LYD VKU AI Blended-Learning.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced Soft Computing BINUS July 2025.pdf
Modernizing your data center with Dell and AMD
NewMind AI Monthly Chronicles - July 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Empathic Computing: Creating Shared Understanding
Dropbox Q2 2025 Financial Results & Investor Presentation
GamePlan Trading System Review: Professional Trader's Honest Take
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
Teaching material agriculture food technology
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Spectral efficient network and resource selection model in 5G networks

SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Houston 2011

  • 1. WelcomeSharePoint 2010 Development for ASP.NET Developers
  • 2. Welcome to SharePoint Saturday HoustonThank you for being a part of the 2nd Annual SharePoint Saturday HoustonPlease turn off all electronic devices or set them to vibrate.If you must take a phone call, please do so in the hall so as not to disturb others.Thanks to our Platinum Sponsors:
  • 3. InformationSpeaker presentation slides will be available at SharePointSaturday.org/Houston within a weekKeep checking website for future eventsThe Houston SharePoint User Group at www.h-spug.org, will be having it’s May meeting this Wednesday on May 11th. Please be sure to join us!Have a great day!
  • 4. SharePoint 2010 Development for ASP.NET DevelopersCorey RothBlog: www.dotnetmafia.comTwitter: @coreyroth
  • 5. Corey RothSharePoint Solutions Architect for StonebridgeMicrosoft SharePoint MVPSpecializing in ECM and SearchPassed all SharePoint 2010 certification examsMicrosoft Solutions AdvocateE-mail: [email protected]: @coreyrothBlog: www.dotnetmafia.comLaptop: Dell E6510 i5 2.4 GHz 8GBOracle VirtualBox 3.2.8 – 4GB on VM
  • 11. What else do I need?Windows Server 2008 R2 (or SP2) x64 / Windows 7 x64 for native installsSQL Server 2008 R2 (or SP1+CU2) x64 / SQL Server 2005 SP3 x64Virtualization Software (if virtualizing) – Oracle VirtualBox, VMWareWorkstation, Hyper-V, etc.Complete requirements at http://technet.microsoft.com/en-us/library/cc262485.aspx
  • 12. SharePoint BasicsFarm (SPFarm) – Represents the collection of servers of the SharePoint deploymentWeb Applications (SPWebApplication) – Typically one or more of these maps to a web site in IIS (i.e.: Port 80)Site Collection (SPSite) – Will have at least one. Groups sites togetherSite (SPWeb) – Represents a site or subsite in a Site Collection. Contains pages, lists, etc.Feature – Allows code and SharePoint changes to occur at the click of a buttonSolution (.wsp) – CAB file used for deployment
  • 13. SharePoint Root Folder (aka 14 Hive)Location of most key SharePoint files: C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14Called 12 in WSS3
  • 14. Solution TypesFarm Solution – Same type of solution used in WSS3. No security restrictions unless using partial trustCan be deployed with Full Trust or Partial TrustSandboxed Solution – Deploys to the site collection with security limitationsCan only access a subset of the SharePoint object modelCannot elevate privilegesCan only access artifacts in the site collection it was activated onAdministrators can restrict the amount of resources availableIdeal for shared hosting environments / SharePoint Online
  • 15. Visual Web PartA glorified ASP.NET User Control with a Web Part wrapperBuilt with a designerPreviously only available in Farm SolutionsSandbox compatible version available with Visual Studio 2010 SharePoint Power Tools
  • 16. Visual Web Part DemoDemo
  • 17. SharePoint APISPContext – Used to get reference to the current site or site collectionAll uses of SPSite or SPWeb must be disposed (use a using statement)Most collections do not have an “Exists” methodA few if them do now in SharePoint 2010Most objects require a call to .Update to save any changes madeSome API calls require elevated security – Pass a delegate to RunWithElevatedPrivleges
  • 19. DeploymentNo manual configuration or third party add-ons requiredVisual Studio builds features and solution package files for youVisual Studio deploys packages directly to SharePoint serverSolution packages can still be deployed to other servers via PowerShell
  • 20. ResourcesHow to Build and Deploy a Web Part in SharePoint 2010http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/02/15/intro-to-sharepoint-2010-development-how-to-build-and-deploy-a-web-part.aspxHow to Build and Deploy a Web Part in WSS3http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/10/22/intro-to-sharepoint-development-how-to-build-and-deploy-a-web-part.aspx
  • 22. Thanks to our Sponsors

Editor's Notes

  • #8: Demo building and deploying a web part in under three minutes.
  • #9: Demo building and deploying a web part in under two minutes.
  • #17: Demo the Visual Web Part
  • #19: Update the Visual Web Part to make some API calls.Demo Features and Solution editor in Visual StudioShow other SPIs