Welcome<br />SharePoint 2010 Development for  ASP.NET Developers<br />
Welcome to SharePoint Saturday Houston<br />Thank you for being a part of the 2nd Annual SharePoint Saturday Houston<br />...
Information<br />Speaker presentation slides will be available at SharePointSaturday.org/Houston within a week<br />Keep c...
SharePoint 2010 Development for  ASP.NET Developers<br />Corey Roth<br />Blog: www.dotnetmafia.com<br />Twitter: @coreyrot...
Corey Roth<br />SharePoint Solutions Architect for Stonebridge<br />Microsoft SharePoint MVP<br />Specializing in ECM and ...
What’s new?<br />Visual Studio 2010!<br />
3-Minute Web Part Demo<br />Demo<br />
Getting Started<br />What do I need?<br />
You need…<br />RAM!<br />
To Virtualize or not?<br />
What else do I need?<br />Windows Server 2008 R2 (or SP2) x64 / Windows 7 x64 for native installs<br />SQL Server 2008 R2 ...
SharePoint Basics<br />Farm (SPFarm) – Represents the collection of servers of the SharePoint deployment<br />Web Applicat...
SharePoint Root Folder (aka 14 Hive)<br />Location of most key SharePoint files:  C:Program FilesCommon Filesmicrosoft sha...
Solution Types<br />Farm Solution – Same type of solution used in WSS3.  No security restrictions unless using partial tru...
Visual Web Part<br />A glorified ASP.NET User Control with a Web Part wrapper<br />Built with a designer<br />Previously o...
Visual Web Part Demo<br />Demo<br />
SharePoint API<br />SPContext – Used to get reference to the current site or site collection<br />All uses of SPSite or SP...
Demo<br />Demo<br />
Deployment<br />No manual configuration or third party add-ons required<br />Visual Studio builds features and solution pa...
Resources<br />How to Build and Deploy a Web Part in SharePoint 2010<br />http://www.dotnetmafia.com/blogs/dotnettipofthed...
Questions?<br />Corey Roth<br />Blog: www.dotnetmafia.com<br />Twitter: @coreyroth<br />
Thanks to our Sponsors<br />
Upcoming SlideShare
Loading in...5
×

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

2,628

Published on

Slides from my Beginning SharePoint 2010 development talk for ASP.NET developers presented at SharePoint Saturday Houston 2011.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,628
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
55
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Demo building and deploying a web part in under three minutes.
  • Demo building and deploying a web part in under two minutes.
  • Demo the Visual Web Part
  • Update the Visual Web Part to make some API calls.Demo Features and Solution editor in Visual StudioShow other SPIs
  • SharePoint 2010 Development for ASP.NET Developers - SharePoint Saturday Houston 2011

    1. 1. Welcome<br />SharePoint 2010 Development for ASP.NET Developers<br />
    2. 2. Welcome to SharePoint Saturday Houston<br />Thank you for being a part of the 2nd Annual SharePoint Saturday Houston<br />Please turn off all electronic devices or set them to vibrate.<br />If you must take a phone call, please do so in the hall so as not to disturb others.<br />Thanks to our Platinum Sponsors:<br />
    3. 3. Information<br />Speaker presentation slides will be available at SharePointSaturday.org/Houston within a week<br />Keep checking website for future events<br />The 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!<br />Have a great day!<br />
    4. 4. SharePoint 2010 Development for ASP.NET Developers<br />Corey Roth<br />Blog: www.dotnetmafia.com<br />Twitter: @coreyroth<br />
    5. 5. Corey Roth<br />SharePoint Solutions Architect for Stonebridge<br />Microsoft SharePoint MVP<br />Specializing in ECM and Search<br />Passed all SharePoint 2010 certification exams<br />Microsoft Solutions Advocate<br />E-mail: coreyroth@gmail.com<br />Twitter: @coreyroth<br />Blog: www.dotnetmafia.com<br />Laptop: Dell E6510 i5 2.4 GHz 8GB<br />Oracle VirtualBox 3.2.8 – 4GB on VM<br />
    6. 6. What’s new?<br />Visual Studio 2010!<br />
    7. 7. 3-Minute Web Part Demo<br />Demo<br />
    8. 8. Getting Started<br />What do I need?<br />
    9. 9. You need…<br />RAM!<br />
    10. 10. To Virtualize or not?<br />
    11. 11. What else do I need?<br />Windows Server 2008 R2 (or SP2) x64 / Windows 7 x64 for native installs<br />SQL Server 2008 R2 (or SP1+CU2) x64 / SQL Server 2005 SP3 x64<br />Virtualization Software (if virtualizing) – Oracle VirtualBox, VMWareWorkstation, Hyper-V, etc.<br />Complete requirements at http://technet.microsoft.com/en-us/library/cc262485.aspx<br />
    12. 12. SharePoint Basics<br />Farm (SPFarm) – Represents the collection of servers of the SharePoint deployment<br />Web Applications (SPWebApplication) – Typically one or more of these maps to a web site in IIS (i.e.: Port 80)<br />Site Collection (SPSite) – Will have at least one. Groups sites together<br />Site (SPWeb) – Represents a site or subsite in a Site Collection. Contains pages, lists, etc.<br />Feature – Allows code and SharePoint changes to occur at the click of a button<br />Solution (.wsp) – CAB file used for deployment<br />
    13. 13. SharePoint Root Folder (aka 14 Hive)<br />Location of most key SharePoint files: C:Program FilesCommon Filesmicrosoft sharedWeb Server Extensions14<br />Called 12 in WSS3<br />
    14. 14. Solution Types<br />Farm Solution – Same type of solution used in WSS3. No security restrictions unless using partial trust<br />Can be deployed with Full Trust or Partial Trust<br />Sandboxed Solution – Deploys to the site collection with security limitations<br />Can only access a subset of the SharePoint object model<br />Cannot elevate privileges<br />Can only access artifacts in the site collection it was activated on<br />Administrators can restrict the amount of resources available<br />Ideal for shared hosting environments / SharePoint Online<br />
    15. 15. Visual Web Part<br />A glorified ASP.NET User Control with a Web Part wrapper<br />Built with a designer<br />Previously only available in Farm Solutions<br />Sandbox compatible version available with Visual Studio 2010 SharePoint Power Tools<br />
    16. 16. Visual Web Part Demo<br />Demo<br />
    17. 17. SharePoint API<br />SPContext – Used to get reference to the current site or site collection<br />All uses of SPSite or SPWeb must be disposed (use a using statement)<br />Most collections do not have an “Exists” method<br />A few if them do now in SharePoint 2010<br />Most objects require a call to .Update to save any changes made<br />Some API calls require elevated security – Pass a delegate to RunWithElevatedPrivleges<br />
    18. 18. Demo<br />Demo<br />
    19. 19. Deployment<br />No manual configuration or third party add-ons required<br />Visual Studio builds features and solution package files for you<br />Visual Studio deploys packages directly to SharePoint server<br />Solution packages can still be deployed to other servers via PowerShell<br />
    20. 20. Resources<br />How to Build and Deploy a Web Part in SharePoint 2010<br />http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/02/15/intro-to-sharepoint-2010-development-how-to-build-and-deploy-a-web-part.aspx<br />How to Build and Deploy a Web Part in WSS3<br />http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/10/22/intro-to-sharepoint-development-how-to-build-and-deploy-a-web-part.aspx<br />
    21. 21. Questions?<br />Corey Roth<br />Blog: www.dotnetmafia.com<br />Twitter: @coreyroth<br />
    22. 22. Thanks to our Sponsors<br />
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×