What’s New for Developers in SharePoint 2010Geoff Varosky
PLEASE FILL OUTYOUR EVALS? PLEASE?Up for Grabs…(3) 2010 Stickers(2) BooksTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
About MeGeoff Varosky MCP, MCTSSenior Solutions Developer for Grace-Hunt, LLC.Blog: http://www.geoffvarosky.comEmail: gvarosky@grace-hunt.comTwitter: @gvaro
About Grace-HuntFounded in 2004Based in Hudson, MAPresence in North East, Mid Atlantic, and South East RegionsMicrosoft Gold PartnerSpecializing in SharePoint and Dynamics (CRM, SL, GP, NAV) Consulting, Implementation, and IntegrationWeb: http://www.grace-hunt.comTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
History…Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryIn the beginning…Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryIn the beginning…SharePoint Team Services / SPS 2001Visual StudioSDKAPINot much else, only a handful of books and blogs, and some 3rd party toolsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryThen back in ‘03Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryThen back in ‘03WSS v2 and SPS 2003SDKsVisual StudioAPILots more books and blogsMany more 3rd Party Tools to Assist DevelopersTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryThen in ’07Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryThen in ’07WSS v3 and MOSS 2007 SDKsAPILots more books and blogsMany ManyMany more 3rd Party Tools to Assist DevelopersWSP BuilderSTSDevVSeWSSSharePoint ManagerSharePoint Solution Installeretc.Features + Solution PackagesTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryThen here comes 2010 – Paydirt!Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
HistoryThen here comes 2010 – Paydirt!SDKsAPI EnhancementsNew Ways of Accessing DataREST APIs, Client OM, LINQ to SharePointNative Support in VS2010 for SharePointPackaging, Deployment, DebuggingPowerShell (SP 2010 Management Console)Developer DashboardSandboxed SolutionsMajor SPD 2010 EnhancementsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
DevelopmentEnvironmentTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
SharePoint “Developer Edition”Just for developersNo longer required to develop on a serverInstall and run SharePoint 2010 (Foundation or Server) on Desktop systems (Vista SP1+, Windows 7)Required to follow install guide instructions in SDK64-bit System is requiredNot supported for production deploymentsOnly for Standalone InstallationsCan be disabled via Group PolicyTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
SPD 2010Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
SharePoint Designer 2010BCS Designer
MAJOR improvement over BDC
http://snipurl.com/tqzx1
Ability to package up solutions directly into WSPs
Add Custom Actions to the Ribbon and List Item Menus
http://snipurl.com/tr0t3
Can import workflow design from Visio 2010, and export to Visual Studio 2010
Reusable Workflows
Improved Page Editing and Workflow Designer
“Save Site as Template” Creates WSPTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
DemoSharePoint Designer 2010Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio2010Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitIntegrated debuggingProject and Item TemplatesRequired x64 and Local SharePoint InstanceVisual DesignersBCS DesignerWeb Part DesignerWorkflow DesignerWorkflowsSite level workflowsTemplates for Initiation and Association formsImport WSP packages generated in SharePoint DesignerTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitPackage and Deploy Solutions NativelyTFS IntegrationExtensibility for Development of SP ArtifactsBCS SupportTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitWSP Importing*Wizard for selecting WSPDeclarative elements can be selected for importModified and extended from there*Cannot export back to SharePoint DesignerTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitSharePoint Project SystemProject CommandsPackage, Retract & Deploy SolutionsProject level propertiesSite URL, SandboxedFeatures and Packaging NodesMapped FoldersItems and Files have specific SharePoint propertiesTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitSharePoint ExplorerTree-View of SharePoint Site and ArtifactsSite Collection, Sites, Lists, Fields, Content Types, etc.Can view properties of these itemsAdd connections to different site collectionsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Visual Studio 2010 & SharePoint ToolkitExtensibilityServer Explorer ExtensionsDeployment ExtensionsPackaging Validation RulesMS Build ExtensibilityTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
DemoVisual Studio 2010Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
DeveloperDashboardTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer Dashboard      Powerful interface to debug and/or monitor page performanceTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardTurning it on...STSADMstsadm –o setproperty –pn developer-dashboard –pv “OnDemand “stsadm –o setproperty –pn developer-dashboard –pv “On”PowerShell (Beta 1)(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "On"Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardTurning it off...STSADMstsadm –o setproperty –pn developer-dashboard –pv “Off”PowerShell (Beta 1)(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "Off"Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardComplete Request/Response Timing Information on page load for all operations performedRequest (GET:http://sp2010dev-01:80/Pages/default.aspx) (1475.21 ms) BeginRequestHandler (0.07 ms)PostAuthenticateRequestHandler (0.06 ms)PostResolveRequestCacheHandler (1117.62 ms) GetWebPartPageContent (1114.78 ms) GetFileAndMetaInfo (1114.32 ms)EnsureListItemsData (157.10 ms)PortalSiteMapDataSource: Determining Starting Node (0.01 ms)Add WebParts (0.82 ms) Press Releases (0.59 ms)ToolBarMenuButton.CreateChildControls for PersonalActions (0.17 ms)ToolBarMenuButton.CreateChildControls for SiteActions (0.62 ms)SearchBoxEx.OnLoad (0.15 ms)SPPageStateControl:OnLoad (0.20 ms)Activate web part connections (0.13 ms)DataBindingDataFormWebPart (Press Releases) (141.31 ms) CBQ Query and Process Data (140.61 ms) GetSiteData (22.16 ms)GetSiteData#1 (25.84 ms)DataBindingDataFormWebPart () (0.45 ms)DataBinding DataFormWebPart ()#1 (0.29 ms)SPPageStateControl:OnPreRender (0.91 ms)Render Ribbon. (3.14 ms)Render WebPart Zone TopZone (0.39 ms) Render WebPart Press Releases (0.35 ms) Xslt Transform (0.12 ms)Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardBasic Statistics of the page load processTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardInspection of SQL QueriesTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardInspection of SPRequest ObjectsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
Developer DashboardAdditional Information on…Service Calls
Asserts and Critical Events
Web Parts Events OffsetsMore Information on my bloghttp://snipurl.com/u10su
Programmatically enabling/disabling DD
Beta 2 PowerShell commands
Additional API configuration
http://snipurl.com/u10tf (Extensions)Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
PowerShellTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
PowerShellSharePoint 2010 Management ConsoleCommand environment allows for scriptingLeverage the API directlyMore flexible, extensible, faster, and powerful than STSADMSnap-in for PowerShell for SharePoint AdministrationHundreds of cmdlets available OOTBCan tweak options that cannot be done in the UITwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
DemoUsing PowerShell to Enable the Developer DashboardTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
PowerShellCMDLETSGet-help <cmdlet>Get-help <cmdlet> -detailedGet-Command Get-SP*Get and SetGet retrieves informationSet changes informationTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
PowerShellFor More Information…Windows PowerShell for SharePoint 2010 Administratorhttp://snipurl.com/u76gePowerShell CHM for SharePoint 2010http://snipurl.com/u76fyGlobal SharePoint Users Group Meeting 2/2Paul Schaeflein Talking about PWS in 2010! http://www.gspug.orgTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
SandboxedSolutionsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com

SharePoint Saturday NYC 1/30/10 - Whats New For Developers In Share Point 2010

  • 1.
    What’s New forDevelopers in SharePoint 2010Geoff Varosky
  • 2.
    PLEASE FILL OUTYOUREVALS? PLEASE?Up for Grabs…(3) 2010 Stickers(2) BooksTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 3.
    About MeGeoff VaroskyMCP, MCTSSenior Solutions Developer for Grace-Hunt, LLC.Blog: http://www.geoffvarosky.comEmail: gvarosky@grace-hunt.comTwitter: @gvaro
  • 4.
    About Grace-HuntFounded in2004Based in Hudson, MAPresence in North East, Mid Atlantic, and South East RegionsMicrosoft Gold PartnerSpecializing in SharePoint and Dynamics (CRM, SL, GP, NAV) Consulting, Implementation, and IntegrationWeb: http://www.grace-hunt.comTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 5.
    History…Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog:www.geoffvarosky.comCompany: www.grace-hunt.com
  • 6.
    HistoryIn the beginning…Twitter:@gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 7.
    HistoryIn the beginning…SharePointTeam Services / SPS 2001Visual StudioSDKAPINot much else, only a handful of books and blogs, and some 3rd party toolsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 8.
    HistoryThen back in‘03Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 9.
    HistoryThen back in‘03WSS v2 and SPS 2003SDKsVisual StudioAPILots more books and blogsMany more 3rd Party Tools to Assist DevelopersTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 10.
    HistoryThen in ’07Twitter:@gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 11.
    HistoryThen in ’07WSSv3 and MOSS 2007 SDKsAPILots more books and blogsMany ManyMany more 3rd Party Tools to Assist DevelopersWSP BuilderSTSDevVSeWSSSharePoint ManagerSharePoint Solution Installeretc.Features + Solution PackagesTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 12.
    HistoryThen here comes2010 – Paydirt!Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 13.
    HistoryThen here comes2010 – Paydirt!SDKsAPI EnhancementsNew Ways of Accessing DataREST APIs, Client OM, LINQ to SharePointNative Support in VS2010 for SharePointPackaging, Deployment, DebuggingPowerShell (SP 2010 Management Console)Developer DashboardSandboxed SolutionsMajor SPD 2010 EnhancementsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 14.
  • 15.
    SharePoint “Developer Edition”Justfor developersNo longer required to develop on a serverInstall and run SharePoint 2010 (Foundation or Server) on Desktop systems (Vista SP1+, Windows 7)Required to follow install guide instructions in SDK64-bit System is requiredNot supported for production deploymentsOnly for Standalone InstallationsCan be disabled via Group PolicyTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 16.
    SPD 2010Twitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 17.
  • 18.
  • 19.
  • 20.
    Ability to packageup solutions directly into WSPs
  • 21.
    Add Custom Actionsto the Ribbon and List Item Menus
  • 22.
  • 23.
    Can import workflowdesign from Visio 2010, and export to Visual Studio 2010
  • 24.
  • 25.
    Improved Page Editingand Workflow Designer
  • 26.
    “Save Site asTemplate” Creates WSPTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 27.
    DemoSharePoint Designer 2010Twitter:@gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 28.
    Visual Studio2010Twitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 29.
    Visual Studio 2010& SharePoint ToolkitIntegrated debuggingProject and Item TemplatesRequired x64 and Local SharePoint InstanceVisual DesignersBCS DesignerWeb Part DesignerWorkflow DesignerWorkflowsSite level workflowsTemplates for Initiation and Association formsImport WSP packages generated in SharePoint DesignerTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 30.
    Visual Studio 2010& SharePoint ToolkitTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 31.
    Visual Studio 2010& SharePoint ToolkitTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 32.
    Visual Studio 2010& SharePoint ToolkitPackage and Deploy Solutions NativelyTFS IntegrationExtensibility for Development of SP ArtifactsBCS SupportTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 33.
    Visual Studio 2010& SharePoint ToolkitWSP Importing*Wizard for selecting WSPDeclarative elements can be selected for importModified and extended from there*Cannot export back to SharePoint DesignerTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 34.
    Visual Studio 2010& SharePoint ToolkitSharePoint Project SystemProject CommandsPackage, Retract & Deploy SolutionsProject level propertiesSite URL, SandboxedFeatures and Packaging NodesMapped FoldersItems and Files have specific SharePoint propertiesTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 35.
    Visual Studio 2010& SharePoint ToolkitSharePoint ExplorerTree-View of SharePoint Site and ArtifactsSite Collection, Sites, Lists, Fields, Content Types, etc.Can view properties of these itemsAdd connections to different site collectionsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 36.
    Visual Studio 2010& SharePoint ToolkitExtensibilityServer Explorer ExtensionsDeployment ExtensionsPackaging Validation RulesMS Build ExtensibilityTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 37.
    DemoVisual Studio 2010Twitter:@gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 38.
    DeveloperDashboardTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog:www.geoffvarosky.comCompany: www.grace-hunt.com
  • 39.
    Developer Dashboard Powerful interface to debug and/or monitor page performanceTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 40.
    Developer DashboardTurning iton...STSADMstsadm –o setproperty –pn developer-dashboard –pv “OnDemand “stsadm –o setproperty –pn developer-dashboard –pv “On”PowerShell (Beta 1)(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "OnDemand"(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "On"Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 41.
    Developer DashboardTurning itoff...STSADMstsadm –o setproperty –pn developer-dashboard –pv “Off”PowerShell (Beta 1)(Get-SPFarm).PerformanceMonitor.DeveloperDashboardLevel = "Off"Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 42.
    Developer DashboardTwitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 43.
    Developer DashboardComplete Request/ResponseTiming Information on page load for all operations performedRequest (GET:http://sp2010dev-01:80/Pages/default.aspx) (1475.21 ms) BeginRequestHandler (0.07 ms)PostAuthenticateRequestHandler (0.06 ms)PostResolveRequestCacheHandler (1117.62 ms) GetWebPartPageContent (1114.78 ms) GetFileAndMetaInfo (1114.32 ms)EnsureListItemsData (157.10 ms)PortalSiteMapDataSource: Determining Starting Node (0.01 ms)Add WebParts (0.82 ms) Press Releases (0.59 ms)ToolBarMenuButton.CreateChildControls for PersonalActions (0.17 ms)ToolBarMenuButton.CreateChildControls for SiteActions (0.62 ms)SearchBoxEx.OnLoad (0.15 ms)SPPageStateControl:OnLoad (0.20 ms)Activate web part connections (0.13 ms)DataBindingDataFormWebPart (Press Releases) (141.31 ms) CBQ Query and Process Data (140.61 ms) GetSiteData (22.16 ms)GetSiteData#1 (25.84 ms)DataBindingDataFormWebPart () (0.45 ms)DataBinding DataFormWebPart ()#1 (0.29 ms)SPPageStateControl:OnPreRender (0.91 ms)Render Ribbon. (3.14 ms)Render WebPart Zone TopZone (0.39 ms) Render WebPart Press Releases (0.35 ms) Xslt Transform (0.12 ms)Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 44.
    Developer DashboardBasic Statisticsof the page load processTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 45.
    Developer DashboardInspection ofSQL QueriesTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 46.
    Developer DashboardInspection ofSPRequest ObjectsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 47.
  • 48.
  • 49.
    Web Parts EventsOffsetsMore Information on my bloghttp://snipurl.com/u10su
  • 50.
  • 51.
  • 52.
  • 53.
    http://snipurl.com/u10tf (Extensions)Twitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 54.
    PowerShellTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog:www.geoffvarosky.comCompany: www.grace-hunt.com
  • 55.
    PowerShellSharePoint 2010 ManagementConsoleCommand environment allows for scriptingLeverage the API directlyMore flexible, extensible, faster, and powerful than STSADMSnap-in for PowerShell for SharePoint AdministrationHundreds of cmdlets available OOTBCan tweak options that cannot be done in the UITwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 56.
    DemoUsing PowerShell toEnable the Developer DashboardTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 57.
    PowerShellCMDLETSGet-help <cmdlet>Get-help <cmdlet>-detailedGet-Command Get-SP*Get and SetGet retrieves informationSet changes informationTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 58.
    PowerShellFor More Information…WindowsPowerShell for SharePoint 2010 Administratorhttp://snipurl.com/u76gePowerShell CHM for SharePoint 2010http://snipurl.com/u76fyGlobal SharePoint Users Group Meeting 2/2Paul Schaeflein Talking about PWS in 2010! http://www.gspug.orgTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 59.
    SandboxedSolutionsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog:www.geoffvarosky.comCompany: www.grace-hunt.com
  • 60.
  • 61.
    Memory, CPU, SQL,Exceptions, Handles, Threads, etc.
  • 62.
    Protects Farms byrunning solutions within a separate process
  • 63.
    Restricted by .NETCode Access Security Policy
  • 64.
    Allows Site Adminsto deploy 3rd party Solutions without worrying about harming the farm
  • 65.
    Exposes a subsetof the Microsoft.SharePoint namespace
  • 66.
    Deployment in SiteCollection Solution Gallery
  • 67.
    Managed and Monitoredin Central Administration
  • 68.
    Visual Studio 2010Required to Build SolutionsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
    Site PagesTwitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84.
  • 85.
    Sandboxed SolutionsWhat isavailable from the Microsoft.SharePoint NamespaceMicrosoft.SharePointExceptSPSite constructor
  • 86.
  • 87.
  • 88.
  • 89.
  • 90.
  • 91.
  • 92.
  • 93.
  • 94.
  • 95.
  • 96.
  • 97.
    ToolPart objectTwitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 98.
    Sandboxed SolutionsIf youare running SharePoint on a DC, you will need to run the following PowerShell script to enable Sandboxed Solutions…$acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName$person = [System.Security.Principal.NTAccount]"Users" $access = [System.Security.AccessControl.RegistryRights]::FullControl$inheritance = [System.Security.AccessControl.InheritanceFlags]"ContainerInherit, ObjectInherit" $propagation = [System.Security.AccessControl.PropagationFlags]::None $type = [System.Security.AccessControl.AccessControlType]::Allow $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type) $acl.AddAccessRule($rule) Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl…and then make sure the User Code service is running in Central AdminTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 99.
    Sandboxed SolutionsAll SandboxedSolutions Follow a Point System
  • 100.
    Managed via QuotaTemplates in Central Admin
  • 101.
    Hit allocation, youget an error in the Web part
  • 102.
    ~1 day untilyou can use the web parts again
  • 103.
    Site admins canmonitor via Solutions galleryTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 104.
    Sandboxed SolutionsDefault ResourceMeasurementsAbnormalProcessTerminationCount: 1CPUExecutionTime: 3600 CriticalExceptionCount: 3600 InvocationCount: 100 PercentProcessorTime: 85 ProcessCPUCycles: 100000000000 ProcessHandleCount:10000 ProcessIOBytes: 10000000 ProcessThreadCount: 10000 ProcessVirtualBytes: 100000000 SharePointDatabaseQueryCount: 20 SharePointDatabaseQueryTime: 120 UnhandledExceptionCount: 50 UnresponsiveprocessCount: 2Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 105.
    Sandboxed SolutionsAdditional ResourcesSahilMalik’sBlog Series on Sandboxed Solutionshttp://snipurl.com/u79ibhttp://mssharepointdeveloper.comChannel 9http://snipurl.com/u895xSharePoint 2010 Sandboxed Solutions sessionPresented by SriniSistla4PM today in Room 2 (this room)Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 106.
    DemoSandboxed SolutionsTwitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 107.
    SharePoint APITwitter: @gvaroEmail:gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 108.
    APIClient Object ModelSimpleAPI to perform CRUD and Management of Data in SharePoint.NETMicrosoft.SharePoint.ClientMicrosoft.SharePoint.Client.RuntimeSilverlightMicrosoft.SharePoint.Client.SilverlightMicrosoft.SharePoint.Client.Silverlight.RuntimeJavaScriptSP.jsSP.Core.jsSP.Runtime.jsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 109.
    APIClient Object ModelOffersa familiar and consistent object model across multiple development platforms to interact with SharePoint.Utilizes JSON and XMLConnects to Client.svc, rather than Web Services for interactionCommands are batched automagically for performance considerationsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 110.
    APILINQ to SharePointEntityBased ProgrammingStrong Types and IntellisenseSupports List JoiningJoin Lists based on Lookup FieldsMultiple ListsTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 111.
    ResourcesMy Bloghttp://www.geoffvarosky.comMore informationhttp://mssharepointdeveloper.comSharePointDevelopment Wikihttp://www.sharepointdevwiki.comMicrosoft SharePoint 2010 SDKhttp://msdn.microsoft.com/en-us/library/ee557253(office.14).aspxTwitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 112.
    Q&AAsk The ExpertsSession @ 2:30PM in Room 2 (this room)Twitter: @gvaroEmail: gvarosky@grace-hunt.comBlog: www.geoffvarosky.comCompany: www.grace-hunt.com
  • 113.
    About MeGeoff VaroskyMCP, MCTSSenior Solutions Developer for Grace-Hunt, LLC.Company: http://www.grace-hunt.comBlog: http://www.geoffvarosky.comEmail: gvarosky@grace-hunt.comTwitter: @gvaro
  • 114.
    Speaking ScheduleSharePoint SaturdayBostonFebruary 27th, 2010, Waltham, MAWhat’s New for Developers in SharePoint 2010http://www.sharepointsaturday.org/bostonRegistration open as of Wednesday, January 27thWestern Massachusetts Microsoft Technology Users GroupApril 20th, 2010, Chicopee, MACreating Custom Actions within SharePointhttp://www.mstech.org