0
Unleash of the  ‘Son of the SmartPart’ Patrick Tisseghem [email_address] Managing Partner U2U Jan Tielens [email_address] ...
Why the SmartPart? <ul><li>SharePoint Web Part development can be difficult </li></ul><ul><ul><li>No designer tools for th...
SmartPart in WSS 2003 Patrick Tisseghem
ASP.NET 2.0 Web Parts <ul><li>Provide building blocks for dynamic web sites </li></ul><ul><li>Can be used in any kind of W...
ASP.NET 2.0 Web Parts Jan Tielens
WSS Service Pack 2 <ul><li>Brings Windows SharePoint Services 2003 to the new .NET 2.0 Framework </li></ul><ul><ul><li>Sup...
‘ The Son of the SmartPart’
The Son of the SmartPart <ul><li>SmartPart version 2, a.k.a. “Son of SmartPart” </li></ul><ul><li>Enables hosting ASP.NET ...
‘ The Son of the SmartPart’ Jan Tielens
SharePoint ‘v3’ Web Parts  <ul><li>ASP.NET 2.0 Web Parts supported </li></ul><ul><li>Full Compatibility for WSS “v2” Web P...
Integration Limitations <ul><li>Cannot use ASP.NET 2.0 Web Part  Pages ; not directly compatible as-is </li></ul><ul><ul><...
‘ The Return of the SmartPart’
Upcoming SlideShare
Loading in...5
×

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

307

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
307
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

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 of "BIWUG 8/02/2006 Unleash the son of the smart part"

    1. 1. Unleash of the ‘Son of the SmartPart’ Patrick Tisseghem [email_address] Managing Partner U2U Jan Tielens [email_address] Trainer U2U
    2. 2. Why the SmartPart? <ul><li>SharePoint Web Part development can be difficult </li></ul><ul><ul><li>No designer tools for the UI of the Web Part </li></ul></ul><ul><ul><li>UI must be programmatically created at run-time </li></ul></ul><ul><li>ASP.NET developers love the concept of user controls </li></ul><ul><li>SmartPart brings user controls into SharePoint </li></ul><ul><ul><li>Generic Web Part wrapper around user controls </li></ul></ul><ul><ul><li>Exposes SharePoint access points to user control internal coding </li></ul></ul><ul><li>Community effort coordinated by Jan </li></ul><ul><li>http://www.smartpart.info </li></ul><ul><li>Get started with MSDN.BE article ‘Building Web Parts the Smart Way ’ </li></ul><ul><li>Currently version 1.1.0.0 </li></ul>
    3. 3. SmartPart in WSS 2003 Patrick Tisseghem
    4. 4. ASP.NET 2.0 Web Parts <ul><li>Provide building blocks for dynamic web sites </li></ul><ul><li>Can be used in any kind of Web application </li></ul><ul><ul><li>Portal, content, intranet, internet </li></ul></ul><ul><li>Fully integrated into on ASP.NET control model </li></ul><ul><ul><li>Every ASP.NET server side control can be a Web Part </li></ul></ul><ul><li>Connections become easier, more powerful </li></ul><ul><li>Full development flexibility and extensibility </li></ul><ul><li>Leverage core ASP.NET Services </li></ul><ul><ul><li>Personalization, Role Management, Membership, Profile.. etc </li></ul></ul>
    5. 5. ASP.NET 2.0 Web Parts Jan Tielens
    6. 6. WSS Service Pack 2 <ul><li>Brings Windows SharePoint Services 2003 to the new .NET 2.0 Framework </li></ul><ul><ul><li>Supports .NET 2.0 assemblies </li></ul></ul><ul><ul><li>Does not support ASP.NET 2.0 features </li></ul></ul><ul><ul><li>WSS Only: SPS 2003 does not support .NET 2.0 </li></ul></ul><ul><li>Consequences for Web Part developers </li></ul><ul><ul><li>Existing 1.1 Web Parts will still work </li></ul></ul><ul><ul><li>No direct way to leverage 2.0 Web Parts in your team sites – not possible to use the Generic WebPart </li></ul></ul><ul><ul><li>You’d need to create a WSS “v2” Web Part wrapper for ASP.NET 2.0 Web Parts </li></ul></ul><ul><li>Unless…you use the ‘Son of the SmartPart’ </li></ul>
    7. 7. ‘ The Son of the SmartPart’
    8. 8. The Son of the SmartPart <ul><li>SmartPart version 2, a.k.a. “Son of SmartPart” </li></ul><ul><li>Enables hosting ASP.NET 2.0 Web Parts and Web User Controls in WSS “v2” Web Part Pages </li></ul><ul><li>Features include: </li></ul><ul><ul><li>Connectable Web Parts / user controls </li></ul></ul><ul><ul><li>Properties support </li></ul></ul><ul><ul><li>Custom Tool Part support </li></ul></ul>
    9. 9. ‘ The Son of the SmartPart’ Jan Tielens
    10. 10. SharePoint ‘v3’ Web Parts <ul><li>ASP.NET 2.0 Web Parts supported </li></ul><ul><li>Full Compatibility for WSS “v2” Web Parts </li></ul><ul><ul><li>WSS “v2” Web Part class rebased on .NET 2.0 web parts MyV2WebPart -> Microsoft.SharePoint.WebPartPages.WebPart -> Microsoft.Web.UI.WebControls.WebParts.WebPart </li></ul></ul><ul><li>Improved user interface for Web Parts </li></ul>
    11. 11. Integration Limitations <ul><li>Cannot use ASP.NET 2.0 Web Part Pages ; not directly compatible as-is </li></ul><ul><ul><li>Pages must include SPWebPartZones and SPWebPartManager </li></ul></ul><ul><ul><ul><li>This is done to automatically handle compatibility issues </li></ul></ul></ul><ul><li>No built-in support for treating .ASCX files (user controls) as Web Parts </li></ul><ul><ul><li>You can use .ASCXs in pages, though </li></ul></ul><ul><ul><li>Wrappers for .ASCXs can and will be created </li></ul></ul>
    12. 12. ‘ The Return of the SmartPart’
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×