Unleash of the Son of the SmartPart - PowerPoint PPT Presentation

1 / 12
About This Presentation
Title:

Unleash of the Son of the SmartPart

Description:

Generic Web Part wrapper around user controls ... Enables hosting ASP.NET 2.0 Web Parts and Web User Controls in WSS 'v2' Web Part ... – PowerPoint PPT presentation

Number of Views:51
Avg rating:3.0/5.0
Slides: 13
Provided by: Pro84
Category:
Tags: smartpart | asp | hosting | net | son | unleash | web

less

Transcript and Presenter's Notes

Title: Unleash of the Son of the SmartPart


1
Unleash of the Son of the SmartPart
Jan Tielens jan_at_u2u.be Trainer U2U
  • Patrick Tisseghempatrick_at_u2u.be
  • Managing Partner
  • U2U

2
Why the SmartPart?
  • SharePoint Web Part development can be difficult
  • No designer tools for the UI of the Web Part
  • UI must be programmatically created at run-time
  • ASP.NET developers love the concept of user
    controls
  • SmartPart brings user controls into SharePoint
  • Generic Web Part wrapper around user controls
  • Exposes SharePoint access points to user control
    internal coding
  • Community effort coordinated by Jan
  • http//www.smartpart.info
  • Get started with MSDN.BE article Building Web
    Parts the Smart Way 
  • Currently version 1.1.0.0

3
SmartPart in WSS 2003
  • Patrick Tisseghem

4
ASP.NET 2.0 Web Parts
  • Provide building blocks for dynamic web sites
  • Can be used in any kind of Web application
  • Portal, content, intranet, internet
  • Fully integrated into on ASP.NET control model
  • Every ASP.NET server side control can be a Web
    Part
  • Connections become easier, more powerful
  • Full development flexibility and extensibility
  • Leverage core ASP.NET Services
  • Personalization, Role Management, Membership,
    Profile.. etc

5
ASP.NET 2.0 Web Parts
  • Jan Tielens

6
WSS Service Pack 2
  • Brings Windows SharePoint Services 2003 to the
    new .NET 2.0 Framework
  • Supports .NET 2.0 assemblies
  • Does not support ASP.NET 2.0 features
  • WSS Only SPS 2003 does not support .NET 2.0
  • Consequences for Web Part developers
  • Existing 1.1 Web Parts will still work
  • No direct way to leverage 2.0 Web Parts in your
    team sites not possible to use the Generic
    WebPart
  • Youd need to create a WSS v2 Web Part wrapper
    for ASP.NET 2.0 Web Parts
  • Unlessyou use the Son of the SmartPart

7
The Son of the SmartPart
8
The Son of the SmartPart
  • SmartPart version 2, a.k.a. Son of SmartPart
  • Enables hosting ASP.NET 2.0 Web Parts and Web
    User Controls in WSS v2 Web Part Pages
  • Features include
  • Connectable Web Parts / user controls
  • Properties support
  • Custom Tool Part support

9
The Son of the SmartPart
  • Jan Tielens

10
SharePoint v3 Web Parts
  • ASP.NET 2.0 Web Parts supported
  • Full Compatibility for WSS v2 Web Parts
  • WSS v2 Web Part class rebased on .NET 2.0 web
    parts MyV2WebPart -gt Microsoft.SharePoint.WebPar
    tPages.WebPart -gt Microsoft.Web.UI.WebControls.Web
    Parts.WebPart
  • Improved user interface for Web Parts

11
Integration Limitations
  • Cannot use ASP.NET 2.0 Web Part Pages not
    directly compatible as-is
  • Pages must include SPWebPartZones and
    SPWebPartManager
  • This is done to automatically handle
    compatibility issues
  • No built-in support for treating .ASCX files
    (user controls) as Web Parts
  • You can use .ASCXs in pages, though
  • Wrappers for .ASCXs can and will be created

12
The Return of the SmartPart
Write a Comment
User Comments (0)
About PowerShow.com