Gadgets are mini applications with a variety of possible uses. They can connect to web services to deliver business data, weather information, news updates, traffic maps, Internet radio streams, and even slide shows of online photo albums. Gadgets can also integrate with other programs to provide streamlined interaction. In this post, I’ll show you how to create a Gadget using WPF for Vista and Windows 7 sidebar.
My sample gadget shows the respective .NET type for every SQL Server and the Db method accessor for the type. The gadget is created as an xbap application. The post build script installs the gadget when the application is build.
The gadget.xml file included as part of the project contains the details of the gadget
xml version="1.0" encoding="utf-8" ?>
<name>DbType to .NET mappername>
<base type="HTML" apiVersion="1.0.0" src="Main.htm" />
<platform minPlatformVersion="1.0" />