Download presentation
Presentation is loading. Please wait.
Published byPatrick Richardson Modified over 9 years ago
1
WSS “v3” for Developers Jan Tielens Blog: http://weblogs.asp.net/janhttp://weblogs.asp.net/jan Email: jan@u2u.net.NET Architect & Trainer U2U, Brussels
2
Agenda WSS v2 versus WSS v3 Architecture WSS v3 Storage Enhancements WSS v3 Customization Enhancements What’s New for Developers in WSS v3
3
WSS v3 Architecture Software Requirements Windows Server 2003.NET Framework 2.0 IIS 6.0 (worker process isolation mode) Windows Workflow Foundation (WF) SQL Server 2000 (SP3) or SQL Server 2005 Better ASP.NET 2.0 citizen than WSS v2 No more ISAPI filter WSS extensions now based on HttpModules and HttpHandlers
4
WSS v2 versus WSS v3 WSS v2 IIS WSS v2 ISAPI Filter ASP.NET Handler ASP.NET WSS ISAPI Extension WSS Unmanaged Code ConfigContent Request.aspx.asmx Excluded PathsIncluded Paths WSS v3 IIS ASP.NET HTTP Modules Config Content Request ASP.NET HTTP Handlers WSS HTTP Modules WSS HTTP Handlers
5
What are the benefits? Inline now with ASP.NET 2.0 best practices for extensibility Virtual path provider allows for clean access to the SharePoint pages stored in the database New Web Part infrastructure Branding and customization based on ASP.NET 2.0 Master Pages and Provider Model Forms-based authentication Navigation controls
6
Architectural Enhancements
7
WSS v3 Storage General Platform Enhancements Top Requests Recycle Bin Security Trimming Item and Document Level Security Forced Check-Out Mobile Support
8
Top Requests for List and Document Library Enhancements
9
WSS v3 Storage List and Document Enhancements New Field Types Multi-value lookups, append-only, person Column Indexing and Cross-Site Queries Versioning Major and minor versions Version pruning Versioning in lists RSS Feed Support Off-line support in Outlook ’12’
10
More Enhancements
11
WSS v3 Storage Extensibility Enhancements Shared Columns Content Types List and libraries can now store more than one type of item or document Every type can have its own metadata, workflow, event handlers and policies Field Types are extensible now
12
Extensibility Scenarios
13
Windows WorkFlow Foundation Single workflow technology for Windows Extensible framework & toolset Base for Microsoft products and customer solutions Transform workflow from niche to mainstream paradigm Exposed to developers via WinFX
14
Workflow Basics Custom Workflow consists out of one or more activities Activity Libraries WF Base Activity Library O12 Activity Library Custom Libraries Activity is a class Events/Properties Methods called by WF Runtime engine WF created using Visual Studio.NET Deployed as.NET assembly
15
WSS v3 and WF WSS supports workflows on items and documents Workflows associated with list, document library or content type Workflow started and completed by user actions Workflows are managed using WSS task lists Workflow-related task lists use standard WSS task list schema Workflow activities create and update task items as required Workflows are tracked through history tables Allows users to see workflow progress
16
Creating Custom Workflows SharePoint Designer for corporate Web designers Activities Re-use OOB/deployed activities Forms Autogenerated Forms -ASPX Deployment Workflow authored live against server Runtime compilation Development Model Wizard-based workflow designer Visual Studio Workflow Designer for professional developers Activities Re-use OOB/deployed activities Can author new activities Forms Designed Forms -InfoPath -ASPX Deployment Solutions package generated Box administrator installable Development Model Visual workflow designer
17
Creating a custom workflow with the SharePoint Designer
18
WSS v3 Master Pages Master Pages are a primary feature in ASP.NET 2.0 Provides effective template solution for pages within site Content page reuses chrome from master page Content page fill in placeholders defined in master page WSS v3 embraces ASP.NET master pages WSS sites such as Team Site built using a standard master page Quick and easy to change look and feel of entire site Editing master page can be done with SharePoint Site Designer How do master pages work in WSS? Each site page in WSS site “points” to a master page Each WSS site has a Master Page Gallery (MPG)
19
Master Pages and WSS v3
20
WSS v3 Features Framework Innovation to enhance modular provisioning Group logical elements into scenario-driven “features” Features can be add to and reused across site definitions New features can be activated in existing site to add functionality Features scoped at web, site, web application, farm
21
‘Light-Up’ with Features
22
What’s New for Developers? ASP.NET 2.0 Web Parts Event Handlers
23
Web Parts in WSS v3 WSS V2 Runtime WSS Web Parts WSS V3 Runtime ASP.NET 2.0 Runtime ASP Web Parts Hybrid Web Parts WSS Web Parts
24
ASP.NET 2.0 Web Parts in WSS v3 Web Parts derive from WebPart base class All Web Part inherit common functionally using System; using System.Web.UI; using System.Web.UI.WebControls.WebParts; namespace LitwareWebParts { public class HelloWorldWebPart : WebPart { protected override void OnPreRender(EventArgs e) { this.Title = "Litware Project Revenue"; } protected override void RenderContents(HtmlTextWriter writer) { writer.Write("Hello, world"); }
25
ASP.NET 2.0 Web Parts in WSS v3
26
WSS v3 Event Handlers Events architecture significantly improved Events supported for lists, document libraries and content types Events supported for changes to list schema as well as items Events supported at site collection and site level Events supported for incoming email messages Support for synchronous events and asynchronous events Synchronous events occur before the fact and are cancel- able How do you get events to work Create custom class inheriting a WSS receiver class e.g. SPItemEventReceiver or SPWebEventReciever Compile class into assembly DLL and install in GAC Add event configuration by installing and activating a feature
27
WSS v3 Event Handlers
28
Summary WSS v3 as a solutions framework Particularly suited for building scalable Web-enabled applications WSS "V3" provides out-of-box collaboration solutions WSS "V3" provides platform for Office servers technology Operating System Services Database Search Workflow ASP.NET ( Web Parts, Personalization, Master Pages, Provider Model for navigation, security, etc. ) WSS "V3" Core Workspace Services Storage Repository Metadata Versioning Backup Security Rights/Roles Pluggable Auth Per Item Rights Trimming Mgmt Admin UX Delegation Provisioning Monitoring Topology Config Mgmt Farm Services Feature Policy Extranet Site Model Rendering Templates Navigation Visual Blueprint APIs Fields/Forms OM and SOAP Events Deployment CollaborationECM Portal Search BPM BI Project Office 12 Solutions Built On WSS V3
29
My weblog: http://weblogs.asp.net/janhttp://weblogs.asp.net/jan Sign up for Beta2: http://www.microsoft.com/office/previe w/default.mspx http://www.microsoft.com/office/previe w/default.mspx
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.