Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer

Slides:



Advertisements
Similar presentations
Hilton Giesenow - The MOSS Show Overview of the SharePoint 2010 Developer Platform SESSION CODE: OFC308.
Advertisements

Faith Allington Program Manager Microsoft Corporation Session Code: WSV304.
Office 2010 Application Compatibility -Evolved developer platform with new services and extensibility -Connected cloud and on- premises services.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Dan Holme Director of Training & Consulting Intelliem SESSION CODE: OSP214.
Yaroslav Pentsarskyy Involved in SharePoint since 2003 SharePoint MVP (2009- Present) Blog: sharemuch.com.
Ted Pattison Author / Instructor Critical Path Training SESSION CODE: OSP315.
John R. Durant Senior Product Manager Microsoft Corporation SESSION CODE: OSP313.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
2010 Microsoft BI Conference
Integrating SharePoint 2010 with Office 2010
6/2/2018 3:37 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /6/2018 2:20 AM
Tech·Ed  North America /11/ :01 AM SESSION CODE: DEV405
2010 Microsoft BI Conference
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MDOP: Advanced Group Policy Management 4.0
Tech Ed North America /13/ :13 AM Required Slide
Tech·Ed North America /14/2018 7:13 PM
Excel Services Deployment and Administration
Overview of Social Computing in Microsoft SharePoint 2010
Integrating Microsoft SharePoint 2010 with Windows Azure
Implementing RESTful Services Using the Microsoft .NET Framework
Building the Perfect BI Semantic Model for Power View
TechEd /14/2018 6:26 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Tech·Ed North America /19/ :44 PM
Architecture of Master Data Services in Microsoft SQL Server 2008 R2
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
Advanced Dashboard Creation Using Microsoft SharePoint Server 2010
Jason Zander Unplugged
TechEd /4/2018 3:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Windows 7 Deployment en Masse
Best Practices: Creating OData Services using WCF Data Services
Tech·Ed North America /7/2018 2:51 PM
Team Foundation Server 2010 for Everyone
Introducing Microsoft SQL Server 2008 R2 Master Data Services
Authoring for Microsoft Silverlight 4 with Microsoft Expression Blend
Data Driven ASP.NET Web Forms Applications Deep Dive
Tech Ed North America /1/ :36 AM Required Slide
Tech Ed North America /1/2019 2:58 AM Required Slide
Intro to Workflow Services and Windows Server AppFabric
Tech·Ed North America /2/2019 4:47 PM
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Microsoft Visual Studio 2010 for Web Deployment
Tech·Ed North America /17/2019 1:47 AM
TechEd /18/2019 2:43 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft SharePoint Conference 2009 Jon Flanders
Visual Studio 2010 SharePoint Development Tools Overview
Integrating with Windows 8 Experiences
2010 Microsoft BI Conference
Tech·Ed North America /22/2019 7:40 PM
Building Silverlight Apps with RIA Services
Maxim Lukiyanov Program Manager Microsoft Corporation
Building Business Applications in LightSwitch
Developing and Managing SharePoint Solutions with Visual Studio 2012
Tech Ed North America /12/2019 6:45 AM Required Slide
Brandon Bray Principal Group Program Manager Microsoft Corporation
A Lap Around Internet Explorer 9 For Developers
2010 Microsoft BI Conference
Hack-proofing your Clients using Windows 7 Security!
How and When to Use MEF: Too Much Is Never Enough
Tech Ed North America /27/ :04 AM Required Slide
Developing with Microsoft SharePoint Server 2010 Sandboxed Solutions
Lap Around the Windows Azure Platform
Code First Development in Microsoft ADO.NET Entity Framework 4.1
5/17/ :57 AM OSP305 Developing Collaboration Solutions in the Cloud with Microsoft SharePoint Online Chris Mayo Snr. Technical Evangelist, Office.
Building BI applications using PowerPivot for Excel
Office 365 Development July 2014.
Tech·Ed North America /17/2019 4:14 PM
Tech Ed North America /6/2019 2:07 PM Required Slide
Presentation transcript:

Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Tech Ed North America 2010 6/30/2018 1:28 PM SESSION CODE: OSP316 Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Eric Shupps President BinaryWave © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

About Me Windows SharePoint Services MVP President, BinaryWave President, International SharePoint Professionals Association Member, Patterns & Practices Advisory Board (spg.codeplex.com) Web: www.binarywave.com Blog: www.sharepointcowboy.com Twitter: @eshupps Facebook: www.facebook.com/sharepointcowboy

Agenda SharePoint Basics Packaging and Deployment Common Artifacts Remote Applications Demo Visual Web Parts List Definitions Event Receivers Client Object Model

SharePoint Basics

.NET SharePoint Why SharePoint? Custom Out of Development the Box Data Storage Data Storage Out of the Box Presentation Presentation Security Security Clustering Clustering API’s API’s Office Integration Office Integration Features Features Custom

SharePoint Terminology Timer Job Web Part Layout Page Elevated Privileges Farm CAML Safe Control Site Column Content Type Declarative Workflow Feature STSADM Site Collection Application Page Persisted Object Site Definition Solution Package Scope Event Receiver Content Database List Definition Central Administration Publishing Page Web Application Theme ONET List View List Instance Feature Receiver Team Site Field Control Client Object Model

SharePoint Architecture Server Farm Databases Solutions Service Applications Alternate Access Monitoring Security Policies Web Application Providers File Types Throttling Managed Paths Service Connections Quotas Permissions Site Collection Web Parts Features Content Types Site Columns User Solutions Content Database Templates Web Features Lists Views Workflows Themes Layouts Alerts

Server Farms A collection of SharePoint role servers and a SQL database server Servers can perform one or more functions (web front end, search, application, etc.) Farm-level features are managed via Central Administration Custom code can be deployed at the Farm level and managed centrally Solution Packages allow custom code to be automatically deployed across the farm Server Farm Web Front Ends Application Database

Web Applications and Site Collections Web application = IIS Virtual Server Each web application may be assigned its own app pool Web applications may utilize multiple service applications Site collections reside within web applications Site collection functionality derived from underlying site definition Special site collection types include My Sites, Shared Services Provider, Publishing Web Portal HR Finance Marketing MySites Central Administration

Packaging and Deployment

Solution Packages WSP Mapped Folders Assemblies Web Parts Solution Packages are “bundles” of functionality deployed to the farm or site collection (sandbox) May contain one or more Features, assemblies, pages, controls, and other artifacts SharePoint framework handles installation and configuration of solution items automatically across entire farm Automated packaging and deployment in Visual Studio 2010

Sandbox Solutions Trusted solutions which run in isolated process Load balanced execution Uploaded to solution directory in site collection Administratively controlled via quotas Can be automatically disabled Subset of OM functionality Ability to use trusted proxy for restricted operations Full Object Model Subset Object Model MyWebPart.dll Proxy Runtime

Solution Feature Project Item Features XML Receiver Assembly Project Item Web Part Template Workflow A ‘Feature’ is a defined set of functionality encapsulated within a specific format Features are the basic building block of WSS v3 and MOSS development Features may be comprised of any combination of code, including web parts, workflows, and site definitions Features may be deployed manually or automatically on a local or global basis Features are heavily dependent on CAML

Common Artifacts

Web Parts Web Parts are a specific type of server control that inherit from System.Web.UI.WebPart Web Parts contain discreet functionality that is exposed to the user in the context of a Web Part Page Classic Web Parts do not have an IDE; Visual Web Parts host ASP.NET User Controls Web Parts execute in the context of the current user Web Parts may be deployed individually or in conjunction with other artifacts Page Form Web Part Controls Web Part Manager

Building a Visual Web Part Tech Ed North America 2010 6/30/2018 1:28 PM Building a Visual Web Part DEMO © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

List Elements, Types and Views Lists are virtual data repositories for unstructured content Fields defined by associated content types and user-defined columns Common lists types included OOTB Custom list types may be created in UI or code List data is stored in the content database associated with the site collection Maximum limit for list items is 30M+ Be aware of performance implications and throttling when storing/retrieving large amounts of list data Lists have associated views defined in UI or CAML Custom field types may be created programmatically

Event Receivers Event Receivers are handler assemblies that respond to events on specific objects (Webs, Lists, Features, etc.) Event receivers override built-in methods: Adding/Added Updating/Updated Activated/Deactivated Installing/Uninstalling Event Receivers have no UI or user feedback mechanism Event Receivers must run with Full Trust in the GAC Code Item Adding Content Database Code Item Added

Creating a List Definition and Attaching an Event Receiver Tech Ed North America 2010 6/30/2018 1:28 PM Creating a List Definition and Attaching an Event Receiver DEMO © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Relational Data LINQ to SharePoint CAML joins var q = from announcement in dc.announcements where announcement.Expires >= DateTime.Today select new { announcement.Title, announcement.Body }; <Joins>     <Join Type='LEFT ListAlias='List1'>         <Eq>             <FieldRef Name='Field1' RefType='Id' />             <FieldRef Name='ID' List='List1' />         </Eq>      </Join>     <Join Type='LEFT' ListAlias='List2'>         <Eq>             <FieldRef List='List1' Name='SomeFieldName' RefType='Id' />             <FieldRef List='List2' Name=’ID’ />          </Eq>     </Join> </Joins>

Workflow SharePoint Workflow inherits and builds upon Windows Workflow Foundation (WF) Simple workflows can be created in SharePoint Designer, advanced workflows require Visual Studio Two types of workflow – Sequential and State Machine User interaction provided via InfoPath forms or custom ASPX pages Workflows are tied directly to lists and list items Built-in history, tasks, and tracking mechanisms

Remote Applications

Web Services SharePoint Web Services provide remote access to a number of Object Model functions Web services are limited in scope to several primary functional areas, such as Farm, Site, Web, List, List Items, List Views, etc. Web services require a great deal of XML manipulation Many web service functions require a solid understanding of CAML Custom web services should be deployed as WCF solutions Can increase load on Web Front End Servers Deploy isolated WFE if used heavily

REST HTTP-based XML data transfer Stateless, cacheable, uniform Conforms to Atom Publishing Protocol Direct integration with SharePoint Services (Excel) and Lists Sample queries: http://myserver/_vti_bin/listdata.svc http://myserver/_vti_bin/ExcelRest.aspx/Docs/Documents/sampleWorkbook.xlsx/model/Ranges('Sheet1!A1|G5')

Client Object Model Subset of server OM functionality .NET, Silverlight, JavaScript Sync and Async processing Request throttling Batch object handling Browser JavaScript Controls Client Service Server Object Model JavaScript OM Proxy Proxy Managed OM Content Database Managed Controls Client Server

Building a Client Object Model Application Tech Ed North America 2010 6/30/2018 1:28 PM Building a Client Object Model Application DEMO © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Track Resources For More Information – http://sharepoint.microsoft.com Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Tech Ed North America 2010 6/30/2018 1:28 PM Track Resources For More Information – http://sharepoint.microsoft.com SharePoint Developer Center – http://msdn.microsoft.com/sharepoint SharePoint Tech Center – http://technet.microsoft.com/sharepoint Official SharePoint Team Blog – http://blogs.msdn.com/sharepoint © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Tech Ed North America 2010 6/30/2018 1:28 PM Related Content Breakout Sessions – See Conference Guide for full list of OSP Track Sessions Interactive Sessions – OSP Track has 10 Interactive Sessions – OSP01-INT – OSP10-INT Hands-on Labs – OSP01-HOL – OSP20-HOL Product Demo Stations – Yellow Section, OSP Office 2010, SharePoint 2010, Project Server 2010, Visio 2010 have kiosks and demos © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Resources Learning Required Slide www.microsoft.com/teched Tech Ed North America 2010 6/30/2018 1:28 PM Required Slide Resources Learning Sessions On-Demand & Community Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Complete an evaluation on CommNet and enter to win! Tech Ed North America 2010 6/30/2018 1:28 PM Required Slide Complete an evaluation on CommNet and enter to win! © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration   You can also register at the North America 2011 kiosk located at registration Join us in Atlanta next year

Play the Microsoft Office & SharePoint Track Tag Contest Tech·Ed  North America 2009 6/30/2018 1:28 PM Play the Microsoft Office & SharePoint Track Tag Contest Download the Microsoft Tag Reader Open the internet browser on your mobile phone and visit http://gettag.mobi Grand Prize (1) Xbox 360 Prize Package and Microsoft® Office 2010 Daily Prizes 40 copies of Microsoft® Office 2010 Come to the Expo Hall – Yellow Section OSP Info Desk for Official Rules & Collect Additional Tags from all OSP Track Sessions, Speakers and Expo Hall! © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Tech Ed North America 2010 6/30/2018 1:28 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Tech Ed North America 2010 6/30/2018 1:28 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.