Post on 19-Dec-2015
transcript
DEV392:Extending SharePoint Products And TechnologiesThrough Web Parts And ASP.NET
Clint Covington, Program Manager
Data And Developer Services - Office
Microsoft Corporation
SharePoint InvestmentsSmart Connected Workspaces
Consistent rich experience – users, developers, and IT
Smart connections – people, teams, topics, divisions, etc.
Flexible deployment – bottoms-up, centralized, hybrid on large scale farms
IndividualIndividual
EnterprisEnterprisee
DivisionDivision
TeamTeam
SharePoint Investments
Team Collaboration Team Collaboration SolutionSolution well beyond well beyond file serverfile server
Scalable Scalable Workspace Workspace PlatformPlatform
SharePoint ServicesSharePoint Services CollaborationCollaboration Document Document
CollaborationCollaboration Flexible ListsFlexible Lists Web Part PagesWeb Part Pages PersonalizationPersonalization Life Cycle Life Cycle
ManagementManagement Scale-Up/Out Scale-Up/Out
FoundationFoundation
Enterprise Portal Enterprise Portal SolutionSolution built on top built on top of Windows of Windows SharePoint ServicesSharePoint Services
Hub and AggregatorHub and Aggregator for SharePoint for SharePoint personal, team and personal, team and portal sitesportal sites
SharePoint Portal ServerSharePoint Portal Server News and LinksNews and Links Site Directory and Site Directory and
ConnectionsConnections Personal SitesPersonal Sites Audience TargetingAudience Targeting Index, Search Index, Search
and Alertsand Alerts Single Sign-OnSingle Sign-On BizTalk IntegrationBizTalk Integration
ASP.NET
A Developer’s Perspective…
Windows SharePoint Services is great out of the box
No code required for immediate valueWindows SharePoint Services will ship after Windows Server 2003 using Windows Update
Rich extensibility for custom solutionsManaged server object modelRemote access through Web ServicesWeb Part infrastructure for extending UI
Leverages ASP.NET platform advancements in the future
Web Part Infrastructure
Personalize your page in the browser to simplify and focus on the information most relevant to you
Page and site authors build custom solutions using Web Parts in Microsoft Office FrontPage 2003
Microsoft Visual Studio .NET developers extend SharePoint Products and Technologies by encapsulating web services and enterprise data in ASP.NET server controls
Extending UI With Web Parts
Building blocks for modular web pagesProvides connection to information + apps
Built by developersASP.NET Server Controls
Added to pages by site ownersEasy configuration
Personalized by end usersRich and custom client experience
Web PartsAnnouncementsAnnouncements MembersMembers
EventsEvents
ContactsContacts LinksLinks
Web Parts And Developers
ASP.NET Server Control basedWeb Part is a ASP.NET server control
Full power of Visual Studio as a premier development environment
Project templates on MSDN
Intelli-sense, debugging, source control, etc.
Deployed as an assemblyReusable across thousands of pages and sites
Admins control which Web Parts are available
End users decide where Web Parts are used
Building The ‘Hello Building The ‘Hello World’ Web PartWorld’ Web Part
Web Parts Leverage The .NET Framework
100% managed code
Multiple language support (C#, VB.NET, etc.)
Web Services
Code Access Security
ASP.NET server controls
Control Composition
Web Parts can be easily built using other ASP.NET Controls
Re-use functionality and services
No need to write everything from scratch
Example:“Orders Report” Web Part could use a DataGrid that encapsulated generating Html UI and data binding to and XML Web Service
Building An Orders Building An Orders Report Web PartReport Web Part
Web Part Infrastructure
Portable Web Part InstancesGalleries enable centralized instance deployment
Share Web Part instances through DWPs
End user personalization Extensible UI for layout and properties through tool parts and menus
Shared and Personal properties stored as binary XML
Connecting Parts Together
Parts sharing data through eventsImagine audio signals
Consumer and provider of data
Client and server interfacesIList
IRow
ICell
IFilter
IParams
Transformers
Extending The Web Extending The Web Part InfrastructurePart Infrastructure
Deployment And Security
Administrator has to install the assembly
Only registered web custom controls will run in SharePoint pages
Inline server script in the page will not execute
Code behind in pages can be made to work
Utilize all the goodness of ASP.NET Code Access Security (CAS)
Other Framework Features
Run-time filter interface enables the ability hide Web Parts based on user context
Methods for caching rendered outputASP.NET web server memory caching
Database caching
Web.Config setting for caching mode
Microsoft Office SharePoint Portal Server 2003
Built on Windows SharePoint ServicesThe same programming model
Connects users, teams and knowledge across business processes
Search and topics
Alerts
User profiling
Built-in enterprise Web Parts
Single Sign-On Support
Summary
SharePoint Products and Technologies is built for extensible .NET development
Lots of opportunity for rich customization through Web Parts
Using the .Net platform allows us to leverage rich features
Scales out and up for large server farms
SDK, white papers and code samples available at:http://msdn.microsoft.com/SharePoint
Community Resources
Community Resourceshttp://www.microsoft.com/communities/default.mspx
Most Valuable Professional (MVP)http://www.mvp.support.microsoft.com/
NewsgroupsConverse online with Microsoft Newsgroups, including Worldwidehttp://www.microsoft.com/communities/newsgroups/default.mspx
User GroupsMeet and learn with your peershttp://www.microsoft.com/communities/usergroups/default.mspx
evaluationsevaluations
© 2003 Microsoft Corporation. All rights reserved.© 2003 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.