Date post: | 01-Jan-2016 |
Category: |
Documents |
Upload: | jessica-phelps |
View: | 218 times |
Download: | 1 times |
Windows SharePoint Services “v3”: Windows SharePoint Services “v3”: Using ASP.NET 2.0 Technology To Using ASP.NET 2.0 Technology To Extend Pages, Sites, And Server Extend Pages, Sites, And Server FarmsFarms
Mike AmmerlaanMike AmmerlaanOFF405OFF405Program ManagerProgram ManagerMicrosoft CorporationMicrosoft Corporation
Office “12” : Server Office “12” : Server InvestmentsInvestmentsBetter empowerment, TCO and developer productivityBetter empowerment, TCO and developer productivityNext generation e-Next generation e-
mail, project mail, project management, management,
workflow, blog and workflow, blog and wiki supportwiki support
CollaborationCollaborationBusinessBusiness
IntelligenceIntelligence
PortalPortalEnhanced SharePoint Enhanced SharePoint Portal aggregation and Portal aggregation and personalizationpersonalization
Great relevanceGreat relevancewith rich people andwith rich people and
business data searchbusiness data search
Server-based Server-based forms and forms and
workflow with workflow with smart client and smart client and
browser interfacesbrowser interfaces
Server-based Server-based spreadsheets plus BI spreadsheets plus BI portals built on SQL portals built on SQL Server Analysis Server Analysis ServicesServices
Integrated document, Integrated document, records and Web records and Web content managementcontent management
BusinessBusinessProcesseProcesse
ss
Unified ASP.NET 2.0 Unified ASP.NET 2.0 workspace foundation for workspace foundation for
scalability and extensibilityscalability and extensibility
SearchSearchContentContentManagementManagement
WindowsWindowsSharePointSharePoint
ServicesServicesSite Provisioning, Storage, Site Provisioning, Storage, Security, Management, APIsSecurity, Management, APIs
WSS as PlatformWSS as PlatformPlatform PiecesPlatform Pieces
Data InfrastructureData Infrastructure
Page and Rendering ModelPage and Rendering Model
Object Model, Web Services, EventsObject Model, Web Services, Events
Document Management, WorkflowDocument Management, Workflow
Provisioning SystemProvisioning System
WSS Development WSS Development ScenariosScenarios
ComponentsComponents
Data Infrastructure (Documents and Data Infrastructure (Documents and Lists)Lists)
Branding and CustomizationBranding and Customization
Site SolutionsSite Solutions
Workflow and Business ProcessesWorkflow and Business Processes
Pages and ProvidersPages and Providers
AgendaAgenda
ASP.NET Integration Goals and ASP.NET Integration Goals and BenefitsBenefits
Web PartsWeb Parts
Master PagesMaster Pages
Forms and Field TypesForms and Field Types
AuthenticationAuthentication
Windows SharePoint Services Windows SharePoint Services “v2”“v2”
Windows SharePoint Services Windows SharePoint Services “v2”“v2”
ASP.NET IntegrationASP.NET Integration
WindowsWindowsSharePointSharePointServicesServices
““Version 2”Version 2”
WindowsWindowsSharePointSharePointServicesServices
““Version 3”Version 3”
ASP.NET 1.1ASP.NET 1.1ASP.NET 1.1ASP.NET 1.1
ASP.NET 2.0ASP.NET 2.0ASP.NET 2.0ASP.NET 2.0
Windows SharePoint Services “v3”Windows SharePoint Services “v3”Windows SharePoint Services “v3”Windows SharePoint Services “v3”
ASP.NET And SharePoint ASP.NET And SharePoint ServicesServices
GoalsGoalsBuild more directly on top of ASP.NETBuild more directly on top of ASP.NET
Less “SharePointisms”Less “SharePointisms”
Let more ASP.NET functionality Let more ASP.NET functionality
Move core functionality to ASP.NETMove core functionality to ASP.NET
ASP.NET IntegrationASP.NET Integration
HTTP
WebDav
FP RPC
SOAP
InternetExplorer
WindowExplorer
Office
Content DB
ASPX Parser
File SystemFrontPage
SharePoint
ASPX Rendering
IIS
ASP.NET
File Provider
Page Filter
Personalization
HTTP
WebDav
FP RPC
SOAP
InternetExplorer
WindowExplorer
Office ASPX Parser
PersonalizationContent DB
ASPX Parser
File System
FrontPage
SharePoint
ASPX Rendering
IIS
SharePointISAPI Filter
SharePointPage Handler
ASP.NET
ASP.NETISAPI Filter
WindowsWindowsSharePointSharePointServicesServices
““Version 2”Version 2”
WindowsWindowsSharePointSharePointServicesServices
““Version 3”Version 3”
Benefits Of IntegrationBenefits Of Integration
Makes it easier for developers to Makes it easier for developers to build build on topon top
Enable developers to use ASP.NET Enable developers to use ASP.NET services, like HttpApplication or services, like HttpApplication or HttpModulesHttpModules
Provide WSS facilities as standardized Provide WSS facilities as standardized services [SiteMap]services [SiteMap]
Consume more ASP.NET interfacesConsume more ASP.NET interfacesMembership, Role ProvidersMembership, Role Providers
More consistencyMore consistency
ASP.NET Features Shine ASP.NET Features Shine ThroughThrough
Support for .ascx controls in pagesSupport for .ascx controls in pages
Resource support for _layouts pages, Resource support for _layouts pages, etc.etc.
Compilation and safe code controlCompilation and safe code controlCustomized pages Customized pages cancan have code have code
Customized pages Customized pages can can be compiled for be compiled for performanceperformance
Building On IIS/ASP.NETBuilding On IIS/ASP.NETWeb ApplicationsWeb Applications
WSS now creates its own applicationWSS now creates its own applicationDoes not “take over” the default appDoes not “take over” the default app
No need for “exclusions”No need for “exclusions”
Unified application domainsUnified application domains
Centralized Web configuration Centralized Web configuration management object modelmanagement object model
AgendaAgenda
ASP.NET Integration Goals and ASP.NET Integration Goals and BenefitsBenefits
Web PartsWeb PartsMaster PagesMaster Pages
Forms and Field TypesForms and Field Types
AuthenticationAuthentication
Web Part ImprovementsWeb Part Improvements
Web Parts are now in ASP.NET 2.0Web Parts are now in ASP.NET 2.0
ASP.NET 2.0 Web Parts supportedASP.NET 2.0 Web Parts supported
Full Compatibility for WSS “v2” Web Full Compatibility for WSS “v2” Web PartsParts
WSS “v2” Web Part class rebased WSS “v2” Web Part class rebased on .NET 2.0 web parts on .NET 2.0 web parts MyV2WebPart -> MyV2WebPart -> Microsoft.SharePoint.WebPartPages.WebPart -> Microsoft.SharePoint.WebPartPages.WebPart -> Microsoft.Web.UI.WebControls.WebParts.WebPartMicrosoft.Web.UI.WebControls.WebParts.WebPart
Improved user interface for Web Improved user interface for Web PartsParts
Web Part SerializationWeb Part Serialization
XmlSerialization vs. TypeConvertersXmlSerialization vs. TypeConverters
.webpart files/.dwp files format .webpart files/.dwp files format supportsupport
Web parts based on WSS.WebPart Web parts based on WSS.WebPart can serialize either waycan serialize either way
ASP.NET 2.0 Web PartsASP.NET 2.0 Web Parts
ASP.NET Web Part ASP.NET Web Part ConnectionsConnections
Similar Connection TypesSimilar Connection TypesICell -> IField, IList -> ITableICell -> IField, IList -> ITable
Automatic translation from WSS v2 Automatic translation from WSS v2 typestypes
ASP.NET 2.0 adds support:ASP.NET 2.0 adds support:custom connection interfacescustom connection interfaces
custom transformers custom transformers
ASP.NET 2.0 ASP.NET 2.0 Web Part ConnectionsWeb Part Connections
Integration LimitationsIntegration Limitations
Cannot use ASP.NET 2.0 Web Part Cannot use ASP.NET 2.0 Web Part PagesPages; not directly compatible as-is; not directly compatible as-is
Pages must include SPWebPartZones Pages must include SPWebPartZones and SPWebPartManagerand SPWebPartManager
This is done to automatically handle This is done to automatically handle compatibility issuescompatibility issues
No No built-inbuilt-in support for treating .ASCX support for treating .ASCX files (user controls) as Web Partsfiles (user controls) as Web Parts
You can use .ASCXs in pages, thoughYou can use .ASCXs in pages, though
Wrappers for .ASCXs can and will be Wrappers for .ASCXs can and will be createdcreated
Which Web Part Technology Which Web Part Technology Should You Use?Should You Use?
Pros to ASP.NET 2.0 Web Parts:Pros to ASP.NET 2.0 Web Parts:Usable in WSS and in non-WSS ASP.NET Usable in WSS and in non-WSS ASP.NET 2.0 applications2.0 applications
Pros to SharePoint Web Parts:Pros to SharePoint Web Parts:Client side scripting & connectionsClient side scripting & connections
Web Part data cachingWeb Part data caching
WorkItem infrastructureWorkItem infrastructure
Where possible, build on base Where possible, build on base ASP.NET 2.0 Web Part modelASP.NET 2.0 Web Part model
Until Version 3…Until Version 3…
WSS v2 SP2 to be released by end of WSS v2 SP2 to be released by end of monthmonth
Supports .NET 2.0 assembliesSupports .NET 2.0 assemblies
Does Does notnot support ASP.NET 2.0 features support ASP.NET 2.0 features
WSS Only: SPS 2003 does not WSS Only: SPS 2003 does not support .NET 2.0 support .NET 2.0
You’d need to create a WSS “v2” You’d need to create a WSS “v2” Web Part wrapper for ASP.NET 2.0 Web Part wrapper for ASP.NET 2.0 Web PartsWeb Parts
Introducing “Son of Introducing “Son of SmartPart”SmartPart”
SmartPart version 2, a.k.a. “Son of SmartPart”SmartPart version 2, a.k.a. “Son of SmartPart”Community tool driven by Jan Tielens of U2UCommunity tool driven by Jan Tielens of U2U
Enables hosting ASP.NET 2.0 Web Parts and Web User Enables hosting ASP.NET 2.0 Web Parts and Web User Controls in WSS “v2” Web Part PagesControls in WSS “v2” Web Part Pages
(The original SmartPart allowed ASP.NET 1.1 user controls (The original SmartPart allowed ASP.NET 1.1 user controls to be contained in WSS/SPS Web Parts; it’s on to be contained in WSS/SPS Web Parts; it’s on www.gotdotnet.com)www.gotdotnet.com)
Features include:Features include:Connectable Web Parts / user controlsConnectable Web Parts / user controls
Properties supportProperties support
Custom Tool Part supportCustom Tool Part support
For More Information:For More Information:Technology Preview on www.smartpart.info Technology Preview on www.smartpart.info
Forthcoming WebcastForthcoming Webcast
AgendaAgenda
ASP.NET Integration Goals and ASP.NET Integration Goals and BenefitsBenefits
Web PartsWeb Parts
Master PagesMaster PagesForms and Field TypesForms and Field Types
AuthenticationAuthentication
Master PagesMaster Pages
Each page in WSS “points” to a master Each page in WSS “points” to a master pagepage
Each WSS site has a Master Page Gallery Each WSS site has a Master Page Gallery (MPG)(MPG)
Site metadata indicates where WSS looks Site metadata indicates where WSS looks for a master page for a master page
Content pages (e.g., default.aspx) default to the Content pages (e.g., default.aspx) default to the per-site MPGper-site MPG
Form pages (e.g., allitems.aspx) default to the Form pages (e.g., allitems.aspx) default to the per-site MPGper-site MPG
Application pages default to the _layouts Application pages default to the _layouts directorydirectory
Office “12” servers will alter site metadata Office “12” servers will alter site metadata to point to a common master page galleryto point to a common master page gallery
Master Page TokensMaster Page Tokens
One dynamic token:One dynamic token:~masterurl/default.master~masterurl/default.master
Maps to Spweb.MasterUrlMaps to Spweb.MasterUrl
Static TokensStatic Tokens~sitecollection/default.master~sitecollection/default.master
~site/default.master~site/default.master
Master Pages Master Pages in SharePoint Sitesin SharePoint Sites
AgendaAgenda
ASP.NET Integration Goals and ASP.NET Integration Goals and BenefitsBenefits
Web PartsWeb Parts
Master PagesMaster Pages
Forms and Field TypesForms and Field TypesAuthenticationAuthentication
Forms In SharePoint Services Forms In SharePoint Services “v3”“v3”
Forms now built with ASP.NET controlsForms now built with ASP.NET controlsControl layout specified by ASP.NET Control layout specified by ASP.NET templatestemplatesSpecify form templates in XML or replace Specify form templates in XML or replace out-of-box templatesout-of-box templatesSupport creation of new field types which Support creation of new field types which inherit from a base WSS typeinherit from a base WSS typeAlso:Also:
XSLT-based DataFormsXSLT-based DataFormsSPDataSourceSPDataSource
Use ASP.NET controls that work with data sourcesUse ASP.NET controls that work with data sources
LimitationsLimitationsViewsViews are still CAML-based are still CAML-based
CAML?CAML?
““Collaboration Application Markup Collaboration Application Markup Language”Language”
XML dialect for SharePoint list data, XML dialect for SharePoint list data, views, fields, queries, etc.views, fields, queries, etc.
Extremely performantExtremely performant
Support for more commonly-used Support for more commonly-used alternatives being added with each alternatives being added with each major release of WSSmajor release of WSS
ASP.NET Based FormsASP.NET Based Forms
Override out-of-box control templatesOverride out-of-box control templatesForm ControlForm Control
IteratorsIterators
Field ControlsField Controls
Specify form templatesSpecify form templatesBy list type in schema.xmlBy list type in schema.xml
By content type in feature.xmlBy content type in feature.xml
Custom Field TypesCustom Field Types
Extend out-of-the-box field typesExtend out-of-the-box field types
Field type XML definition Field type XML definition (fldtypes*.xml) & Base Class(fldtypes*.xml) & Base Class
Defines field propertiesDefines field propertiesExample: “Min/Max” value for a number fieldExample: “Min/Max” value for a number field
Auto generates field UI to collect these Auto generates field UI to collect these propertiesproperties
Provide a value objectProvide a value object
Provide validationProvide validation
Extensible Field RenderingExtensible Field Rendering
ViewsViewsMust use CAML for view renderingMust use CAML for view rendering
Field’s base type is the defaultField’s base type is the default
Share field display behavior with viewsShare field display behavior with views
FormsFormsShare the CAML view renderingShare the CAML view rendering
Define a custom display form renderingDefine a custom display form rendering
Forms And Field TypesForms And Field Types
AgendaAgenda
ASP.NET Integration Goals and ASP.NET Integration Goals and BenefitsBenefits
Web PartsWeb Parts
Master PagesMaster Pages
Forms and Field TypesForms and Field Types
AuthenticationAuthentication
AuthenticationAuthentication
Authentication Authentication Identifies the end userIdentifies the end user
Identifies the user’s group membershipIdentifies the user’s group membership
WindowsWindowsBasic, Digest, NTLM, KerberosBasic, Digest, NTLM, Kerberos
ASP.NET (requires web.config edits)ASP.NET (requires web.config edits)Forms (locally hosted login form)Forms (locally hosted login form)
Web SSO (remotely hosted login form)Web SSO (remotely hosted login form)ADFSADFS
Third-partiesThird-parties
Authentication By Smart Authentication By Smart ClientsClients
A truly clever smart client couldA truly clever smart client couldRecognize a HTTP redirect requestRecognize a HTTP redirect request
Open a browser window for the login formOpen a browser window for the login form
Submit the form content back to the serverSubmit the form content back to the server
ButButIt can’t confidently know that the redirect It can’t confidently know that the redirect request is for a logon form URLrequest is for a logon form URL
ThereforeThereforeUsers must first visit the site with a browserUsers must first visit the site with a browser
Server must issue a (short-lived) persistent Server must issue a (short-lived) persistent cookiecookie
This affects all Office System client This affects all Office System client applicationsapplications
Authentication And ZonesAuthentication And Zones
Zone = Virtual ServerZone = Virtual ServerE.g. intranet and extranet E.g. intranet and extranet
One authentication provider per zoneOne authentication provider per zone
Same content can support multiple Same content can support multiple authentication providersauthentication providers
ACLs will have a mix of users from ACLs will have a mix of users from different authentication systemsdifferent authentication systems
RecapRecap
Better ASP.NET IntegrationBetter ASP.NET Integration
ASP.NET Web Parts work in WSS “v3”ASP.NET Web Parts work in WSS “v3”
Master page functionality & tokensMaster page functionality & tokens
Form templatesForm templates
Extensible field typesExtensible field types
Forms authenticationForms authentication
Community ResourcesCommunity ResourcesAt PDCAt PDC
SessionsSessionsOFF405OFF405 (Wed 11:00, Thu 14:15) Windows SharePoint Services: (Wed 11:00, Thu 14:15) Windows SharePoint Services: Using ASP.NET 2.0 Technology to Extend Pages, Sites, and Server Using ASP.NET 2.0 Technology to Extend Pages, Sites, and Server Farms Farms OFF308OFF308 (Wed 13:45) Windows SharePoint Services 'v3': Creating (Wed 13:45) Windows SharePoint Services 'v3': Creating and Defining Custom Templates, Sites, Features, and Solutions and Defining Custom Templates, Sites, Features, and Solutions OFF409OFF409 (Wed 15:15) Windows SharePoint Services: Advancements (Wed 15:15) Windows SharePoint Services: Advancements in Document, Content, and Data Storage in Document, Content, and Data Storage OFF310OFF310 (Wed 17:00) Windows SharePoint Services: Developing (Wed 17:00) Windows SharePoint Services: Developing Collaboration and Tracking ApplicationsCollaboration and Tracking ApplicationsOFF313OFF313 (Thu 10:00) Web Content Management Application (Thu 10:00) Web Content Management Application Development and Engine Extensibility Development and Engine Extensibility OFF321OFF321 (Thu 17:15) Surfacing Your Application's Line-of-Business (Thu 17:15) Surfacing Your Application's Line-of-Business Data and Actions within Enterprise Portals Data and Actions within Enterprise Portals
Labs:Labs:OFFHOL13 OFFHOL13 – What’s New in WSS “v3” Feature Walkthrough– What’s New in WSS “v3” Feature WalkthroughOFFHOL14 OFFHOL14 – ASP.NET 2.0 Interoperability with WSS “v3” (Web Parts – ASP.NET 2.0 Interoperability with WSS “v3” (Web Parts and Master Pages)and Master Pages)
Office Experts LoungeOffice Experts LoungeAfter PDCAfter PDC
MSDN dev centers:MSDN dev centers:http://msdn.microsoft.com/office/http://msdn.microsoft.com/office/http://msdn.microsoft.com/sharepoint/http://msdn.microsoft.com/sharepoint/
© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.