Last week, I delivered a presentation on Live Gadgets as part of the ongoing Live for You! Webcast Series. Many thanks to those of you who were able to attend. My goal was to show you just how easy it is to build gadgets as part of the Live platform.
During the presentation, I showed you how classes like Module, Web.Bindings, and Web.Network provide much of the infrastructure necessary to build plumbing for your gadgets. These are other classes are provided as part of the Live platform.
Finally, I showed you how to build these gadgets using a local Web server like IIS. As it turns out, building these gadgets on the local machine turns out to be incredibly easy. Establishing your development environment involves four (4) key configuration settings:
1. Trusted Sites
Trusted Sites refers to your browser’s configuration. If you’re using Internet Explorer, make sure to add *.live.com and *.start.com to the Trusted Sites zone. Doing so will allow you to cross-reference gadgets from your local machine and from the Live platform.
While developing these gadgets, you’ll want to enable cross-domain access inside of Internet Explorer. By default, this configuration setting is disabled to help thwart cross-site scripting attacks.
Caching in Internet Explorer is enabled by default. You’ll want to make sure to disable this option in order to pull down the latest & greatest version of your gadget.
4. Script Debugging
Your one-stop-shop for everything related to Live Gadgets can be found at microsoftgadgets.com. (You should mark this as a favourite in Internet Explorer.)
In the meantime, if you have any questions about building gadgets for the Live platform, please feel free to add a comment!