Your SlideShare is downloading. ×

BIWUG 8/02/2006 Unleash the son of the smart part

293

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
293
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 06/12/11 14:07
  • ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 06/12/11 14:07
  • ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 06/12/11 14:07
  • ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 06/12/11 14:07
  • ©2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary. 06/12/11 14:07
  • Transcript

    • 1. Unleash of the ‘Son of the SmartPart’ Patrick Tisseghem [email_address] Managing Partner U2U Jan Tielens [email_address] Trainer 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
        • You’d need to create a WSS “v2” Web Part wrapper for ASP.NET 2.0 Web Parts
      • Unless…you 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 -> Microsoft.SharePoint.WebPartPages.WebPart -> Microsoft.Web.UI.WebControls.WebParts.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’

    ×