<?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>Mike Hole &#187; Silverlight</title>
	<atom:link href="http://mikehole.com/category/silverlight/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikehole.com</link>
	<description>My development stuff ...</description>
	<lastBuildDate>Tue, 13 Mar 2012 08:11:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mikehole.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mike Hole &#187; Silverlight</title>
		<link>http://mikehole.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mikehole.com/osd.xml" title="Mike Hole" />
	<atom:link rel='hub' href='http://mikehole.com/?pushpress=hub'/>
		<item>
		<title>An end to the good times before they even start? &#8230;</title>
		<link>http://mikehole.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/</link>
		<comments>http://mikehole.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 20:22:27 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[Win8]]></category>
		<category><![CDATA[Windows Phone]]></category>
		<category><![CDATA[WP7DEV]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/</guid>
		<description><![CDATA[On may the 18th I published an article that actually managed the biggest view numbers that I have had on any blog post that I have previously written: More good times for app developers? I think this is mainly down to the fact that it was an attempt to spread some good news for developer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=184&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On may the 18th I published an article that actually managed the biggest view numbers that I have had on any blog post that I have previously written:</p>
<p><a href="http://mikehole.com/2011/05/18/more-good-times-for-app-developers/" target="_blank">More good times for app developers?</a></p>
<p>I think this is mainly down to the fact that it was an attempt to spread some good news for developer who develop .net applications using XAML and c# or VB.</p>
<p>As of now there are 20K+ applications for windows phone 7 and this list is growing at quite an impressive rate. This rate of growth is because of the ease at which these developers can write applications. People who work for large corporates developing enterprise applications using .NET can now become app publishers and can deviate from writing anonymous code that drives a cog of large enterprise systems.</p>
<p><strong>These people I have met at our growing local user group. They are loving the application development platform that Microsoft have put together for them and have a hunger for more.</strong></p>
<p>If you are a developer that has been developing code for Android or iPhone then you will have started with a single form factor in which your code runs on and found that that the available form factors has increased and you now not only develop for the phone but your apps can be made to run on the new and emerging tablet based devices.</p>
<p>Microsoft have made great strides with Windows 8 to ensure that it has the capabilities to run on a multitude of form factors. It is here that they are hedging their bets on windows running anywhere.</p>
<p>So where will we stand when it comes to Tablets and native development when can we start re-using our code from within those 20K+ applications so that we can start reaping the benefits of the next set of platforms.</p>
<p><strong>Well from what Microsoft have disclosed in regards to the Windows 8 developer experience so far that just won’t be happening.</strong></p>
<p><strong>There has just been no message from Microsoft that states that don’t worry we still do native, and it will work within this snazzy new UI. </strong></p>
<p>It’s all been HTML and JS as a brand new application development platform.</p>
<p>If this stays the case then once you are a Windows Phone developer you will be staying a Windows Phone developer and if you have a great app then you will have to port it.</p>
<p>Right now the message is that people will have to wait for the Build conference to actually find out what the developer story will be. And of course more and more FUD will enter the mind of us developers as time goes on.</p>
<p>One item that may enter peoples heads is that Microsoft are shifting their developer strategy and application platform to HTML and JS even on Windows Phone (ARM and SOC means that Win 8 can power a phone at some point – phones are mentioned in the Intel article).</p>
<p>If people start experiencing this kind of fear and uncertainty they are going to stop developing apps and the rate at which the marketplace is building will slow down if not stop.</p>
<p>We so need to know what&#8217;s happening and we need to know sooner rather than later.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=184&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>
	</item>
		<item>
		<title>More good times for app developers?</title>
		<link>http://mikehole.com/2011/05/18/more-good-times-for-app-developers/</link>
		<comments>http://mikehole.com/2011/05/18/more-good-times-for-app-developers/#comments</comments>
		<pubDate>Wed, 18 May 2011 07:58:38 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Tablets]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Applications]]></category>
		<category><![CDATA[Win8]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2011/05/18/more-good-times-for-app-developers/</guid>
		<description><![CDATA[UPDATE: 6th June 2011 Hi, I just added a new post that expresses my disappointment in the messages that have come from the Windows 8 launch: http://mikehole.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/ Just a short post to get something that has just started swishing about in my head out. I just read the following article: http://www.businessinsider.com/intel-exec-spills-the-beans-on-microsofts-tablet-plans-2011-5?utm_source=twitterfeed&#38;utm_medium=twitter In this article the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=179&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>UPDATE: 6th June 2011</p>
<p>Hi, I just added a new post that expresses my disappointment in the messages that have come from the Windows 8 launch:</p>
<p><a href="http://mikehole.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/">http://mikehole.com/2011/06/06/an-end-to-the-good-times-before-they-even-start/</a></p>
<hr />
<p>Just a short post to get something that has just started swishing about in my head out.</p>
<p>I just read the following article:</p>
<p><a href="http://www.businessinsider.com/intel-exec-spills-the-beans-on-microsofts-tablet-plans-2011-5?utm_source=twitterfeed&amp;utm_medium=twitter">http://www.businessinsider.com/intel-exec-spills-the-beans-on-microsofts-tablet-plans-2011-5?utm_source=twitterfeed&amp;utm_medium=twitter</a></p>
<p>In this article the beans are spilt in regards to Windows 8 running on ARM processors (by an Intel exec of all people). </p>
<p>Microsoft has targeted the ARM processor architecture because Win8 will have version that will run on all sorts of platforms that require low power consumption such as Tablets, Smartphones (although this is unlikely as we have WP7) and small form factor PC’s. This then is a big enabler for MS to finally get into the tablet market big time.</p>
<p>But there is one other point that is mentioned, and that is that <strong>legacy applications won’t run on the Arm architecture</strong>. The author even states ‘Developers may also face challenges writing their apps for both platforms’.</p>
<p>Urm no! &#8211; Yes we have to lament that great applications that you use every day won’t run but if you really need to run those applications then you can always stick to Intel based kit (and I am sure Intel will love you for it).</p>
<p>But us developers have Silverlight and<em>&#160;</em>I will bet my left arm that the Arm based Win8 is going to run that (This is another sign of why that shift in priorities that people saw as the death of SIlverlight was mentioned).</p>
<p>So what is SIlverlight? It’s an enabler for the write once run anywhere (pc, phone tablet, set top box etc.). Something that us app developers will cherish.</p>
<p>If you like me also follow the rumour mill then you will know that Microsoft are looking to create an app store (can I use those words without being sued?). The backbone of this considering the different architectures that Win8 is going to support has to be Silverlight based I am sure.</p>
<p>What this means for us developers is that there is yet another eco-system on it’s was (people are going to want applications and right now there isn’t any).</p>
<p>So if I was you I would start learning Silverlight and building your app ideas because it looks like there are some good time ahead for those who get in first.&#160; </p>
<p>What are your thoughts? Feel free to leave a comment.</p>
<p>Cheers,</p>
<p>Mike</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/179/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/179/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/179/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=179&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2011/05/18/more-good-times-for-app-developers/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>
	</item>
		<item>
		<title>WP7 Text Boxes &#8211; OnEnter (my 1st Behaviour).</title>
		<link>http://mikehole.com/2011/01/12/wp7-text-boxes-onenter-my-1st-behaviour/</link>
		<comments>http://mikehole.com/2011/01/12/wp7-text-boxes-onenter-my-1st-behaviour/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 13:58:35 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[Phone]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[Behaviours]]></category>
		<category><![CDATA[Text Boxes]]></category>
		<category><![CDATA[Windows Phone]]></category>
		<category><![CDATA[WP7DEV]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2011/01/12/wp7-text-boxes-onenter-my-1st-behaviour/</guid>
		<description><![CDATA[One problem I have encountered on various WP7 apps (including my own applications) is moving between text boxes on a page. The problem can present itself when the SIP is being displayed in front of the next control that requires input. In some cases the user is forced to press an area on the page [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=111&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://mikehole.files.wordpress.com/2011/01/2011-01-12-13h45_15.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border-width:0;" title="2011-01-12 13h45_15" border="0" alt="2011-01-12 13h45_15" align="left" src="http://mikehole.files.wordpress.com/2011/01/2011-01-12-13h45_15_thumb.png?w=131&h=240" width="131" height="240" /></a>One problem I have encountered on various WP7 apps (including my own applications) is moving between text boxes on a page. The problem can present itself when the SIP is being displayed in front of the next control that requires input.</p>
<p>In some cases the user is forced to press an area on the page that does not include a text control to take the focus away from the text box. Once the SIP is hidden then the user can click the control they want to enter text into.</p>
<p>This is mainly because the controls do not support the concept of tab order because the SIP does not include a tab control to move between controls.</p>
<p>One solution to this is to look for the enter key to be released and move the focus on to the next control:</p>
<p><font color="#000000" face="Courier New">private void txtUsername_KeyUp(object sender, System.Windows.Input.KeyEventArgs e)      <br />{       <br />&#160;&#160;&#160; if (e.Key == System.Windows.Input.Key.Enter)       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; txtPassword.Focus();       <br />}</font></p>
<p>This could prove to be a pain for developers and forces additional code within the page code file that can be said to be quite untidy.</p>
<p>It is because of this that I have created my own solution using a behaviour that can be attached to a control. One advantage of this is that it will be possible to set the values using Blend therefore reducing the reliance on the developer.</p>
<h5><span style="color:#a31515;"><font color="#000000">The OnEnter Behaviour:</font></span></h5>
<p> <span style="color:#a31515;"><font color="#000000">
<p><span style="color:#a31515;"><font color="#000000"><font color="#555555">The XAML below gives an example on how the behaviour can be attached to a text box</font></font></span></p>
<p><span style="color:#a31515;"><font color="#000000"><font color="#555555"></font><font color="#000000" face="Courier New">&lt;TextBox x:Name=&quot;txtUsername&quot;&gt;              <br />&#160;&#160;&#160; &lt;i:Interaction.Behaviors&gt;               <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;mh:OnEnter NextControlName=&quot;txtPassword&quot; /&gt;               <br />&#160;&#160;&#160; &lt;/i:Interaction.Behaviors&gt;               <br />&lt;/TextBox&gt;</font></font></span></p>
<p>   </font><font color="#555555"><span style="color:#a31515;"><font color="#000000"><font color="#555555">The additional namespaces that I have added to the page are:</font></font></span></font></span>
<p><font color="#000000" face="Courier New">xmlns:i=&quot;clr-namespace:</font></p>
<p><font color="#000000" face="Courier New">System.Windows.Interactivity;assembly=System.Windows.Interactivity&quot;      <br />xmlns:mh=&quot;clr-namespace:</font></p>
<p><font color="#000000" face="Courier New">MikeHole.WindowsPhone.Behaviors;assembly=MikeHole.WindowsPhone.Behaviors&quot;</font></p>
<p>You can download the project from <a href="http://cid-e5bd18f90789e95b.office.live.com/self.aspx/Public/MikeHole.WindowsPhone.Behaviours.zip" target="_blank">here</a>. (if you have any problems downloading this then please send me an email at: mike [at] mikehole [dot] com and I will send it on).</p>
<p>If you can think of any ways that the behaviour can be improved or know of any better solutions then feel free to leave a comment.</p>
<p>Cheers,</p>
<p>Mike </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=111&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2011/01/12/wp7-text-boxes-onenter-my-1st-behaviour/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2011/01/2011-01-12-13h45_15_thumb.png" medium="image">
			<media:title type="html">2011-01-12 13h45_15</media:title>
		</media:content>
	</item>
		<item>
		<title>Where is my 3rd screen?</title>
		<link>http://mikehole.com/2010/12/03/where-is-my-3rd-screen/</link>
		<comments>http://mikehole.com/2010/12/03/where-is-my-3rd-screen/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 09:13:09 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[xBox]]></category>
		<category><![CDATA[#slfs10]]></category>
		<category><![CDATA[Future Of Silverlight]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2010/12/03/where-is-my-3rd-screen/</guid>
		<description><![CDATA[With MS using the new catch phrase ‘To the cloud’ and saying things like ‘three screens and the cloud’. You would think that they would consider their cross device support even if those devices are all Microsoft based ones. We all can see that they have the cloud sussed with their Azure platform and services [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=103&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri"><a href="http://mikehole.files.wordpress.com/2010/12/image_thumb.png"><img style="background-image:none;padding-left:0;padding-right:0;display:inline;float:left;padding-top:0;border-width:0;margin:0 10px 0 0;" title="image_thumb" border="0" alt="image_thumb" align="left" src="http://mikehole.files.wordpress.com/2010/12/image_thumb_thumb.png?w=267&h=177" width="267" height="177" /></a>With MS using the new catch phrase ‘To the cloud’ and saying things like ‘three screens and the cloud’. You would think that they would consider their cross device support even if those devices are all Microsoft based ones. </font></font></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri">We all can see that they have the cloud sussed with their Azure platform and services based offerings and this excites me greatly and makes me wish that I can start thinking about those three screens. </font></font></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri">So the third screen is my TV right? How do I get to use my TV as the third screen well that would be with my Xbox surely. But do I really have to use XNA to realise this dream especially since I have all my design assets within XAML right now. </font></font></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri">There have been all sorts of rumours regarding SL on the Xbox without any sort of foundation or demonstration from MS. </font></font></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri">For yesterdays Future of Silverlight Keynote I was hoping that we would see some more regarding the platforms that Microsoft are targeting specifically hoping that one of those would be the xBox. </font></font></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri">What I actually saw was how Silverlight Is concentrating on adding abilities that are mainly PC based along the lines of pInvoke and even remote control devices (surely this has been added because of a specific supplier request not because the public have asked). </font></font></font></p>
<p style="margin:0 0 10pt;" class="MsoNormal"><font size="3"><font color="#000000"><font face="Calibri">It is about time they made things clear so that they can either quash or realise my hopes. </font></font></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=103&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2010/12/03/where-is-my-3rd-screen/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/12/image_thumb_thumb.png" medium="image">
			<media:title type="html">image_thumb</media:title>
		</media:content>
	</item>
		<item>
		<title>WP7 What to do before the tools are released.</title>
		<link>http://mikehole.com/2010/08/23/wp7-what-to-do-before-the-tools-are-released/</link>
		<comments>http://mikehole.com/2010/08/23/wp7-what-to-do-before-the-tools-are-released/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 20:15:38 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[Phone]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[VS2010]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[WP7DEV]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2010/08/23/wp7-what-to-do-before-the-tools-are-released/</guid>
		<description><![CDATA[Ok so you have just read the announcement on the Windows Phone Developer Blog that we won’t be seeing the tools for a few more weeks. And you have just read that the Pano Pivot and Bing maps controls are finally being released too. And now your thinking ‘I can’t wait till then’. Well here [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=58&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok so you have just read the announcement on the <a href="http://windowsteamblog.com/windows_phone/b/wpdev/archive/2010/08/23/a-developer-s-roadmap-to-windows-phone-7-launch-timing.aspx" target="_blank">Windows Phone Developer Blog</a> that we won’t be seeing the tools for a few more weeks.</p>
<p>And you have just read that the Pano Pivot and Bing maps controls are finally being released too.</p>
<p>And now your thinking ‘I can’t wait till then’. Well here is what to do.</p>
<p>Well for Pano and Pivot use this codeplex project: <a href="http://phone.codeplex.com/">http://phone.codeplex.com/</a></p>
<p>For the Bing maps follow this post: <a href="http://www.silverlighthack.com/post/2010/03/21/Using-the-Silverlight-Bing-Maps-control-on-the-Windows-Phone-7.aspx">http://www.silverlighthack.com/post/2010/03/21/Using-the-Silverlight-Bing-Maps-control-on-the-Windows-Phone-7.aspx</a></p>
<p>I can tell you with great confidence that these things work well with the tools beta as Sequence has compiled an app that is functionally rich and runs without glitch. So don’t skimp on functionality because you don’t have what we have been promised.</p>
<p>I am glad that we haven&#8217;t taken a different approach for our UI and am really looking forward to getting my hands on the final version. </p>
<p>Just make sure you allow yourself half a day to move your code into the official controls. I get a feeling that it’s not going to be hard to move but it may be fiddly.</p>
<p>On another note how cool is it that 300K copies of the tools have been downloaded. People really are going to have to make sure their App shines above the rest to make money. The game is on peeps lets make the new WP7 platform a big success.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=58&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2010/08/23/wp7-what-to-do-before-the-tools-are-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>
	</item>
		<item>
		<title>oData call debugging.</title>
		<link>http://mikehole.com/2010/08/04/odata-call-debugging/</link>
		<comments>http://mikehole.com/2010/08/04/odata-call-debugging/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 20:53:35 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[DataService]]></category>
		<category><![CDATA[oData]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[WP7]]></category>
		<category><![CDATA[WCF Data Services]]></category>
		<category><![CDATA[WP7DEV]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2010/08/04/odata-call-debugging/</guid>
		<description><![CDATA[&#160; If you find yourself looking at error responses from the WCF data service&#160; that only tell you ‘An error occurred while processing this request’ from a WCF Data Service then… Just add: &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; config.UseVerboseErrors = true; to the method: public static void InitializeService(DataServiceConfiguration config) And you will get the full details of why your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=56&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p><a href="http://mikehole.files.wordpress.com/2010/08/odata_logo_ms_small.png"><img style="display:inline;border-width:0;" class="wlDisabledImage" title="OData_logo_MS_small" border="0" alt="OData_logo_MS_small" src="http://mikehole.files.wordpress.com/2010/08/odata_logo_ms_small_thumb.png?w=240&h=29" width="240" height="29" /></a></p>
<p>If you find yourself looking at error responses from the WCF data service&#160; that only tell you ‘An error occurred while processing this request’ from a WCF Data Service then…</p>
<p>Just add:</p>
<pre style="font-family:consolas;">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; config.UseVerboseErrors = <span style="color:blue;">true</span>;<br /></pre>
<p>to the method:</p>
<pre>public static void InitializeService(DataServiceConfiguration config)<br /></pre>
<p>And you will get the full details of why your data service isn’t doing what you want it to.</p>
<p>If you want you can also override the HandleException method to capture the exception on the server:</p>
<pre style="font-family:consolas;">&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue;">protected</span>&#160;<span style="color:blue;">override</span>&#160;<span style="color:blue;">void</span> HandleException(<span style="color:#2b91af;">HandleExceptionArgs</span> args)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue;">base</span>.HandleException(args);<br /> <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:green;">//Do something to handle the exception.</span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br /></pre>
<p>&#160;</p>
<p>Hope this helps – sure has helped me!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=56&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2010/08/04/odata-call-debugging/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/08/odata_logo_ms_small_thumb.png" medium="image">
			<media:title type="html">OData_logo_MS_small</media:title>
		</media:content>
	</item>
		<item>
		<title>Dynamics CRM 4 with Silverlight Part 1 &#8211; The IFRAME approach.</title>
		<link>http://mikehole.com/2010/04/24/dynamics-crm-4-with-silverlight-part-1-the-iframe-approach/</link>
		<comments>http://mikehole.com/2010/04/24/dynamics-crm-4-with-silverlight-part-1-the-iframe-approach/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 17:40:53 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[Dynamics CRM]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[VS2010]]></category>
		<category><![CDATA[xRm]]></category>
		<category><![CDATA[V4]]></category>

		<guid isPermaLink="false">https://mikehole.wordpress.com/2010/04/24/dynamics-crm-4-with-silverlight-part-1-the-iframe-approach/</guid>
		<description><![CDATA[Introduction 29/72010: Sorry but I am going to be dropping this series because my software focus has change to developing Windows Phone 7 applications. Maybe re visit this in the future (hopefully before CRM 5 is released Hi, this is part 1 of a series of posts giving an introduction to extending Microsoft Dynamics using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=48&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h4>Introduction</h4>
<div style="display:inline;float:left;margin:0;padding:0;" id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:b955f5ee-c622-4166-b405-07f06bba58c5" class="wlWriterEditableSmartContent"><a href="http://mikehole.files.wordpress.com/2010/04/contact8x6.png" title="" rel="thumbnail"><img border="0" src="http://mikehole.files.wordpress.com/2010/04/contact.png?w=272&h=225" width="272" height="225" /></a></div>
<p><strong>29/72010: Sorry but I am going to be dropping this series because my software focus has change to developing Windows Phone 7 applications. Maybe re visit this in the future (hopefully before CRM 5 is released <img style="border-style:none;" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://mikehole.files.wordpress.com/2010/07/wlemoticonwinkingsmile.png?w=575" /></strong></p>
<p>Hi, this is part 1 of a series of posts giving an introduction to extending Microsoft Dynamics using Silverlight.</p>
<p>In this post I will outline how to add a custom Silverlight control to any of the entity forms.</p>
<p>For these articles I will be using Visual Studio 2010 Professional with All of the usual <a href="http://www.silverlight.net/getstarted/" target="_blank">Silverlight (version 4)</a> tools installed.</p>
<p>At <a href="http://www.sequence.co.uk/" target="_blank">Sequence</a> the company where I work we make use of the <a href="http://crmaccelerators.codeplex.com/releases/view/19956" target="_blank">eService accelerator</a> this allows our customers to log cases via an extension to our web site.&#160; For this series of posts I am going to create a new tab in the contact entity screen that will display details of the contacts log in details that are stored in a separate ASP.NET authentication database.</p>
<h4>How it works</h4>
<p>The CRM 4 entity forms allow administrators to customise forms in many different ways but the one way that makes things handy for us is the ability to add IFRAME elements into a form. We will use this customisation to display a Silverlight control inside the form.</p>
<h4>
<p>&#160;</p>
<p>&#160;</p>
<p> Getting Started</h4>
<p>Create a new Silverlight application as normal ensuring that you enable RIA services and create a test web project. </p>
<p>NOTE: In future when you will want to make this live you will need a server available that you can add the .Net framework 4 and host the web site or virtual directory.</p>
<h4></h4>
<h4>Identifying the Entity</h4>
<p>So that the Silverlight application knows what entity it is using it will need to be passed the Id of the entity that is being displayed in the entity form. To ensure that this works when you add an IFRAME customisation to an entity you will need to ensure that the I frame is passed the record ID and type:</p>
<p><a href="http://mikehole.files.wordpress.com/2010/04/image.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://mikehole.files.wordpress.com/2010/04/image_thumb.png?w=455&h=47" width="455" height="47" /></a></p>
<p>This results in the following URL:</p>
<p><a href="http://localhost:40363/ContactDashboard.aspx?type=2&amp;typename=contact&amp;id={299390EB-049E-DE11-A280-00155D801211}&amp;orgname=Sequence&amp;userlcid=1033&amp;orglcid=1033">http://localhost:40363/ContactDashboard.aspx?type=2&amp;typename=contact&amp;id={299390EB-049E-DE11-A280-00155D801211}&amp;orgname=Sequence&amp;userlcid=1033&amp;orglcid=1033</a></p>
<p>To get these values into my Silverlight application I have decided to use Silverlight parameters. To do this I first added the following code to the ASPX page that displays the application:</p>
<p><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">public</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">string</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> SilverlightParams</font> </font>
<p>{</p>
<p>&#160;</p>
</p>
<p> <font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; get</font></font></font>
<p>&#160;</p>
<p> <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;&#160;&#160; {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p>
<p>   </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">string</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> sRes = </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">string</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">.Format(</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;id={0},type={1},orgname={2},typename={3}&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">, </font></font></font>
<p><font size="2" face="Consolas"><font size="2" face="Consolas">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Request[</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;id&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">], Request[</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;type&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">], Request[</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;orgname&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">], Request[</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;typename&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">]);</font> </font><br />
<blockquote>
<p>&#160;</p>
</blockquote>
<p>   <font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160; return</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> sRes;</font></font>
<p>&#160;&#160;&#160; }</p>
<p>}</p>
<p>Then in the page mark-up I added the following to the params for the Silverlight application: </p>
<p>&lt;<font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font color="#000000" size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;initParams&quot;</font></font></font><font size="2" face="Consolas"><font color="#000000" size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;</font></font></font><font size="2" face="Consolas"><font color="#000000" size="2" face="Consolas">&lt;%</font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"> =</font></font></font><font size="2" face="Consolas"><font color="#000000" size="2" face="Consolas"> SilverlightParams %&gt;</font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&quot;</font></font></font><font size="2" face="Consolas"><font color="#000000" size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">/&gt;</font></font></font></p>
<p>So we get this:</p>
<p>   <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">object</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">data</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;data:application/x-silverlight-2,&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">type</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;application/x-silverlight-2&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"></font></font></font></font>
<p><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">&#160;&#160; width</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;100%&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">height</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;100%&quot;&gt;</font></font></font></p>
<p>   <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;source&quot;&#160;&#160;&#160; </font></font></font></font>
<p><font color="#0000ff">&#160;&#160;&#160;&#160;&#160; </font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;ClientBin/Sequence.CRM.SilverlightExtensions.MainDashboard.xap&quot;/&gt;</font></font></font></p>
<p>   <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;onError&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;onSilverlightError&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">/&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;background&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;white&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">/&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;minRuntimeVersion&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;4.0.50303.0&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">/&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;autoUpgrade&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;true&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">/&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">param</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">name</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;initParams&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">value</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">&lt;%</font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"> =</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> SilverlightParams %&gt;</font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">/&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">a</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">href</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=<a href="http://go.microsoft.com/fwlink/?LinkID=149156&amp;v=4.0.50303.0">http://go.microsoft.com/fwlink/?LinkID=149156&amp;v=4.0.50303.0</a></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"></font></font></font></font>
<p><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">&#160;&#160;&#160;&#160;&#160;&#160;&#160; style</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;</font></font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">text-decoration</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">:none&quot;&gt;</font></font></font></p>
<p>   <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160; &lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">img</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">src</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=<a href="http://go.microsoft.com/fwlink/?LinkId=161376">http://go.microsoft.com/fwlink/?LinkId=161376</a></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font></font>
<p><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#555555">&#160;&#160;&#160;&#160;&#160;&#160; </font>alt</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;Get Microsoft Silverlight&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">style</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;</font></font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">border-style</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">:none&quot;/&gt;</font></font></font></p>
<p>   <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; &lt;/</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">a</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>     </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&lt;/</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">object</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&gt;&lt;</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">iframe</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">id</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;_sl_historyFrame&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">style</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">=&quot;</font></font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">visibility</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">:hidden;</font></font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">height</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">:0px;</font></font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">width</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">:0px;</font></font></font><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas"><font color="#ff0000" size="2" face="Consolas">border</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">:0px&quot;&gt;&lt;/</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">iframe</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&gt;&lt;/</font></font></font><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas"><font color="#800000" size="2" face="Consolas">div</font></font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&gt;</font></font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"><br />
<h4></h4>
<h4></h4>
<h4></h4>
<h4>Making the App Know the entity Id</h4>
<p><font color="#000000" face="Verdana">In the Silverlight application project I added the following to the App class code:</font></p>
<p>       <font face="Consolas"><font face="Consolas">
<p>&#160;</p>
<p>         </font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">private</font></font></font><font face="Consolas"><font face="Consolas"> </font></font><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas">Guid</font></font></font><font face="Consolas"><font face="Consolas">? m_ContactID = </font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">null</font></font></font><font face="Consolas"><font face="Consolas">;</font>
<p>&#160;</p>
<p>         </font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">public</font></font></font><font face="Consolas"><font face="Consolas"> </font></font><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas">Guid</font></font></font><font face="Consolas"><font face="Consolas">? ContactID</font>
<p>{</p>
<p>&#160;</p>
<p>         </font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">&#160;&#160;&#160; get</font></font></font></font><font face="Consolas"><font face="Consolas">
<p>&#160;&#160;&#160; {</p>
<p>&#160;</p>
<p>         </font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">&#160;&#160;&#160;&#160;&#160;&#160;&#160; return</font></font></font><font face="Consolas"><font face="Consolas"> m_ContactID;</font>
<p>&#160;&#160;&#160; }</p>
<p>}</p>
<p>         </font></font>
<p><font color="#000000" face="Verdana">In the Application_Startup method:</font></p>
<p>       <font face="Consolas"><font face="Consolas">
<p>&#160;</p>
<p>         </font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">private</font></font></font><font face="Consolas"><font face="Consolas"> </font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">void</font></font></font><font face="Consolas"><font face="Consolas"> Application_Startup(</font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">object</font></font></font><font face="Consolas"><font face="Consolas"> sender, </font></font><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas">StartupEventArgs</font></font></font><font face="Consolas"><font face="Consolas"> e)</font>
<p>{</p>
<p>         </font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font size="2" face="Consolas"><font size="2" face="Consolas">
<p>&#160;</p>
<p>               </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">&#160;&#160;&#160; if</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> (!</font></font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">string</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">.IsNullOrEmpty(e.InitParams[</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;id&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">]))</font>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; m_ContactID = </p>
<p>               </font><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">new</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> </font></font><font color="#2b91af" size="2" face="Consolas"><font color="#2b91af" size="2" face="Consolas"><font color="#2b91af" size="2" face="Consolas">Guid</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">(e.InitParams[</font></font><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas"><font color="#a31515" size="2" face="Consolas">&quot;id&quot;</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">]);</font>
<p>&#160;</p>
<p>               </font></font></font></font><font face="Consolas"><font face="Consolas"></font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">&#160;&#160;&#160; </font></font></font></font>
<p><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">&#160;&#160;&#160; this</font></font></font><font face="Consolas"><font face="Consolas">.RootVisual = </font></font><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas"><font color="#0000ff" face="Consolas">new</font></font></font><font face="Consolas"><font face="Consolas"> </font></font><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas"><font color="#2b91af" face="Consolas">MainPage</font></font></font><font face="Consolas"><font face="Consolas">();</font> </font>
<p>}</p>
<p><font color="#000000" face="Verdana">We can now access the ContactID anywhere in the code like this:</font></p>
<p>         <font size="2" face="Consolas"><font size="2" face="Consolas">
<p>((</p>
<p>           </font><font color="#2b91af" size="2" face="Consolas"><font color="#2b91af" size="2" face="Consolas"><font color="#2b91af" size="2" face="Consolas">App</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">)</font></font><font color="#2b91af" size="2" face="Consolas"><font color="#2b91af" size="2" face="Consolas"><font color="#2b91af" size="2" face="Consolas">App</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas">.Current).ContactID</font></font></font><br />
<h4>&#160;</h4>
<h4>Just checking</h4>
<p><font color="#000000" face="Verdana">Here is a screenshot of a simple app in an I frame just to show it works:</font></p>
<p><a href="http://mikehole.files.wordpress.com/2010/04/image1.png"><font face="Verdana"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://mikehole.files.wordpress.com/2010/04/image_thumb1.png?w=600&h=160" width="600" height="160" /></font></a><font face="Verdana"> </font></p>
<p><font face="Verdana">In part 2 I will show how to hook this app up to the ASP.NET authentication database.</font></p>
</p>
<p>&#160;</p>
<p>     </font></font></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=48&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2010/04/24/dynamics-crm-4-with-silverlight-part-1-the-iframe-approach/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/04/contact.png" medium="image" />

		<media:content url="http://mikehole.files.wordpress.com/2010/07/wlemoticonwinkingsmile.png" medium="image">
			<media:title type="html">Winking smile</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/04/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/04/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft getting stick for using Flash again.</title>
		<link>http://mikehole.com/2010/04/13/microsoft-getting-stick-for-using-flash-again/</link>
		<comments>http://mikehole.com/2010/04/13/microsoft-getting-stick-for-using-flash-again/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 08:37:11 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Kin]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://mikehole.wordpress.com/?p=18</guid>
		<description><![CDATA[Somehow I missed it but Microsoft launched a new phone platform recently (Kin). This comprises of two phones that have quite different factors but have one main purpose, to be the users social hub. To promote the new phones Microsoft have put together a web site that gives the usual brochure-ware details about the product etc. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=18&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a rel="thumbnail" href="http://mikehole.files.wordpress.com/2010/04/untitled8x6.png"><img class="alignleft" style="border:0;" src="http://mikehole.files.wordpress.com/2010/04/untitled.png?w=378&h=328" border="0" alt="" width="378" height="328" /></a></p>
<p>Somehow I missed it but Microsoft launched a new phone platform recently (<a href="http://kin.com" target="_blank">Kin</a>). This comprises of two phones that have quite different factors but have one main purpose, to be the users social hub.</p>
<p>To promote the new phones Microsoft have put together a web site that gives the usual brochure-ware details about the product etc.</p>
<p>The Kin web site has been created using  Flash as a method of delivering the rich experience rather than Silverlight.</p>
<p>This has created the usual mutterings from people on <a href="http://search.twitter.com/search?q=kin+silverlight" target="_blank">Twitter</a> with as you can guess the word ‘Fail’ being used quite a bit.</p>
<p>This really does rattle my cage. I for one can see why Microsoft have used Flash for the front end of the site and yes it is because of the market penetration that Flash currently has over Silverlight.</p>
<p>Imagine if you had a brand new product and you wanted to sell it to the masses but you told the people at the top that although 60% of the web population will get to see it straight away the other 40% will have to download an app first. You have to agree that the people at the top would ask you what pills you have been taking recently. You so have to go with market share on this one.</p>
<p>I am however reserving my bets for the fact that Kin Studio will be written in Silverlight. Kin Studio is the online face of the social aspect of the phones and it looks to be a good showcase of what can be achieved with the Microsoft technology stack including Azure, Silverlight and the new Windows Mobile 7 (platform). If Microsoft have used Silverlight for Kin Studio they will be increasing their penertration of silverlight and you never know maybe oneday they will have enough of a share that they will launch a new product / site with silverlight as the 1st thing people see.</p>
<p>I just hope I am not let down!</p>
<p>BTW: I imagine I will get some flames from this but hay I am sure it won&#8217;t be as much as Microsoft themselves.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=18&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2010/04/13/microsoft-getting-stick-for-using-flash-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/04/untitled.png" medium="image" />
	</item>
		<item>
		<title>And so it starts!</title>
		<link>http://mikehole.com/2010/04/11/and-so-it-starts/</link>
		<comments>http://mikehole.com/2010/04/11/and-so-it-starts/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 20:52:12 +0000</pubDate>
		<dc:creator>mikehole</dc:creator>
				<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[VS2010]]></category>

		<guid isPermaLink="false">http://mikehole.wordpress.com/2010/04/11/and-so-it-starts/</guid>
		<description><![CDATA[Tomorrow we see the launch of Visual Studio 2010 and Silverlight V4. I for one can’t wait as it will give me loads to blog about! Technorati Tags: VS2010,Silverlight<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=14&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="scid:8747F07C-CDE8-481f-B0DF-C6CFD074BF67:9b907c42-997d-4532-ad9b-37b8355efdc4" class="wlWriterEditableSmartContent" style="display:inline;float:left;margin:0;padding:0;"><a rel="thumbnail" href="http://mikehole.files.wordpress.com/2010/04/visualstudio2010logo18x6.png"><img src="http://mikehole.files.wordpress.com/2010/04/visualstudio2010logo1.png?w=377&h=324" border="0" alt="" width="377" height="324" /></a></div>
<p>Tomorrow we see the launch of Visual Studio 2010 and Silverlight V4.</p>
<p>I for one can’t wait as it will give me loads to blog about!</p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:506ee78b-35f2-471f-abbb-edc29a60aef3" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/VS2010">VS2010</a>,<a rel="tag" href="http://technorati.com/tags/Silverlight">Silverlight</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mikehole.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mikehole.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mikehole.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mikehole.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mikehole.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mikehole.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mikehole.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mikehole.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mikehole.com&#038;blog=13039743&#038;post=14&#038;subd=mikehole&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mikehole.com/2010/04/11/and-so-it-starts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4a4ea83363a7e21f40c8e807f6d78869?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mikehole</media:title>
		</media:content>

		<media:content url="http://mikehole.files.wordpress.com/2010/04/visualstudio2010logo1.png" medium="image" />
	</item>
	</channel>
</rss>
