<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>DotNet Gator</title>
	<atom:link href="http://blog.dotnetgator.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dotnetgator.com</link>
	<description>.Net and Windows Development from a Florida Gator&#039;s Point of View</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:40:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.dotnetgator.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>DotNet Gator</title>
		<link>http://blog.dotnetgator.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.dotnetgator.com/osd.xml" title="DotNet Gator" />
	<atom:link rel='hub' href='http://blog.dotnetgator.com/?pushpress=hub'/>
		<item>
		<title>NuGet Nugget: File-System Based Package Stores</title>
		<link>http://blog.dotnetgator.com/2011/12/16/nuget-nuggetfile-system-based-package-stores/</link>
		<comments>http://blog.dotnetgator.com/2011/12/16/nuget-nuggetfile-system-based-package-stores/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 02:55:40 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[NuGet]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/?p=333</guid>
		<description><![CDATA[A recent network “hiccup” posed a bit of a challenge to a demo that was built around showing how the Windows Azure Toolkit for Windows Phone (WATWP) NuGet packages make it easy to add Windows Azure cloud features to a Windows Phone 7 application.&#160; So how do you access NuGet content when a network connection [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=333&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A recent network “hiccup” posed a bit of a challenge to a demo that was built around showing how the <a href="http://watwp.codeplex.com/">Windows Azure Toolkit for Windows Phone</a> (WATWP) <a href="http://www.nuget.org/">NuGet</a> packages make it easy to add <a href="http://www.windowsazure.com">Windows Azure</a> cloud features to a <a href="http://www.microsoft.com/windowsphone">Windows Phone 7</a> application.&nbsp; So how do you access NuGet content when a network connection isn’t available?&nbsp; What if you want to exert some management over the updates that are exposed to the developers in your enterprise, including exposing often-used or internal-use assets?</p>
<p>It turns out that NuGet offers some functionality that addresses these scenarios.&nbsp; In addition to supporting the ability to set up your own package server (also known as <a href="http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds#Creating_Remote_Feeds">Creating Remote Feeds</a> in the <a href="http://docs.nuget.org/">NuGet documentation</a>), there is the ability to consume packages collected in a directory – either a network share or a local file-system folder.&nbsp; This is illustrated in the NuGet documentation under the subtopic &#8220;<a href="http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds#Creating_Local_Feeds">Creating Local Feeds</a>” within the “<a href="http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds">Hosting Your Own NuGet Feeds</a>” topic.</p>
<h3>Populating a File-System Based Package Store</h3>
<p>Any folder that contains NuGet .nupkg files can be set to be as a file-system based package server.&nbsp; From my own use, folders that contain subfolders with .nupkg files will also work, allowing for organization and hierarchy.&nbsp; If you already have a Visual Studio solution that has references to NuGet packages, moving these packages into such a local package store can be quite simple (especially for demos!)&nbsp; Just locate the “packages” folder that is created when the NuGet packages are added</p>
<p><a href="http://avidgator.files.wordpress.com/2011/12/image.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://avidgator.files.wordpress.com/2011/12/image_thumb.png?w=244&#038;h=156" width="244" height="156"></a></p>
<p>The entire package folder is not required, since the nupkg files are really Zip files that contain all of the necessary contents.&nbsp; Search for files that end with the .nupkg extension.&nbsp; </p>
<p><a href="http://avidgator.files.wordpress.com/2011/12/snaghtml9fbf7a.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML9fbf7a" border="0" alt="SNAGHTML9fbf7a" src="http://avidgator.files.wordpress.com/2011/12/snaghtml9fbf7a_thumb.png?w=508&#038;h=275" width="508" height="275"></a></p>
<p>Simply copy all of these files into the folder you are using for your file-system based package store.&nbsp; Note that a wider set of packages is available in your local package cache, which is normally maintained in &lt;UserFolder&gt;\AppData\Local\NuGet\Cache, and can be accessed from Visual Studio via Tools-Library Package Manager-Package Manager Settings, and click the “Browse” button in the General section of the Package Manager settings node.</p>
<h3>Using File-Based Package Stores</h3>
<p>To tell Visual Studio to consume file-based package stores, bring up the settings dialog (via Tools-Library Package Manager-Package Manager Settings or through the other accessors in Visual Studio) and select the Package Sources section of the Package Manager settings node.&nbsp; Provide a name and type in the path or browse to the package location and click the Add button.&nbsp; Note that the elements in the Available Package Sources list are shown in a check-list-box – they can be enabled or disabled.&nbsp; Elements in the list can also be reordered in order to determine the precedence in which the sources are searched for matching packages.</p>
<p><a href="http://avidgator.files.wordpress.com/2011/12/snaghtmlab5b5b.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTMLab5b5b" border="0" alt="SNAGHTMLab5b5b" src="http://avidgator.files.wordpress.com/2011/12/snaghtmlab5b5b_thumb.png?w=491&#038;h=286" width="491" height="286"></a></p>
<p>When adding NuGet package references to your project in Visual Studio via the Manage NuGet Packages dialog, note that the newly named source now appears within the “Online” package listing section.&nbsp; </p>
<p><a href="http://avidgator.files.wordpress.com/2011/12/snaghtmlb09c32.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTMLb09c32" border="0" alt="SNAGHTMLb09c32" src="http://avidgator.files.wordpress.com/2011/12/snaghtmlb09c32_thumb.png?w=499&#038;h=282" width="499" height="282"></a></p>
<p>The new source is also available as a pulldown option in the Package Manager Console window.</p>
<p><a href="http://avidgator.files.wordpress.com/2011/12/snaghtmlb430e2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTMLb430e2" border="0" alt="SNAGHTMLb430e2" src="http://avidgator.files.wordpress.com/2011/12/snaghtmlb430e2_thumb.png?w=658&#038;h=135" width="658" height="135"></a></p>
<p>As I’ve been digging into NuGet more lately, I’ve been quite impressed by the functionality it exposes.&nbsp; There’s much more to it than just a right-click menu item and a dialog box&nbsp; that adds and updates project assembly references.&nbsp; Some of my current favorites include <a href="http://docs.nuget.org/docs/start-here/managing-nuget-packages-using-the-dialog#Managing_Packages_for_the_Solution">managing package references at the solution level</a> and <a href="http://docs.nuget.org/docs/workflows/package-visualizer">visualizing NuGet package chains</a>.&nbsp; Be sure to check out the NuGet docs in case you have yet to discover your favorite.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=333&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/12/16/nuget-nuggetfile-system-based-package-stores/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/12/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/12/snaghtml9fbf7a_thumb.png" medium="image">
			<media:title type="html">SNAGHTML9fbf7a</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/12/snaghtmlab5b5b_thumb.png" medium="image">
			<media:title type="html">SNAGHTMLab5b5b</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/12/snaghtmlb09c32_thumb.png" medium="image">
			<media:title type="html">SNAGHTMLb09c32</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/12/snaghtmlb430e2_thumb.png" medium="image">
			<media:title type="html">SNAGHTMLb430e2</media:title>
		</media:content>
	</item>
		<item>
		<title>DevBoston (Waltham) Presentation Content</title>
		<link>http://blog.dotnetgator.com/2011/12/14/devboston-cambridge-presentation-content/</link>
		<comments>http://blog.dotnetgator.com/2011/12/14/devboston-cambridge-presentation-content/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 02:44:30 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/?p=320</guid>
		<description><![CDATA[Many thanks to the attendees of my presentation tonight covering Developing Cloud Enabled Windows Phone Applications with Windows Azure.&#160; I apologize once again for the technical network-related gremlins that decided to attack us tonight…hopefully the workaround covered the necessary ground and everyone was able to see the concepts I was trying to show. As promised, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=320&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many thanks to the attendees of my presentation tonight covering Developing Cloud Enabled Windows Phone Applications with Windows Azure.&nbsp; I apologize once again for the technical network-related <a href="http://en.wikipedia.org/wiki/Gremlin">gremlins</a> that decided to attack us tonight…hopefully the workaround covered the necessary ground and everyone was able to see the concepts I was trying to show.</p>
<p>As promised, I have posted the content for the presentation <a href="https://skydrive.live.com/#cid=511766C2B5C5BDD3&amp;id=511766C2B5C5BDD3%211078">here</a>.&nbsp; This includes the slide deck with the various resource links, as well as the final project.&nbsp; As I mentioned, I have “sanitized” the configuration of the project to omit my specific <a href="http://www.windowsazure.com/en-us/home/tour/access-control/">Access Control (ACS)</a> settings.&nbsp; This involved changing the AccessControlResources.xaml file in the phone project and the Web.config file in the web role project.&nbsp; Look for the text [your-xxx-here] for where to substitute your own ACS information.</p>
<p>Because the network issues prevented us from accessing <a href="http://www.nuget.org/">the NuGet site</a> or repository, I wanted to be sure to list the packages that were used in these projects:</p>
<table border="0" cellspacing="0" cellpadding="2" width="399">
<tbody>
<tr>
<td valign="top" width="122"><a href="http://www.nuget.org/packages/Phone.Storage">Phone.Storage</a></td>
<td valign="top" width="275">Adds support in the phone project to access Azure Storage.</td>
</tr>
<tr>
<td valign="top" width="122"><a href="http://www.nuget.org/packages/WindowsAzure.Storage.Proxy.AccessControl">WindowsAzure.Storage.Proxy.AccessControl</a></td>
<td valign="top" width="275">Adds support in the server-side MVC3 based web role to field secured storage requests using ACS to generate the authentication token</td>
</tr>
<tr>
<td valign="top" width="122"><a href="http://www.nuget.org/packages/Phone.Storage.AccessControl">Phone.Storage.AccessControl</a></td>
<td valign="top" width="275">Adds support in the phone project for interacting with ACS-secured storage, including a login page with the ACS-aware login control.</td>
</tr>
<tr>
<td valign="top" width="122"><a href="http://www.nuget.org/packages/WindowsAzure.Notifications">WindowsAzure.Notifications</a></td>
<td valign="top" width="275">Adds support in the server-side MVC3 based web role to handle registration &amp; storage for Push Notification endpoints</td>
</tr>
<tr>
<td valign="top" width="122"><a href="http://www.nuget.org/packages/Phone.Notifications.BasePage">Phone.Notifications.BasePage</a></td>
<td valign="top" width="275">Adds support in the phone project (including a UI page) for enabling notifications in the application and registering with server-side push notification endpoint.</td>
</tr>
<tr>
<td valign="top" width="122"><a href="http://www.nuget.org/packages/MpnsRecipe">MPNSRecipe</a></td>
<td valign="top" width="275">Adds the MPNS Recipe, used in the worker role project.</td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=320&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/12/14/devboston-cambridge-presentation-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
		<item>
		<title>Boston .Net Code Camp Presentation Content</title>
		<link>http://blog.dotnetgator.com/2011/11/05/boston-net-code-camp-presentation-content/</link>
		<comments>http://blog.dotnetgator.com/2011/11/05/boston-net-code-camp-presentation-content/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 03:41:31 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/11/05/boston-net-code-camp-presentation-content/</guid>
		<description><![CDATA[I would like to thank the organizers and attendees of the recent 16th (wow!) Boston Code Camp where I did a talk on Developing Cloud-Enabled Windows Phone Applications with Windows Azure – and special thanks to everyone who stuck it out once the snow started falling in order to catch my talk.&#160; Obviously, it took [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=319&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I would like to thank the organizers and attendees of the recent 16th (wow!) <a href="http://codecampboston.eventbrite.com/">Boston Code Camp</a> where I did a talk on Developing Cloud-Enabled Windows Phone Applications with Windows Azure – and special thanks to everyone who stuck it out once the snow started falling in order to catch my talk.&nbsp; Obviously, it took longer than expected to get this content posted – <a href="http://www.nashuatelegraph.com/news/938395-196/halloween-weekend-storm-scatters-debris-kills-power.html">Nashua got hit especially hard by the storm</a>, including a 75% city-wide power outage the day following the Code Camp event, along with accompanying telecom and even cellular outages.&nbsp; I am happy to say that I finally got my power turned back on mid-week, and am slowly but surely digging out of the mountain of backlog that piled up during the multi-day outage.</p>
<p>The content can be found <a href="https://skydrive.live.com/?cid=511766c2b5c5bdd3&amp;sc=documents&amp;id=511766C2B5C5BDD3%211028#cid=511766C2B5C5BDD3&amp;id=511766C2B5C5BDD3%211028&amp;sc=documents">here</a>.&nbsp; Because I demoed <a href="http://www.microsoft.com/windowsazure/features/accesscontrol/">ACS</a>, some of the items that are placed in the project would normally reference my “real” Azure account…they have been removed and replaced with the phrase “YOUR CONTENT HERE.”&nbsp; You will need to replace these values with your own from the Azure ACS management portal in order to be able to run the provided code.&nbsp; Also, in order to use the Azure Emulator, be sure to run Visual Studio in Admin mode when working with this project.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/319/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/319/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/319/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=319&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/11/05/boston-net-code-camp-presentation-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
		<item>
		<title>Boston Phone Camp Presentation Materials</title>
		<link>http://blog.dotnetgator.com/2011/10/13/boston-phone-camp-presentation-materials/</link>
		<comments>http://blog.dotnetgator.com/2011/10/13/boston-phone-camp-presentation-materials/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 01:51:00 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/10/13/boston-phone-camp-presentation-materials/</guid>
		<description><![CDATA[I had a great time talking about the Windows Azure Toolkit for Windows Phone at the Windows Phone Camp event in Cambridge, MA earlier today.&#160; I have posted the slide deck here for those who are interested in getting at the web links it contains. If you missed the event and/or are interested in other [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=318&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had a great time talking about the <a href="http://watwp.codeplex.com/">Windows Azure Toolkit for Windows Phone</a> at the Windows Phone Camp event in Cambridge, MA earlier today.&nbsp; I have posted the slide deck <a href="https://skydrive.live.com/?cid=511766c2b5c5bdd3&amp;sc=documents&amp;uc=1&amp;id=511766C2B5C5BDD3%211005#cid=511766C2B5C5BDD3&amp;id=511766C2B5C5BDD3%211005&amp;sc=documents">here</a> for those who are interested in getting at the web links it contains.</p>
<p>If you missed the event and/or are interested in other Windows Phone Camp events, more information is available <a href="http://blogs.msdn.com/b/devfish/archive/2011/08/31/windows-phonecamps-east-coast-2011.aspx">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=318&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/10/13/boston-phone-camp-presentation-materials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
		<item>
		<title>Vermont Code Camp Presentation Materials</title>
		<link>http://blog.dotnetgator.com/2011/09/10/vermont-code-camp-presentation-materials/</link>
		<comments>http://blog.dotnetgator.com/2011/09/10/vermont-code-camp-presentation-materials/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 02:11:12 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Speaking]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/09/10/vermont-code-camp-presentation-materials/</guid>
		<description><![CDATA[Many thanks to the organizers and attendees of this year’s Vermont Code Camp.&#160;&#160; This event continues to set the bar for excellence, and a ton of credit is due to Julie Lerman, Rob Hale, and the rest of the volunteers who all clearly work quite hard to pull it all together. I have uploaded the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=317&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many thanks to the organizers and attendees of this year’s <a href="http://vtcodecamp.org/">Vermont Code Camp</a>.&nbsp;&nbsp; This event continues to set the bar for excellence, and a ton of credit is due to <a href="https://twitter.com/#!/julielerman">Julie Lerman</a>, <a href="https://twitter.com/#!/rob_hale_vt">Rob Hale</a>, and the rest of the volunteers who all clearly work quite hard to pull it all together.</p>
<p>I have uploaded the code and content from my “What’s New in Windows Phone 7.1 Silverlight Development”, and they can be downloaded from <a href="https://skydrive.live.com/#!/?cid=511766c2b5c5bdd3&amp;sc=documents&amp;uc=2&amp;id=511766C2B5C5BDD3%21720">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=317&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/09/10/vermont-code-camp-presentation-materials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
		<item>
		<title>Boston Azure User Group Presentation Materials</title>
		<link>http://blog.dotnetgator.com/2011/08/28/boston-azure-user-group-presentation-materials/</link>
		<comments>http://blog.dotnetgator.com/2011/08/28/boston-azure-user-group-presentation-materials/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 05:02:07 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/08/28/boston-azure-user-group-presentation-materials/</guid>
		<description><![CDATA[Many thanks to the organizers and attendees of the Boston Azure User Group where I had the chance to speak this past week on Developing Cloud-Enabled Windows Phone Applications with Windows Azure.&#160; I hope everyone who attended enjoyed the presentation as much as I enjoyed doing it.&#160; I certainly appreciate everybody having stuck through considering [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=316&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many thanks to the organizers and attendees of the <a href="http://www.bostonazure.org/">Boston Azure User Group</a> where I had the chance to speak this past week on Developing Cloud-Enabled Windows Phone Applications with Windows Azure.&nbsp; I hope everyone who attended enjoyed the presentation as much as I enjoyed doing it.&nbsp; I certainly appreciate everybody having stuck through considering the A/C glitch causing the room temperature to get a little uncomfortable.</p>
<p>Speaking of weather, I think my house is now as prepared as it is going to be for the upcoming arrival of hurricane Irene to New Hampshire…I really didn’t think I’d be dealing with these anymore after my 15 years in Florida – that we “paid our dues” in New England with our annual rounds of Nor&#8217;easters and other winter “fun.”&nbsp; Nonetheless, the slide deck and code from the presentation have been posted, and can be found <a href="https://skydrive.live.com/#cid=511766C2B5C5BDD3&amp;id=511766C2B5C5BDD3%21708">here</a>.</p>
<p>The sample code is broken into 5 parts across 4 solutions as follows:</p>
<ol>
<li>Membership (<a href="http://watwp.codeplex.com/">Windows Azure Toolkit for Windows Phone</a>)
<li>Storage (Windows Azure Toolkit for Windows Phone)
<li>Notification Services (Windows Azure Toolkit for Windows Phone)
<li><a href="http://msdn.microsoft.com/en-us/library/ee732537.aspx">AppFabric Service Bus</a>
<li><a href="http://www.odata.org/">OData</a> (<a href="https://datamarket.azure.com/">Azure Data Marketplace</a> and <a href="https://www.sqlazurelabs.com/">SQL Azure</a>)</li>
</ol>
<p>Key “markers” have been placed into the code files as comments that start with the word “NOTE” (a handy way to see *most* of them is to make use of the <a href="http://msdn.microsoft.com/en-us/library/170k1bbs(v=VS.100).aspx">Visual Studio Task List</a> pane, however, there are a few in the config files that don’t get picked up by this pane.)&nbsp; The code has been sanitized to point to local storage and/or to remove any keys I had put in that were specific to the sites and accounts I was using for the demo.&nbsp; Please substitute your own private values where necessary.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/316/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/316/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/316/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=316&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/08/28/boston-azure-user-group-presentation-materials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating Custom Ringtones in Windows Phone Mango</title>
		<link>http://blog.dotnetgator.com/2011/07/25/creating-custom-ringtones-in-windows-phone-mango/</link>
		<comments>http://blog.dotnetgator.com/2011/07/25/creating-custom-ringtones-in-windows-phone-mango/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 04:30:27 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/07/25/creating-custom-ringtones-in-windows-phone-mango/</guid>
		<description><![CDATA[Now that I have upgraded my phone to the Windows Phone 7.1 Developers’ Preview, one of the features I’ve been anxious to try out is Custom Ringtones – the default tones and the ones provided by AT&#38;T are “interesting”, but they’re just not “me.”&#160; Windows Phone 7.1 (AKA Mango) supports custom ringtones – but how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=315&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Now that I have upgraded my phone to the Windows Phone 7.1 Developers’ Preview, one of the features I’ve been anxious to try out is <a href="http://windowsteamblog.com/windows_phone/b/windowsphone/archive/2011/06/28/ringing-in-mango.aspx">Custom Ringtones</a> – the default tones and the ones provided by AT&amp;T are “interesting”, but they’re just not “me.”&nbsp; Windows Phone 7.1 (AKA Mango) supports custom ringtones – but how do you go about making that happen?</p>
<p>IMPORTANT – The information below is based on Windows Phone 7.1 (AKA Mango) Beta 2, with a phone and the related Zune software upgraded to use the Developer Preview.</p>
<p>The available ringtones on the phone are segmented into groups which can be seen by going to Settings / Ringtones + Sounds and/or Contact / Edit / Ringtone (the latter location is used to override the default ringtone and set a per-contact ringtone.)&nbsp; The default collection of ringtones that are included by the phone OS, those provided by the carrier, and any custom ringtones installed by the user.&nbsp; Custom and OEM-provided ringtones can be deleted (for pruning the available ringtone list) whereas the ringtones included with the Phone OS cannot.</p>
<p>Custom ringtones are audio files that are “registered” with the phone OS in a certain way – more on this in a moment.&nbsp; However, in order to be registered, an audio file must meet the following criteria:</p>
<ul>
<li>It must be either a WMA or an MP3 file
<li>It must be 39 seconds or shorter in length
<li>It must be smaller than 1MB in size
<li>It cannot be copy protected / have DRM restrictions </li>
</ul>
<h2>Creating Custom Ringtone Files</h2>
<p>So what do you need to create a custom ringtone file that fits this criteria?&nbsp; While there are several tools that can be used, I’ll highlight 2 here – <a href="http://www.microsoft.com/expression/products/EncoderPro_Overview.aspx">Expression Encoder</a> and <a href="http://audacity.sourceforge.net/">Audacity</a>.&nbsp; Expression Encoder is part of Microsoft’s Expression Suite.&nbsp; As of this writing, there are both free and pro versions available, and while I happen to have Pro (available as part of my MSDN Subscription), the audio features should be part of both SKUs.&nbsp; Expression Encoder succeeds the Windows Media Encoder, and although it is primarily targeted at video projects, it is usable for audio projects.</p>
<p>To get started with Expression Encoder, launch the application and select a “Transcoding Project” in the New Project dialog.&nbsp; To load the audio file, select either Import from the File menu, or locate the file in Windows Explorer and drag it onto the application.&nbsp; The file will be loaded into the editing timeline, and its metadata will be displayed.&nbsp; Using the editing controls within Encoder, the section of interest for the ringtone can be isolated.&nbsp; Since there is no waveform monitor within Encoder, this is exercise must largely be performed by ear and with an eye on the time displayed in the timeline.&nbsp; (Note &#8211; a full discussion of editing within the Encoder product is beyond the scope of this discussion.)&nbsp; Once the desired segment of audio has been isolated, the specific WMA format can be selected from the Encode toolstrip, and the Audio property panel can be used to set the target bitrate mode, bitrate, channel information, sample rate, and bit depth (these settings push and pull against each other to determine audio quality vs file size.&nbsp; Remember, this is a ringtone, and there are limits to the file size.&nbsp; Audio quality is probably negotiable here.)&nbsp; The Metadata toolstrip can be used to set the clip;s metadata attributes (in particular, Title and Genre are important here), and the Output toolstrip can be used to determine the file output.&nbsp; When ready, selecting Encode or Encode Selected Item from the File menu starts creating the new ringtone file.</p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/snaghtml80d969d.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML80d969d" border="0" alt="SNAGHTML80d969d" src="http://avidgator.files.wordpress.com/2011/07/snaghtml80d969d_thumb.png?w=676&#038;h=452" width="676" height="452"></a></p>
<p>Audacity is a free, open source, cross-platform sound editor.&nbsp; In addition to downloading the Audacity application itself, for these purposes 2 add-ons should be considered – the LAME MP3 encoder (if MP3 files are the desired output), and the FFmpeg import/export library (if WMA files will be imported or exported.)&nbsp; Links to these add-ons can be found at the Audactiy download site <a href="http://audacity.sourceforge.net/download/beta_windows">here</a>.&nbsp; To start editing a file, select Import from the File menu, or drag the file into the application.&nbsp; Audacity does display a waveform synchronized to the timeline, making the audio editing experience more visual than in Expression Encoder.&nbsp; Once the target section of the file has been isolated, Export or Export Selection can be selected from the File menu.&nbsp; From here, the type of file being exported can be chosen (WMA or MP3 for ringtones), and depending on the selection, encoding options can be chosen.&nbsp; Note that there are far fewer encoding options for WMA here than in Expression Encoder.&nbsp; Once a target file location and options are selected, the metadata editor will be displayed, where metadata for the output file can be set.&nbsp; </p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/snaghtml8192f82.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML8192f82" border="0" alt="SNAGHTML8192f82" src="http://avidgator.files.wordpress.com/2011/07/snaghtml8192f82_thumb.png?w=667&#038;h=488" width="667" height="488"></a></p>
<p>Regardless of what is set in the encoding applications above, the details tab in the file properties dialog can be used to set the metadata.&nbsp; The Title property controls what is displayed when the file is shown in the Custom Ringtones group in the phone.&nbsp; The Genre value is actually quite important – in order to use the Zune software to load the ringtone, it must be set to “Ringtone.”</p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/snaghtml81f29f7.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML81f29f7" border="0" alt="SNAGHTML81f29f7" src="http://avidgator.files.wordpress.com/2011/07/snaghtml81f29f7_thumb.png?w=272&#038;h=370" width="272" height="370"></a></p>
<h2>Adding Ringtones Using Zune Software</h2>
<p>To manually transfer the ringtone, make sure the ringtone file that was just created is in one of the configured music folders within the Zune software, as pictured below.&nbsp; </p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/snaghtml822444a.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="SNAGHTML822444a" border="0" alt="SNAGHTML822444a" src="http://avidgator.files.wordpress.com/2011/07/snaghtml822444a_thumb.png?w=784&#038;h=339" width="784" height="339"></a></p>
<p>Set the file (or fill folder) to be synced with the phone device.&nbsp; The next time the phone is plugged in, the file will be placed on the phone.&nbsp; Because its genre is set to “ringtone”, the files will not appear in the phone’s audio collection, and will appear in the list of custom ringtones.</p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/image2.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://avidgator.files.wordpress.com/2011/07/image_thumb2.png?w=240&#038;h=363" width="240" height="363"></a></p>
<h2>Programmatically Adding Ringtones</h2>
<p>If the ringtone files are not originating on the phone user’s desktop and/or using the Zune software is not practical, there is a mechanism for adding ringtones programmatically.&nbsp; This would be useful, for example, to provide an application that allows ringtones to be selected from an internet site or related resource.&nbsp; The <a href="http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.saveringtonetask">SaveRingtoneTask</a> takes center stage for programmatically setting ringtones.&nbsp; For SaveRingtoneTask, the DisplayName property determines the name the ringtone will be displayed with in the Custom Ringtones section, and the Source property provides a Uri to the location of the ringtone file to be used.&nbsp; This Uri typically points to a location in Isolated Storage, using the URI syntax for accessing Isolated Storage, as shown below (notice the similarity with the Uri used for the Connection String specified when accessing SQL CE databases in the WP 7.1 API.&nbsp; There is some discussion that the Source Uri will also support the appdata prefix syntax that is available for read-only files that are included as part of the app’s payload in the Xap file, but I have yet to test this specific functionality.)&nbsp; </p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> saveRingtoneChooser.DisplayName = <span style="color:#006080;">"My Ringtone"</span>;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> saveRingtoneChooser.Source = <span style="color:#0000ff;">new</span> Uri(<span style="color:#006080;">@"isostore:/myringtone.wma"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> saveRingtoneChooser.IsShareable = <span style="color:#0000ff;">true</span>;</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span> saveRingtoneChooser.Show();</pre>
<p><!--CRLF--></div>
</div>
<p>Note that the file in Isolated Storage is “copied” to the internal ringtone location on the phone…if the application that ran the Chooser is subsequently uninstalled (which clears Isolated Storage for that application), the ringtone persists until it is explicitly deleted from the Custom Ringtone collection.&nbsp; Also, in the case of the web-based ringtone provider example discussed above, it may be prudent to use the <a href="http://msdn.microsoft.com/en-us/library/hh202955(v=VS.92).aspx">Background Transfer Service</a> to queue the selected ringtone download, then process the file once it has been fully downloaded.</p>
<h2>A Note About the Audio Files Used in this Example</h2>
<p>The audio files used in this discussion are ripped from CD’s that are physically in my own personal collection (my taste in music notwithstanding.)&nbsp; Please be sure to perform your own copyright research prior to launching any ringtone software / services.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=315&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/07/25/creating-custom-ringtones-in-windows-phone-mango/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/snaghtml80d969d_thumb.png" medium="image">
			<media:title type="html">SNAGHTML80d969d</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/snaghtml8192f82_thumb.png" medium="image">
			<media:title type="html">SNAGHTML8192f82</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/snaghtml81f29f7_thumb.png" medium="image">
			<media:title type="html">SNAGHTML81f29f7</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/snaghtml822444a_thumb.png" medium="image">
			<media:title type="html">SNAGHTML822444a</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Showing the Onscreen Keyboard in Silverlight OOB Applications</title>
		<link>http://blog.dotnetgator.com/2011/07/19/showing-the-onscreen-keyboard-in-silverlight-oob-applications/</link>
		<comments>http://blog.dotnetgator.com/2011/07/19/showing-the-onscreen-keyboard-in-silverlight-oob-applications/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 03:16:16 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/07/19/showing-the-onscreen-keyboard-in-silverlight-oob-applications/</guid>
		<description><![CDATA[One of the “interesting” things about Silverlight apps running on Windows is that on touch/tablet systems, textboxes in Silverlight do not display a popup button to use for bringing up the Windows onscreen keyboard when they have focus, whereas native applications do. WPF / Native Window following a “Touch” in a textbox Silverlight OOB Window [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=304&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the “interesting” things about Silverlight apps running on Windows is that on touch/tablet systems, textboxes in Silverlight do not display a popup button to use for bringing up the Windows onscreen keyboard when they have focus, whereas native applications do.</p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/image.png"><em><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://avidgator.files.wordpress.com/2011/07/image_thumb.png?w=327&#038;h=219" width="327" height="219"></em></a><em> <br />WPF / Native Window following a “Touch” in a textbox</em></p>
<p><a href="http://avidgator.files.wordpress.com/2011/07/image1.png"><em><img style="background-image:none;padding-left:0;padding-right:0;display:inline;padding-top:0;border-width:0;" title="image" border="0" alt="image" src="http://avidgator.files.wordpress.com/2011/07/image_thumb1.png?w=330&#038;h=240" width="330" height="240"></em></a><em> <br />Silverlight OOB Window following a “Touch” in a textbox</em></p>
<p>The onscreen keyboard is actually present in the Silverlight case – it is usually just “conveniently” tucked against the left side of the screen – and experience has shown me that until you actually show or describe to someone where it is, they will usually not find it on their own.&nbsp; Tap it once, and it “peeks” out a little bit.&nbsp; Tap it again, and it is brought to the center of the screen.&nbsp; Hit the close button, and it returns to its tucked away position on the side of the screen.</p>
<p>I have been asked several times for an option to show the onscreen keyboard from within a Silverlight application in a more consistent and user-friendly fashion.&nbsp; It turns out that for Silverlight Out of Browser applications running with Elevated Trust, there is an option – COM Automation can be used to invoke the process that displays the onscreen keyboard, or Text Input Panel (TIP).</p>
<h2>Locating the Process</h2>
<p>As of Windows Vista, the TextInputPanel handles the Tablet Input Panel (TIP).&nbsp; This is implemented in the file TabTip.exe, which exists in the directory &lt;Program Files&gt;\Common Files\Microsoft Shared\ink – this is true both in 64-bit and 32-bit versions of Windows.&nbsp; (Note – I have verified this myself only on Windows 7.)&nbsp; See the following site for more information about the TIP: <a href="http://msdn.microsoft.com/en-us/library/ms701746(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ms701746(VS.85).aspx</a>.</p>
<p>Normally, to locate the needed path, the Environment.GetFolderPath method would be used.&nbsp; However, when called on a 64-bit system from Silverlight with SpecialFolder.CommonProgramFiles as the parameter, it returns the path to the x86 Program Files directory…not the one that is needed in this case.&nbsp; However, using the scripting shell’s ExpandEnvironmentStrings method can get the correct value, as follows:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> dynamic shell = AutomationFactory.CreateObject(<span style="color:#006080;">"WScript.Shell"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> String commonPath = shell.ExpandEnvironmentStrings(<span style="color:#006080;">"%CommonProgramW6432%"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span> <span style="color:#008000;">// This path is the same for both 32 and 64-bit installs of Windows</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span> String filePath = System.IO.Path.Combine(commonPath, <span style="color:#006080;">@"microsoft shared\ink\TabTip.exe"</span>);</pre>
<p><!--CRLF--></div>
</div>
<p>Information about the CommonProgramW6432 Environment Variable can be found at this link: <a title="http://msdn.microsoft.com/en-us/library/aa384274(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/aa384274(VS.85).aspx">http://msdn.microsoft.com/en-us/library/aa384274(VS.85).aspx</a>.</p>
<h2>Showing the Onscreen Keyboard</h2>
<p>Now that the necessary program has been located, it simply needs to be run to show the keyboard (or to bring it up onscreen, in case the keyboard app is running, but “hidden” along the margin, as pictured above.&nbsp; To do this, simply call ShellExecute, passing in the path calculated above:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> dynamic application = AutomationFactory.CreateObject(<span style="color:#006080;">"Shell.Application"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> application.ShellExecute(filePath, <span style="color:#006080;">""</span>, <span style="color:#006080;">""</span>, <span style="color:#006080;">"open"</span>, 1);</pre>
<p><!--CRLF--></div>
</div>
<p>The full code listing for a ShowKeyboard helper method is shown below:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:'Courier New', courier, monospace;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">class</span> KeyboardHelper</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">static</span> <span style="color:#0000ff;">void</span> ShowKeyboard()</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span>     {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span>         <span style="color:#0000ff;">if</span> (AutomationFactory.IsAvailable)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span>         {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span>             <span style="color:#0000ff;">try</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span>                 <span style="color:#008000;">// Ensure Windows 7 or Windows Server 2008 R2</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum10">  10:</span>                 <span style="color:#008000;">// OS Version # - http://msdn.microsoft.com/en-us/library/ms724832(VS.85).aspx</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum11">  11:</span>                 <span style="color:#0000ff;">if</span> (Environment.OSVersion.Platform == PlatformID.Win32NT</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum12">  12:</span>                     &amp;&amp; Environment.OSVersion.Version &gt;= <span style="color:#0000ff;">new</span> Version(6, 1))</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum13">  13:</span>                 {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum14">  14:</span>                     <span style="color:#008000;">// Get the path to the Common Program Files directory (not the x86 version...)</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum15">  15:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum16">  16:</span>                     <span style="color:#008000;">// Environment.GetFolderPath returns the wrong path (x86 branch on 64-bit systems.)</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum17">  17:</span>                     <span style="color:#008000;">// String commonPath = Environment.GetFolderPath(Environment.SpecialFolder.CommonProgramFiles);</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum18">  18:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum19">  19:</span>                     dynamic shell = AutomationFactory.CreateObject(<span style="color:#006080;">"WScript.Shell"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum20">  20:</span>                     String commonPath = shell.ExpandEnvironmentStrings(<span style="color:#006080;">"%CommonProgramW6432%"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum21">  21:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum22">  22:</span>                     <span style="color:#008000;">// This path is the same for both 32 and 64-bit installs of Windows</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum23">  23:</span>                     String filePath = System.IO.Path.Combine(commonPath, <span style="color:#006080;">@"microsoft shared\ink\TabTip.exe"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum24">  24:</span>&nbsp; </pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum25">  25:</span>                     <span style="color:#008000;">// Bring up the TIP - http://msdn.microsoft.com/en-us/library/ms701746(VS.85).aspx</span></pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum26">  26:</span>                     dynamic application = AutomationFactory.CreateObject(<span style="color:#006080;">"Shell.Application"</span>);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum27">  27:</span>                     application.ShellExecute(filePath, <span style="color:#006080;">""</span>, <span style="color:#006080;">""</span>, <span style="color:#006080;">"open"</span>, 1);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum28">  28:</span>                 }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum29">  29:</span>             }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum30">  30:</span>             <span style="color:#0000ff;">catch</span> (Exception ex)</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum31">  31:</span>             {</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum32">  32:</span>                 Debug.WriteLine(ex);</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum33">  33:</span>             }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum34">  34:</span>         }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum35">  35:</span>     }</pre>
<p><!--CRLF-->
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:'Courier New', courier, monospace;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum36">  36:</span> }</pre>
<p><!--CRLF--></div>
</div>
<h2>What&#8217;s Next?</h2>
<p>I have shown how to programmatically show the TIP…as far as how to get there, that is left as an exercise for the reader.&nbsp; In some cases, adding a launcher (such as a &#8220;show keyboard&#8221; button) somewhere in the UI may be an acceptable option – it is certainly the simplest.&nbsp; To approximate the behavior seen in native applications, more work is required.&nbsp; This includes showing a UI control to display the TIP, which is only displayed if the user accesses the textbox control via touch input.&nbsp; This can be determined by using the <a href="http://msdn.microsoft.com/en-us/library/dd894494(v=VS.95).aspx">Silverlight Multitouch Input APIs</a>, or a helper library such as <a href="http://lighttouch.codeplex.com/">LightTouch</a> or the <a href="http://archive.msdn.microsoft.com/nesl">Native Extensions for Silverlight</a>.&nbsp; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/304/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/304/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/304/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=304&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/07/19/showing-the-onscreen-keyboard-in-silverlight-oob-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://avidgator.files.wordpress.com/2011/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>CT Code Camp 4 Presentation Materials</title>
		<link>http://blog.dotnetgator.com/2011/06/18/ct-code-camp-4-presentation-materials/</link>
		<comments>http://blog.dotnetgator.com/2011/06/18/ct-code-camp-4-presentation-materials/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 00:10:29 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/06/18/ct-code-camp-4-presentation-materials/</guid>
		<description><![CDATA[I have uploaded the content from my talk at the Connecticut .Net Developers’ Group&#160;Code Camp 4 from today (6/18/2011).&#160; The code and content&#160; from my “What’s New in Windows Phone 7.1 Silverlight Development” are available here. Many thanks to SB Chatterjee and his team for putting together the event.&#160; Also thank you to the attendees [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=299&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have uploaded the content from my talk at the <a href="http://ctdotnet.org/default.aspx">Connecticut .Net Developers’ Group</a>&nbsp;<a href="http://ctdotnet.org/CodeCamp4.aspx">Code Camp 4</a> from today (6/18/2011).&nbsp; The code and content&nbsp; from my “What’s New in Windows Phone 7.1 Silverlight Development” are available <a href="http://cid-511766c2b5c5bdd3.office.live.com/browse.aspx/DotNet%20Presentations/CT%20Code%20Camp%2020110618">here</a>.</p>
<p>Many thanks to SB Chatterjee and his team for putting together the event.&nbsp; Also thank you to the attendees for some great questions and discussion during and after the session (and yes, I did make it back home in time to attend my daughter’s recital.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=299&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/06/18/ct-code-camp-4-presentation-materials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
		<item>
		<title>NH .Net Code Camp 3 Presentation Materials</title>
		<link>http://blog.dotnetgator.com/2011/06/05/nh-net-code-camp-3-presentation-materials/</link>
		<comments>http://blog.dotnetgator.com/2011/06/05/nh-net-code-camp-3-presentation-materials/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 15:09:45 +0000</pubDate>
		<dc:creator>avidgator</dc:creator>
				<category><![CDATA[Presentations]]></category>
		<category><![CDATA[Speaking]]></category>
		<category><![CDATA[Windows Phone 7]]></category>

		<guid isPermaLink="false">https://avidgator.wordpress.com/2011/06/05/nh-net-code-camp-3-presentation-materials/</guid>
		<description><![CDATA[I have uploaded the content from my 2 talks at the NH .Net Code Camp 3 event from yesterday (6/4/2011).&#160; The code and material for my first talk – Introduction to Windows Phone 7 Development with Silverlight – are available here. The code and material for my second talk -&#160; What’s New in Windows Phone [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=298&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have uploaded the content from my 2 talks at the <a href="http://nhdn.com/">NH .Net</a> Code Camp 3 <a href="http://www.nhdn.com/codecamp3.mht">event</a> from yesterday (6/4/2011).&nbsp; </p>
<ul>
<li>The code and material for my first talk – Introduction to Windows Phone 7 Development with Silverlight – are available <a href="http://cid-511766c2b5c5bdd3.office.live.com/browse.aspx/DotNet%20Presentations/NH.Net%20Code%20Camp%2020110604/1%20-%20Intro%20to%20WP7%20SL%20Dev">here</a>.
<li>The code and material for my second talk -&nbsp; What’s New in Windows Phone 7.1 Silverlight Development – are available <a href="http://cid-511766c2b5c5bdd3.office.live.com/browse.aspx/DotNet%20Presentations/NH.Net%20Code%20Camp%2020110604/2%20-%20New%20in%20WP7.1">here</a>.</li>
</ul>
<p>As is usually the case, the code has been sanitized, which involves the removal of my personal Bing Maps developer key.&nbsp; For information on how to obtain your own map key, please check out the <a href="http://www.microsoft.com/maps/developers/web.aspx">Bing Maps Developer Portal</a>.</p>
<p>Many thanks to Patty, Udai, and Pat for hosting another fun event.&nbsp; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/avidgator.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/avidgator.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/avidgator.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/avidgator.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/avidgator.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/avidgator.wordpress.com/298/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/avidgator.wordpress.com/298/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/avidgator.wordpress.com/298/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.dotnetgator.com&amp;blog=3930062&amp;post=298&amp;subd=avidgator&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.dotnetgator.com/2011/06/05/nh-net-code-camp-3-presentation-materials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f111b833e6481b7d7eb266d8ff83e0a4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">avidgator</media:title>
		</media:content>
	</item>
	</channel>
</rss>
