Download presentation
Presentation is loading. Please wait.
2
Scott Howlett & Jim Schwartz Imason inc Scott.Howlett@imason.com Jim.Schwartz@imason.com http://blogs.imason.com/scott.howlett http://blogs.imason.com/jim.schwartz Jean-Luc David & Christian Beauclair Microsoft Canada jeanlucd@microsoft.com christbe@microsoft.com blogs.msdn.com/cdndevs
3
Introduction Gadgets we’ve built Inside the code Challenges Gadget Tips and tricks Summary
4
Scott Howlett is a Principal with imason inc. in Toronto, Canada. Scott is also a Microsoft Regional Director. Jim Schwartz is an Internet Architect @ imason inc and has been involved in multiple Vista Gadget development projects. Jim is also a SharePoint specialist.
5
Workopolis gadget displays number of jobs and resumes for a particular industry in a particular city. Savings and event calendar mini-app gadget built for a large Canadian financial institution.
6
Demo: Watch the Gadgets in Action!
7
Flyouts Docked / undocked views Gadget timeouts Exception and Trace Logging Storing local gadget XML data Signed gadgets Debugging gadgets in Visual Studio 2005 Integrating 3 rd party controls
8
Lack of IntelliSense Debugging is tricky Gadgets aren’t meant to be full-blown applications Writing data access code can be tedious Gadgets don’t integrate easily with ASP.NET AJAX currently
9
10 Gadget Tips
10
10. Catch exceptions properly 9. Use caution with flyout timeouts 8. Flyout objects can be referenced from the gadget 7. Use Docked/undocked views 6. For overflow, use Div tags with scrollbars
11
5. Use caution when displaying dates 4. Do not store persistent data in gadget folder 3. Use a clean folder structure and naming convention 2. Sign your gadget with a digital id 1. Do not try to build too much functionality into a gadget
12
Gadgets should be mini-applications Gadgets can be tricky to debug Gadgets are still evolving
13
Gadget Links: Sidebar Gadget Development Overview: http://microsoftgadgets.com/Sidebar/DevelopmentOverview.aspx 10 Vista Sidebar Gadget Development Tips: http://blogs.imason.com/jim.schwartz/archive/2007/03/20/10782.aspx Gadget Corner: Sidebar Security: http://blogs.msdn.com/sidebar/archive/2006/08/31/733880.aspx Gadget Development Overview: http://msdn2.microsoft.com/en-us/library/ms723694.aspx Gadget Object Reference: http://msdn2.microsoft.com/en-us/library/aa965852.aspx Windows RSS Platform: FeedsManager Object: http://msdn2.microsoft.com/en-us/library/ms684749.aspx
14
Scott Howlett – Principal – imason inc. Scott.howlett@imason.com http://blogs.imason.com/scott.howlett Jim Schwartz – Internet Architect – imason inc. Jim.schwartz@imason.com http://blogs.imason.com/jim.schwartz 10 Vista Sidebar Gadget Development Tips: http://blogs.imason.com/jim.schwartz/archive/2007/03/20/10782.aspx
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.