<?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/"
	>

<channel>
	<title>ThumNet &#187; silverlight3</title>
	<atom:link href="http://blog.thumnet.com/tag/silverlight3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.thumnet.com</link>
	<description>Just a ThumNet blog</description>
	<lastBuildDate>Fri, 06 Aug 2010 09:34:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Silverlight 3 Navigation</title>
		<link>http://blog.thumnet.com/silverlight-3-navigation/70/</link>
		<comments>http://blog.thumnet.com/silverlight-3-navigation/70/#comments</comments>
		<pubDate>Thu, 28 May 2009 21:53:30 +0000</pubDate>
		<dc:creator>Laurens 't Hardt</dc:creator>
				<category><![CDATA[DevDays09]]></category>
		<category><![CDATA[qnh]]></category>
		<category><![CDATA[silverlight3]]></category>

		<guid isPermaLink="false">http://blog.thumnet.com/?p=70</guid>
		<description><![CDATA[This post is about the session called What’s new in Silverlight 3 given by Mike Taulty. A major disadvantage of RIA, Rich Internet Application, is that the state is of an application can not be recovered after the browser has been closed. In Silverlight 3 there’s a solution for this problem. In SL3 you are [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about the session called <strong>What’s new in Silverlight 3</strong> given by Mike Taulty.</p>
<p>A major disadvantage of RIA, Rich Internet Application, is that the state is of an application can not be recovered after the browser has been closed.</p>
<p>In Silverlight 3 there’s a solution for this problem. In SL3 you are now able to create a SL page. This in combination with the Frame and navigation Source make it possible to navigate through the same application based on the url.</p>
<p>The first part of the url is the path to the page on which the Silverlight page is located, for example <em>http://localhost/SLapp.html</em>.</p>
<p>After this the part of the url for the navigation within the application can be placed. This part must be preceded by a &#8216;#&#8217;, for example <em>http://localhost/SLapp.html#SearchPage.xaml</em>.</p>
<p>From webapplications we also now the querystring in the url for passing parameters to a site, this is also implemented in silverlight in the same way. The previously used url can then be formatted as followed <em>http://localhost/SLapp.html#SearchPage.xaml?title=silverlight</em></p>
<p>More information about <a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/04/09/silverlight-3-and-navigation-applications.aspx">page navigation</a> can be found at Mike Taulty&#8217;s blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thumnet.com/silverlight-3-navigation/70/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight 3 Validation and Dataform control</title>
		<link>http://blog.thumnet.com/silverlight-3-validation-dataform-control/66/</link>
		<comments>http://blog.thumnet.com/silverlight-3-validation-dataform-control/66/#comments</comments>
		<pubDate>Thu, 28 May 2009 21:48:02 +0000</pubDate>
		<dc:creator>Jeffrey Tummers</dc:creator>
				<category><![CDATA[DevDays09]]></category>
		<category><![CDATA[qnh]]></category>
		<category><![CDATA[silverlight3]]></category>

		<guid isPermaLink="false">http://blog.thumnet.com/?p=66</guid>
		<description><![CDATA[This post is about the session calledWhat’s new in Silverlight 3 given by Mike Taulty. Silverlight 3 has a new way for validating data. The validation rules can be set in a number of different ways: Throwing an exception Adding specific attributes to the classes properties I specifically like the way the business rules can [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about the session called<strong>What’s new in Silverlight 3</strong> given by Mike Taulty.</p>
<p>Silverlight 3 has a new way for validating data. The validation rules can be set in a number of different ways:</p>
<ul>
<li>Throwing an exception</li>
<li>Adding specific attributes to the classes properties</li>
</ul>
<p>I specifically like the way the business rules can be applied to an object. Some samples of specifying the validation are shown below.</p>
<pre class="brush: csharp;">
class Person
{
[Required(ErrorMessage = “The name of the person is required”)]
public string Name { get; set; }

[Range(18, 65, ErrorMessage = ”The person must be between 18 and 65 years old”)]
[DefaultValue(20)]
public int Age { get; set; }
}
</pre>
<p>More validation attributes are available at <a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.dataannotations.aspx">MSDN</a></p>
<p>The nice thing about the new version of Silverlight 3 is that the default input controls can handle these validation errors and show them to the user, this is very similar to the way we know validation controls in ASP.NET. The way in which these messages are shown is fully customizable through themes.</p>
<p><img class="aligncenter size-full wp-image-67" src="http://blog.thumnet.com/wp-content/uploads/2009/05/sl3_dataform.png" alt="sl3_dataform" width="605" height="292" /></p>
<p>The screenshot above shows an example of the new Dataform which is also available in Silverlight 3. It also gives you an example of the standard way a user is informed about errors.</p>
<p>With the new Dataform control it is possible to automatically render the CRUD GUI for an object or list of objects.</p>
<p>By implementing the IEditableObject interface for an object, the following events can be handled within the class: BeginEdit, CancelEdit and EndEdit</p>
<p>For more information about the Dataform control see the <a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/03/18/a-quick-look-at-silverlight-3-dataform-control.aspx">following blog</a> post of Mike Taulty, another post by Mike Taulty is <a href="http://mtaulty.com/CommunityServer/blogs/mike_taultys_blog/archive/2009/03/18/a-quick-look-at-silverlight-3-data-validation.aspx">about data validation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thumnet.com/silverlight-3-validation-dataform-control/66/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight 3 Out of browser</title>
		<link>http://blog.thumnet.com/silverlight-3-out-of-browser/53/</link>
		<comments>http://blog.thumnet.com/silverlight-3-out-of-browser/53/#comments</comments>
		<pubDate>Thu, 28 May 2009 21:38:51 +0000</pubDate>
		<dc:creator>Laurens 't Hardt</dc:creator>
				<category><![CDATA[DevDays09]]></category>
		<category><![CDATA[qnh]]></category>
		<category><![CDATA[silverlight3]]></category>

		<guid isPermaLink="false">http://blog.thumnet.com/?p=53</guid>
		<description><![CDATA[This post is about the session called What&#8217;s new in Silverlight 3 given by Mike Taulty In Silverlight 3 it is now possible to run the application as a standalone desktop application. To enable this functionality this must be enabled in the AppManifest.xml file of the application. &#60;Deployment xmlns=&#34;http://schemas.microsoft.com/client/2007/deployment&#34; xmlns:x=&#34;http://schemas.microsoft.com/winfx/2006/xaml&#34; EntryPointAssembly=&#34;TaskList&#34; EntryPointType=&#34;TaskList.App&#34;&#62; &#60;Deployment.Parts&#62; &#60;/Deployment.Parts&#62; &#60;Deployment.ApplicationIdentity&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This post is about the session called <strong>What&#8217;s new in Silverlight 3</strong> given by Mike Taulty</p>
<p>In Silverlight 3 it is now possible to run the application as a standalone desktop application. To enable this functionality this must be enabled in the <em>AppManifest.xml</em> file of the application.</p>
<pre class="brush: xml;">
&lt;Deployment xmlns=&quot;http://schemas.microsoft.com/client/2007/deployment&quot;
xmlns:x=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;
EntryPointAssembly=&quot;TaskList&quot;
EntryPointType=&quot;TaskList.App&quot;&gt;
&lt;Deployment.Parts&gt;
&lt;/Deployment.Parts&gt;
&lt;Deployment.ApplicationIdentity&gt;
&lt;ApplicationIdentity
ShortName=&quot;Task List&quot;
Title=&quot;Offline Task List&quot;&gt;
&lt;ApplicationIdentity.Blurb&gt;
Allows saving your tasks offline
&lt;/ApplicationIdentity.Blurb&gt;
&lt;/ApplicationIdentity&gt;
&lt;/Deployment.ApplicationIdentity&gt;
&lt;/Deployment&gt;
</pre>
<p>The user can now choose to install the application to the computer, on right mouse click the menu below is shown.</p>
<p><img class="alignnone size-full wp-image-54" src="http://blog.thumnet.com/wp-content/uploads/2009/05/sp3_install_menu.png" alt="sp3_install_menu" width="228" height="46" /></p>
<p>Next the user can choose where the shortcuts to the application will be placed.</p>
<p><img class="alignnone size-full wp-image-55" src="http://blog.thumnet.com/wp-content/uploads/2009/05/sl3_install_app.png" alt="sl3_install_app" width="462" height="195" /></p>
<p>The application can now be run from out of the browser but still in the same secure sandbox. The application is automatically updated whenever a new version of the application is available from the website.</p>
<p>After the application is installed it’s very easy for the user to remove the application from the computer. When running the application under the right mouse menu the option to install the application is now replaced by the option to remove the application.</p>
<p><img class="alignnone size-full wp-image-56" src="http://blog.thumnet.com/wp-content/uploads/2009/05/sp3_remove_menu.png" alt="sp3_remove_menu" width="166" height="47" /></p>
<p>Because it’s now possible to run Silverlight applications from the desktop it’s now also become possible to run a Silverlight application without having a internet connection.</p>
<p>A nifty feature is now introduced to Silverlight 3 to adapt to this situation. It’s is now possible to detect whether an internet connection is available or not.</p>
<p>Through the method <em>NetworkInterface.GetIsNetworkAvailable()</em> it’s possible to see if an internet connection is available. Through the <em>NetworkChange.NetworkAddressChanged</em> event network changes can be detected when a user connect or disconnect from the internet.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thumnet.com/silverlight-3-out-of-browser/53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
