<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Silverlight</title>
        <link>http://www.onteorasoftware.com/category/26.aspx</link>
        <description>Silverlight</description>
        <language>en-US</language>
        <copyright>Ken Tucker</copyright>
        <generator>Subtext Version 2.1.2.2</generator>
        <item>
            <title>Silverlight 3 Could Not download the silverlight Application</title>
            <link>http://blog.onteorasoftware.net/archive/2009/07/15/silverlight-3-could-not-download-the-silverlight-application.aspx</link>
            <description>&lt;p&gt;I created a simple Silverlight 3 app.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&amp;lt;UserControl x:Class="SilverlightApplication2.MainPage" &lt;br /&gt;
    xmlns="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation%22"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/a&gt; &lt;br /&gt;
    xmlns:x="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml%22"&gt;http://schemas.microsoft.com/winfx/2006/xaml"&lt;/a&gt; &lt;br /&gt;
    xmlns:d="&lt;a href="http://schemas.microsoft.com/expression/blend/2008%22"&gt;http://schemas.microsoft.com/expression/blend/2008"&lt;/a&gt; xmlns:mc="&lt;a href="http://schemas.openxmlformats.org/markup-compatibility/2006%22"&gt;http://schemas.openxmlformats.org/markup-compatibility/2006"&lt;/a&gt; &lt;br /&gt;
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"&amp;gt; &lt;br /&gt;
    &amp;lt;Grid x:Name="LayoutRoot"&amp;gt; &lt;br /&gt;
        &amp;lt;TextBlock Text="Hello World!" &amp;gt;&amp;lt;/TextBlock&amp;gt; &lt;br /&gt;
    &amp;lt;/Grid&amp;gt; &lt;br /&gt;
&amp;lt;/UserControl&amp;gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When I run it I get this error&lt;/p&gt;
&lt;p&gt;&lt;a href="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_2.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="image" border="0" alt="image" width="244" height="163" src="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Line: 56 &lt;br /&gt;
Error: Unhandled Error in Silverlight Application &lt;br /&gt;
Code: 2104    &lt;br /&gt;
Category: InitializeError       &lt;br /&gt;
Message: Could not download the Silverlight application. Check web server settings    &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Well if you look in the ClientBin folder you will see it is empty so the xap file is not available to be used&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;To fix this right click on the web application and select Build Order.  On the Dependencies tab make sure the Checkbox next to the Silverlight app is checked.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_4.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="image" border="0" alt="image" width="244" height="233" src="http://onteorasoftware.net/files/media/image/WindowsLiveWriter/Silverlight3CouldNotdownloadthesilverlig_5FF5/image_thumb_1.png" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/144.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/07/15/silverlight-3-could-not-download-the-silverlight-application.aspx</guid>
            <pubDate>Wed, 15 Jul 2009 04:00:00 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/144.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/07/15/silverlight-3-could-not-download-the-silverlight-application.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/144.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Space Coast .Net Meeting – June 16, 2009 John Papa</title>
            <link>http://blog.onteorasoftware.net/archive/2009/06/14/space-coast-net-meeting-ndash-june-16-2009-john-papa.aspx</link>
            <description>&lt;h5&gt;&lt;a href="http://www.scdnug.org/#"&gt;John Papa - Ado.Net Data Services&lt;/a&gt;&lt;/h5&gt;
&lt;p&gt;6/17/2009 6:30:00 PM &lt;/p&gt;
&lt;p&gt;6/17/2009 8:00:00 PM &lt;/p&gt;
&lt;h3&gt;About&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://johnpapa.net/files/media/image/WindowsLiveWriter/About_AF62/jp2_2.jpg"&gt;&lt;img title="jp2" alt="jp2" width="100" height="133" src="http://johnpapa.net/files/media/image/WindowsLiveWriter/About_AF62/jp2_thumb.jpg" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;John Papa is a &lt;a href="https://mvp.support.microsoft.com/profile=7D3BBCB7-E956-4730-B3E0-24BD7EAD0D5D"&gt;Microsoft C# MVP&lt;/a&gt;, &lt;a href="http://www.ineta.org/DesktopDefault.aspx?tabindex=2&amp;amp;tabid=14"&gt;INETA speaker&lt;/a&gt;, member of the WPF and Silverlight Insiders, consultant, speaker, author, and trainer for &lt;a href="http://www.aspsoft.com/"&gt;ASPSOFT&lt;/a&gt; who specializes in professional application development with Microsoft technologies including Silverlight, WPF, C#, .NET and SQL Server. John has written over 70 articles and authored 9 books including his latest book &lt;a href="http://www.amazon.com/exec/obidos/ASIN/0596523092/johnpanet-20"&gt;Data Driven Services with Silverlight 2&lt;/a&gt; by O’Reilly Media. John is currently working on a follow up to his Silverlight book, with a working title of Silverlight for Business. &lt;/p&gt;
&lt;p&gt;He can often be found speaking at industry conferences such as &lt;a href="http://www.visitmix.com/"&gt;MIX&lt;/a&gt;,  &lt;a href="http://www.vslive.com/"&gt;VSLive&lt;/a&gt; and &lt;a href="http://www.devconnections.com/"&gt;DevConnections&lt;/a&gt;, speaking at user groups around the country, and viewed on MSDN Web Casts. John also spearheaded the 1&lt;sup&gt;st&lt;/sup&gt; annual Silverlight MIXer, a gathering of some of the most influential members of the Silverlight community for a great night a MIX09. You can always find John at &lt;a href="http://www.johnpapa.net/"&gt;johnpapa.net&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;John Papa will be showing Astoria using Silverlight 3 beta as the client. &lt;/p&gt;
&lt;p&gt;ADO.NET Data Services (codenamed Astoria) exposes entity models through RESTful services. It can dramatically simplify the code required to expose business objects through web services and reduce a tremendous amount of code. This session will show how to expose entity models using ADO.NET Data Services, how to consume and save data, and how to debug the communications using various tools. When the technology does not quite do what you need out of the box, it also allows for customizations to create custom service operations, intercept queries, and enforce permissions. Attendees will walk away with an understanding of the capabilities of ADO.NET Data Services, how to use them with Silverlight, and when and where it is ideal to use in an application architecture and when there are better options. &lt;/p&gt;
&lt;p&gt;Street: 8045 N. Wickham Road &lt;br /&gt;
City: melbourne&lt;br /&gt;
Country: USA&lt;br /&gt;
State: Florida &lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/145.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Blog Author</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/06/14/space-coast-net-meeting-ndash-june-16-2009-john-papa.aspx</guid>
            <pubDate>Sun, 14 Jun 2009 04:00:00 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/145.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/06/14/space-coast-net-meeting-ndash-june-16-2009-john-papa.aspx#feedback</comments>
            <slash:comments>3</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/145.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Silverlight 2 GDR Available</title>
            <link>http://blog.onteorasoftware.net/archive/2009/02/22/silverlight-2-gdr-available.aspx</link>
            <description>&lt;p&gt;
This week Microsoft Release an GDR to silverlight 2 which included some minor fixes.
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Here is a list of the main changes in the GDR (build 2.0.40115.0):
&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Fixes problems that were caused by Silverlight and McAfee scanning tools interactions&lt;/li&gt;
	&lt;li&gt;UI automation stability fixes, including: 
	&lt;ul&gt;
		&lt;li&gt;graceful failures when attempting to use features that require .NET
		Framework 3.0 or 3.5 on machines that do not have either framework
		installed&lt;/li&gt;
		&lt;li&gt;improved Tablet support&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Fixes an issue that arises when Mac users customize their environment by removing Arial and Verdana fonts&lt;/li&gt;
	&lt;li&gt;Fixes a known issue with Isolated Storage IncreaseQuotaTo method (see &lt;a href="http://silverlight.net/forums/p/51485/135114.aspx"&gt;this post for more information&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
&lt;br /&gt;
The one fix which bothered me a lot is the graceful failures when attempting to use features that require .Net framework 3.0 or 3.5 on machines that do that nave either framework installed. Silverlight 2 has its own version of the .net framework why should it use .net 3.0 or 3.5 and of course the .net framework is not available for the mac.  Well after looking around some I found this in the comments on Tim Sneath's Blog
&lt;/p&gt;
&lt;p&gt;
 
" apologies - we could probably be clearer here on what this
means. Essentially, this was a bug that could be triggered in certain
situations where you were using the accessibility tools (e.g.
magnifier) on Silverlight content on a machine without .NET Framework
installed. In short, the bug was an accidental dependency that has now
been removed." - Tim Sneath
&lt;/p&gt;
&lt;p&gt;
 
&lt;a href="http://blogs.msdn.com/tims/archive/2009/02/18/silverlight-2-gdr1-now-available.aspx"&gt;http://blogs.msdn.com/tims/archive/2009/02/18/silverlight-2-gdr1-now-available.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
For More info on the Update please check out Tim Heuer's Blog entry
&lt;/p&gt;
&lt;p&gt;
 &lt;a href="http://timheuer.com/blog/archive/2009/02/19/silverlight-2-gets-minor-update-gdr1.aspx"&gt;http://timheuer.com/blog/archive/2009/02/19/silverlight-2-gets-minor-update-gdr1.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/6.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/02/22/silverlight-2-gdr-available.aspx</guid>
            <pubDate>Sun, 22 Feb 2009 11:03:09 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/6.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/02/22/silverlight-2-gdr-available.aspx#feedback</comments>
            <slash:comments>14</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/6.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Publishing a VB Silverlight 2 Beta 2 app which uses a WCF service</title>
            <link>http://blog.onteorasoftware.net/archive/2009/02/15/publishing-a-vb-silverlight-2-beta-2-app-which-uses.aspx</link>
            <description>&lt;p&gt;
Note this works with the released version of Silverlight 2 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
I created a Silverlight 2 beta 2 app which uses a WCF Silverlight service which worked fine localy but did call the service when I published it to my web host.  After playing around with the different settings I finally came across an entry in the Silverlight Forums by sladapter with a solution.  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://silverlight.net/forums/t/19021.aspx" title="http://silverlight.net/forums/t/19021.aspx"&gt;http://silverlight.net/forums/t/19021.aspx&lt;/a&gt;  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
So lets create a simple Silverlight 2 App to demo how to do this.  I created a silverlight app with a web application project.   I prefer web applications to web sites but a web site will work the same.   
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Add a WCF Silverlight- enabled service named  service1 to the web application.  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
This is the code I am using for the service
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Imports System.ServiceModel&lt;br /&gt;
Imports System.ServiceModel.Activation  
&lt;/p&gt;
&lt;p&gt;
&amp;lt;ServiceContract(Namespace:="")&amp;gt; _&lt;br /&gt;
&amp;lt;AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)&amp;gt; _&lt;br /&gt;
Public Class Service1  
&lt;/p&gt;
&lt;p&gt;
    &amp;lt;OperationContract()&amp;gt; _&lt;br /&gt;
    Public Function SayHello() As String&lt;br /&gt;
        ' Add your operation implementation here&lt;br /&gt;
        Return "Hello World"&lt;br /&gt;
    End Function&lt;br /&gt;
End Class  
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
Lets add a TextBlock to the Page.xaml to display our message.  
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
&amp;lt;UserControl x:Class="SilverlightApplication2.Page"&lt;br /&gt;
    xmlns="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation"&lt;/a&gt;&lt;br /&gt;
    xmlns:x="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;"&gt;http://schemas.microsoft.com/winfx/2006/xaml"&lt;/a&gt;&lt;br /&gt;
    Width="400" Height="300"&amp;gt;&lt;br /&gt;
    &amp;lt;Grid x:Name="LayoutRoot" Background="White"&amp;gt;&lt;br /&gt;
            &amp;lt;TextBlock x:Name="txt"&amp;gt;Loading..&amp;lt;/TextBlock&amp;gt;&lt;br /&gt;
    &amp;lt;/Grid&amp;gt;&lt;br /&gt;
&amp;lt;/UserControl&amp;gt;  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Now run the app.  Once that is done we can add a service reference to our silverlight app.  Press the arrow on the Discover button and select services in the solution.  You should windup with something like this.
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="/image.axd?picture=WindowsLiveWriter/PublishingaVBSilverlight2Beta2appwhichus_117FE/image_2.png"&gt;&lt;img style="border-width: 0px" src="/image.axd?picture=WindowsLiveWriter/PublishingaVBSilverlight2Beta2appwhichus_117FE/image_thumb.png" border="0" alt="image" width="401" height="336" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
In the silverlight app open up the file ServiceReferences.ClientConfig 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.serviceModel&amp;gt;&lt;br /&gt;
        &amp;lt;bindings&amp;gt;&lt;br /&gt;
            &amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;
                &amp;lt;binding name="BasicHttpBinding_Service1" maxBufferSize="65536"&lt;br /&gt;
                    maxReceivedMessageSize="65536"&amp;gt;&lt;br /&gt;
                    &amp;lt;security mode="None" /&amp;gt;&lt;br /&gt;
                &amp;lt;/binding&amp;gt;&lt;br /&gt;
            &amp;lt;/basicHttpBinding&amp;gt;&lt;br /&gt;
        &amp;lt;/bindings&amp;gt;&lt;br /&gt;
        &amp;lt;client&amp;gt;&lt;br /&gt;
            &amp;lt;endpoint address="&lt;a href="http://localhost:1205/Service1.svc&amp;quot;"&gt;http://localhost:1205/Service1.svc"&lt;/a&gt; binding="basicHttpBinding"&lt;br /&gt;
                bindingConfiguration="BasicHttpBinding_Service1" contract="ServiceReference1.Service1"&lt;br /&gt;
                name="BasicHttpBinding_Service1" /&amp;gt;&lt;br /&gt;
        &amp;lt;/client&amp;gt;&lt;br /&gt;
    &amp;lt;/system.serviceModel&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
In the endpoint address change the contract to include the project name.
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;configuration&amp;gt;&lt;br /&gt;
    &amp;lt;system.serviceModel&amp;gt;&lt;br /&gt;
        &amp;lt;bindings&amp;gt;&lt;br /&gt;
            &amp;lt;basicHttpBinding&amp;gt;&lt;br /&gt;
                &amp;lt;binding name="BasicHttpBinding_Service1" maxBufferSize="65536"&lt;br /&gt;
                    maxReceivedMessageSize="65536"&amp;gt;&lt;br /&gt;
                    &amp;lt;security mode="None" /&amp;gt;&lt;br /&gt;
                &amp;lt;/binding&amp;gt;&lt;br /&gt;
            &amp;lt;/basicHttpBinding&amp;gt;&lt;br /&gt;
        &amp;lt;/bindings&amp;gt;&lt;br /&gt;
        &amp;lt;client&amp;gt;&lt;br /&gt;
            &amp;lt;endpoint address="&lt;a href="http://localhost:1205/Service1.svc&amp;quot;"&gt;http://localhost:1205/Service1.svc"&lt;/a&gt; binding="basicHttpBinding"&lt;br /&gt;
                bindingConfiguration="BasicHttpBinding_Service1" contract="SilverlightApplication2.ServiceReference1.Service1"&lt;br /&gt;
                name="BasicHttpBinding_Service1" /&amp;gt;&lt;br /&gt;
        &amp;lt;/client&amp;gt;&lt;br /&gt;
    &amp;lt;/system.serviceModel&amp;gt;&lt;br /&gt;
&amp;lt;/configuration&amp;gt;  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Now lets add some code to call the service. Page.Xaml.VB
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Partial Public Class Page&lt;br /&gt;
    Inherits UserControl&lt;br /&gt;
    Dim current As String  
&lt;/p&gt;
&lt;p&gt;
    Public Sub New()&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded&lt;br /&gt;
        Dim ws As New ServiceReference1.Service1Client&lt;br /&gt;
        AddHandler ws.SayHelloCompleted, AddressOf HelloComplete&lt;br /&gt;
        ws.SayHelloAsync()&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Private Sub HelloComplete(ByVal sender As Object, ByVal e As ServiceReference1.SayHelloCompletedEventArgs)&lt;br /&gt;
        txt.Text = e.Result&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
End Class  
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Now if we run the app you should see Hello World but when published you will only see loading.   So lets change how we create the service so that this will work once deployed.  Basically we tell the service to use the current web address.
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded&lt;br /&gt;
    Dim address = New Uri(Application.Current.Host.Source, "../Service1.svc")  
&lt;/p&gt;
&lt;p&gt;
    Dim ws As New ServiceReference1.Service1Client("BasicHttpBinding_Service1", address.AbsoluteUri)&lt;br /&gt;
    AddHandler ws.SayHelloCompleted, AddressOf HelloComplete&lt;br /&gt;
    ws.SayHelloAsync()&lt;br /&gt;
End Sub  
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
Hope this helps  
&lt;/p&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/20.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2009/02/15/publishing-a-vb-silverlight-2-beta-2-app-which-uses.aspx</guid>
            <pubDate>Sun, 15 Feb 2009 10:09:36 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/20.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2009/02/15/publishing-a-vb-silverlight-2-beta-2-app-which-uses.aspx#feedback</comments>
            <slash:comments>8</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/20.aspx</wfw:commentRss>
        </item>
        <item>
            <title>MSDN Tikihut tour at Space Coast .Net</title>
            <link>http://blog.onteorasoftware.net/archive/2008/11/07/msdn-tikihut-tour-at-space-coast-.net.aspx</link>
            <description>&lt;table border="0" cellspacing="0" cellpadding="0" width="90%"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td class="EventInfo" valign="top"&gt;&lt;span&gt;&lt;strong&gt;When:&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;
			&lt;td class="EventInfo"&gt;
			&lt;div id="eventInfo_StartDatePanel"&gt;
			&lt;span&gt;Wednesday, November 19, 2008 6:30 PM Eastern Time (US &amp;amp; Canada)&lt;/span&gt;
			&lt;/div&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td colspan="2"&gt;   Who: Joe Healy, Jeff Barnes, and Russ Fustino&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class="EventInfo" colspan="2"&gt;
			&lt;p&gt;
			 
			&lt;/p&gt;
			&lt;p&gt;
			&lt;a href="http://www.dotnettikihut.com/"&gt;http://www.dotnettikihut.com/&lt;/a&gt;
			&lt;/p&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td class="eventInfo" colspan="2"&gt;&lt;br /&gt;
			&lt;strong&gt;&lt;span&gt;Event Overview&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td colspan="2"&gt;
			&lt;div class="eventdetails"&gt;
			&lt;p&gt;
			&lt;span /&gt;
			&lt;/p&gt;
			&lt;p&gt;
			 
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-family: Calibri"&gt;&lt;strong&gt;&lt;span style="font-size: 12pt"&gt;Session 1 - What’s New in SQL Server 2008 for Developers - &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 12pt"&gt;SQL
			Server 2008 adds numerous new capabilities for developers – from
			support for Spatial Data types to a storage mechanism for SQL BLOB data
			using the NTFS file system, and much, much more. The new release also
			delivers several improvements to development-related areas, from T-SQL
			to SQLCLR to XML. This presentation will provide a technical dive into
			the latest and greatest features you’ll find in SQL Server 2008, while
			offering insight into how to effectively apply them to your upcoming
			development projects.&lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-size: 12pt"&gt;&lt;span style="font-family: Calibri"&gt; &lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-family: Calibri"&gt;&lt;strong&gt;&lt;span style="font-size: 12pt"&gt;Session 2 – Build next generation applications with Silverlight 2.0 - &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 12pt"&gt;Silverlight
			provides a powerful platform for building the next generation of rich
			interactive applications on the Internet. In this session, we’ll take a
			look at the programming model and tools that developers and designers
			can leverage to build these true next generation experiences for
			consumers and business, and demonstrate how to build a rich interactive
			application (RIA) using Silverlight and Microsoft .NET. We’ll explore
			how to use Microsoft Visual Studio to create applications, and &lt;span&gt; &lt;/span&gt;networking, how to retrieve data from a Web service, and various other aspects of building Silverlight applications.&lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-size: 12pt"&gt;&lt;span style="font-family: Calibri"&gt; &lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-family: Calibri"&gt;&lt;strong&gt;&lt;span style="font-size: 12pt"&gt;Session
			3 – Real World Application - How to create an end-to-end Mobile GPS
			tracking application using the .NET Compact Framework, WCF, LINQ,
			Silverlight, Deep Zoom, and Virtual Earth - &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 12pt"&gt;Inspired
			by a true-story mobility case study recently published on the
			Microsoft.com website, this session will walk you through how to create
			a mobile GPS tracking application using the .NET Compact Framework,
			Windows Mobile SDK, and Compact SQL. &lt;span&gt;  &lt;/span&gt;At the Web host layer, &lt;span&gt;  &lt;/span&gt;we
			will create a Windows Communication Foundation service and generate a
			Compact framework client proxy to send the GPS tracks to a host web
			server - where finally, the GPS trail can then be viewed using LINQ,
			Silverlight, Deep Zoom, and Virtual Earth. &lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-size: 12pt"&gt;&lt;span style="font-family: Calibri"&gt; &lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p style="margin: 0in 0in 0pt" class="MsoNoSpacing"&gt;
			&lt;span style="font-family: Calibri"&gt;&lt;strong&gt;&lt;span style="font-size: 12pt"&gt;Optional Session 4 (dependent on available event time) - Power up your Office applications with VSTO - &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: 12pt"&gt;In
			this presentation, we’ll focus on the power and productivity of Visual
			Studio Tools for the Microsoft Office System (VSTO) – a .NET Smart
			Client technology. We’ll give you tips and tricks for designing and
			building smart client applications with VSTO, which allows you to
			create managed code applications with .NET languages including
			Microsoft Visual Basic .NET and Visual C#. VSTO also makes it simple to
			manifest the functionality of those applications in the rich user
			interfaces of Microsoft Office Excel, Word, PowerPoint, Visio, Outlook
			and others from the Office stack. VSTO addresses some of the biggest
			challenges that Office solution developers are facing today, including
			separation of data and view elements, server-side and offline
			scenarios, seamless integration with the Visual Studio tools,
			deployment and updating. Join us for this eye-opening session and learn
			just how easy it is to build and deploy powerful applications with VSTO.&lt;/span&gt;&lt;/span&gt;
			&lt;/p&gt;
			&lt;p&gt;
			 
			&lt;/p&gt;
			&lt;/div&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
Please Register if you plan to attend this event.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="https://msevents.microsoft.com/CUI/Register.aspx?culture=en-US&amp;amp;EventID=1032392616&amp;amp;CountryCode=US&amp;amp;IsRedirect=false"&gt;https://msevents.microsoft.com/CUI/Register.aspx?culture=en-US&amp;amp;EventID=1032392616&amp;amp;CountryCode=US&amp;amp;IsRedirect=false&lt;/a&gt;
&lt;/p&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.onteorasoftware.net%2fpost%2fMSDN-Tikihut-tour-at-Space-Coast-Net.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.onteorasoftware.net%2fpost%2fMSDN-Tikihut-tour-at-Space-Coast-Net.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/13.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2008/11/07/msdn-tikihut-tour-at-space-coast-.net.aspx</guid>
            <pubDate>Fri, 07 Nov 2008 13:45:25 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/13.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2008/11/07/msdn-tikihut-tour-at-space-coast-.net.aspx#feedback</comments>
            <slash:comments>14</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/13.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Silverlight 2.0 Create a context menu</title>
            <link>http://blog.onteorasoftware.net/archive/2008/10/05/silverlight-2.0-create-a-context-menu.aspx</link>
            <description>&lt;p&gt;Silverlight 2 does not come with a context menu control.  You could always handle the html document's oncontextmenu event and open a popcontrol to use as a context menu.  This sample should help you get started.  &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;pre&gt;&amp;lt;UserControl x:Class="SilverlightContextMenu.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300"&amp;gt;
    &amp;lt;Grid&amp;gt;
        &amp;lt;Rectangle x:Name="LayoutRoot" Fill ="Green" &amp;gt;&amp;lt;/Rectangle &amp;gt;
        &amp;lt;Popup x:Name="menu"&amp;gt;
            &amp;lt;StackPanel&amp;gt;
                &amp;lt;Button x:Name="btnRed" Content="Red"&amp;gt;&amp;lt;/Button&amp;gt;
                &amp;lt;Button x:Name="btnWhite" Content="White"&amp;gt;&amp;lt;/Button&amp;gt;
                &amp;lt;Button x:Name="btnBlue" Content="Blue"&amp;gt;&amp;lt;/Button&amp;gt;
            &amp;lt;/StackPanel&amp;gt;
        &amp;lt;/Popup&amp;gt;
    &amp;lt;/Grid&amp;gt;
&amp;lt;/UserControl&amp;gt;
&lt;/pre&gt;&lt;pre&gt;Imports System.Windows.Browser

Partial Public Class Page
    Inherits UserControl

    Dim WithEvents cm As ContextMenuCatcher

    Public Sub New()
        InitializeComponent()
    End Sub

    Private Sub btnBlue_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnBlue.Click
        LayoutRoot.fill = New SolidColorBrush(Colors.Blue)
        menu.IsOpen = False
    End Sub

    Private Sub btnRed_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnRed.Click
        LayoutRoot.fill = New SolidColorBrush(Colors.Red)
        menu.IsOpen = False
    End Sub

    Private Sub btnWhite_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnWhite.Click
        LayoutRoot.fill = New SolidColorBrush(Colors.White)
        menu.IsOpen = False
    End Sub

    Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded
        cm = New ContextMenuCatcher(LayoutRoot)
        menu.IsOpen = False
    End Sub

    Private Sub cm_RightClick(ByVal sender As Object, ByVal e As RightClickEventArgs) Handles cm.RightClick
        menu.HorizontalOffset = e.AbsolutePoint.X
        menu.VerticalOffset = e.AbsolutePoint.Y
        menu.IsOpen = True
    End Sub

    Private Sub menu_MouseLeave(ByVal sender As Object, ByVal e As System.Windows.Input.MouseEventArgs) Handles menu.MouseLeave
        menu.IsOpen = False
    End Sub

End Class

Public Class ContextMenuCatcher
    Public Event RightClick(ByVal sender As Object, ByVal e As RightClickEventArgs)
    Dim ctrl As UIElement

    Public Sub New(ByVal c As UIElement)
        ctrl = c

        HtmlPage.Document.AttachEvent("oncontextmenu", AddressOf OnContextMenu)
    End Sub

    Private Sub OnContextMenu(ByVal sender As Object, ByVal e As HtmlEventArgs)
        System.Diagnostics.Debug.WriteLine(e.OffsetX.ToString)
        System.Diagnostics.Debug.WriteLine(e.OffsetY.ToString)
        Dim pt As New Point(e.OffsetX, e.OffsetY)
        e.PreventDefault()
        e.StopPropagation()
        RaiseEvent RightClick(Me, New RightClickEventArgs(ctrl, pt))
    End Sub

End Class

Public Class RightClickEventArgs

    Dim m_Source As UIElement
    Public Property Source() As UIElement
        Get
            Return m_Source
        End Get
        Set(ByVal value As UIElement)
            m_Source = value
        End Set
    End Property

    Dim m_RelativePoint As Point
    Public Property RelativePoint() As Point
        Get
            Return m_RelativePoint
        End Get
        Set(ByVal value As Point)
            m_RelativePoint = value
        End Set
    End Property

    Dim m_AbsolutePoint As Point
    Public Property AbsolutePoint() As Point
        Get
            Return m_AbsolutePoint
        End Get
        Set(ByVal value As Point)
            m_AbsolutePoint = value
        End Set
    End Property

    Friend Sub New(ByVal source As UIElement, ByVal absolutePoint As Point)
        Me.Source = source
        Me.AbsolutePoint = absolutePoint
        Me.RelativePoint = GetPosition(source)
    End Sub

    Public Function GetPosition(ByVal relativeTo As UIElement) As Point
        Dim transform As GeneralTransform = Application.Current.RootVisual.TransformToVisual(relativeTo)
        Return transform.Transform(AbsolutePoint)
    End Function
End Class&lt;/pre&gt;&lt;pre&gt; &lt;/pre&gt;&lt;pre&gt;You also have to make the silverlight control windowless for this to work&lt;/pre&gt;
&lt;p&gt;&amp;lt;asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/SilverlightContextMenu.xap" MinimumVersion="2.0.30923.0" Width="100%" Height="100%" Windowless="true" /&amp;gt; &lt;/p&gt;&lt;img src="http://blog.onteorasoftware.net/aggbug/18.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2008/10/05/silverlight-2.0-create-a-context-menu.aspx</guid>
            <pubDate>Sun, 05 Oct 2008 18:12:54 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/18.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2008/10/05/silverlight-2.0-create-a-context-menu.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/18.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Silverlight 2 RC0 DataGrid CommittingEdit work around</title>
            <link>http://blog.onteorasoftware.net/archive/2008/10/05/silverlight-2-rc0-datagrid-committingedit-work-around.aspx</link>
            <description>&lt;p&gt;
In Silverlight 2 Beta 2 DataGrid had a CommittingEdit event which was a great event to update the data in an ado.net dataservice.   Unfortunately this event was removed in the RC0 of the datagrid.  As a work around Jonathan Shen suggested using a template column and using the LostFocus event to update your dataservice data.
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
                 &amp;lt;data:DataGridTemplateColumn Header="Command"&amp;gt;&lt;br /&gt;
                        &amp;lt;data:DataGridTemplateColumn.CellTemplate&amp;gt;&lt;br /&gt;
                            &amp;lt;DataTemplate&amp;gt;&lt;br /&gt;
                                &amp;lt;TextBlock Text="{Binding FirstName}"&amp;gt;&amp;lt;/TextBlock&amp;gt;&lt;br /&gt;
                            &amp;lt;/DataTemplate&amp;gt;&lt;br /&gt;
                        &amp;lt;/data:DataGridTemplateColumn.CellTemplate&amp;gt;&lt;br /&gt;
                        &amp;lt;data:DataGridTemplateColumn.CellEditingTemplate&amp;gt;&lt;br /&gt;
                            &amp;lt;DataTemplate&amp;gt;&lt;br /&gt;
                                &amp;lt;TextBox Text="{Binding FirstName}" &lt;strong&gt;LostFocus="TextBox_LostFocus"&amp;gt;&lt;/strong&gt;&amp;lt;/TextBox&amp;gt;   //you can detect other events.&lt;br /&gt;
                            &amp;lt;/DataTemplate&amp;gt;&lt;br /&gt;
                        &amp;lt;/data:DataGridTemplateColumn.CellEditingTemplate&amp;gt;&lt;br /&gt;
                    &amp;lt;/data:DataGridTemplateColumn&amp;gt; 
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
Well this works fine but I don't want to have to define all my columns this way.  Sometimes it is nice to just let the datagrid autogenerate the columns. So I decided to use the DataGrid's PreparingCellForEdit to add the handler for the LostFocus event.  Couple of other things you need to do.  First Remove the old event handler so the event does not fire multiple times.  Second we need a variable to keep track of the item that was edited when the lost focus event is fired we will be on another record. 
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
Dim prod As Northwind.Products  
&lt;/p&gt;
&lt;p&gt;
Private Sub dgProducts_PreparingCellForEdit(ByVal sender As Object, ByVal e As System.Windows.Controls.DataGridPreparingCellForEditEventArgs) Handles dgProducts.PreparingCellForEdit&lt;br /&gt;
    RemoveHandler e.EditingElement.LostFocus, AddressOf Textbox_LostFocus&lt;br /&gt;
    AddHandler e.EditingElement.LostFocus, AddressOf Textbox_LostFocus&lt;br /&gt;
    prod = DirectCast(dgProducts.SelectedItem, Northwind.Products)&lt;br /&gt;
End Sub  
&lt;/p&gt;
&lt;p&gt;
Friend Sub Textbox_LostFocus(ByVal sender As Object, ByVal e As EventArgs)&lt;br /&gt;
    proxy.UpdateObject(prod)&lt;br /&gt;
End Sub 
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
Here is the complete code 
&lt;/p&gt;
&lt;p&gt;
  
&lt;/p&gt;
&lt;p&gt;
Imports System.Collections.ObjectModel&lt;br /&gt;
Imports System.Data.Services.Client&lt;br /&gt;
Imports System.Diagnostics  
&lt;/p&gt;
&lt;p&gt;
Partial Public Class Page&lt;br /&gt;
    Inherits UserControl  
&lt;/p&gt;
&lt;p&gt;
    Public Sub New()&lt;br /&gt;
        InitializeComponent()&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Dim q As DataServiceQuery(Of Northwind.Products)&lt;br /&gt;
    Dim proxy As Northwind.NorthwindEntities  
&lt;/p&gt;
&lt;p&gt;
    Private Sub Page_Loaded(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles Me.Loaded&lt;br /&gt;
        Dim address = New Uri(Application.Current.Host.Source, "../WebDataService1.svc")  
&lt;/p&gt;
&lt;p&gt;
        proxy = New Northwind.NorthwindEntities(address)  
&lt;/p&gt;
&lt;p&gt;
        Dim qry = From p In proxy.Products Select p&lt;br /&gt;
        q = CType(qry, Global.System.Data.Services.Client.DataServiceQuery(Of Northwind.Products))  
&lt;/p&gt;
&lt;p&gt;
        q.BeginExecute(AddressOf ProductsLoaded, Nothing)  
&lt;/p&gt;
&lt;p&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Friend Sub ProductsLoaded(ByVal ar As System.IAsyncResult)&lt;br /&gt;
        Dim c = q.EndExecute(ar)&lt;br /&gt;
        Dim d As New ObservableCollection(Of Northwind.Products)&lt;br /&gt;
        For Each p In c&lt;br /&gt;
            d.Add(p)&lt;br /&gt;
        Next&lt;br /&gt;
        Dim GetOnRightThread As New SetTheDataSource(AddressOf SetDataSource)&lt;br /&gt;
        Dispatcher.BeginInvoke(GetOnRightThread, New Object() {d})&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Delegate Sub SetTheDataSource(ByVal d As ObservableCollection(Of Northwind.Products))  
&lt;/p&gt;
&lt;p&gt;
    Friend Sub SetDataSource(ByVal d As ObservableCollection(Of Northwind.Products))&lt;br /&gt;
        dgProducts.ItemsSource = d&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Dim prod As Northwind.Products  
&lt;/p&gt;
&lt;p&gt;
    Private Sub dgProducts_PreparingCellForEdit(ByVal sender As Object, ByVal e As System.Windows.Controls.DataGridPreparingCellForEditEventArgs) Handles dgProducts.PreparingCellForEdit&lt;br /&gt;
        RemoveHandler e.EditingElement.LostFocus, AddressOf Textbox_LostFocus&lt;br /&gt;
        AddHandler e.EditingElement.LostFocus, AddressOf Textbox_LostFocus&lt;br /&gt;
        prod = DirectCast(dgProducts.SelectedItem, Northwind.Products)&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Friend Sub Textbox_LostFocus(ByVal sender As Object, ByVal e As EventArgs)&lt;br /&gt;
        proxy.UpdateObject(prod)&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Friend Sub SaveComplete(ByVal ar As System.IAsyncResult)&lt;br /&gt;
        proxy.EndSaveChanges(ar)&lt;br /&gt;
    End Sub  
&lt;/p&gt;
&lt;p&gt;
    Private Sub btnSave_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btnSave.Click&lt;br /&gt;
        proxy.BeginSaveChanges(AddressOf SaveComplete, Nothing)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class
&lt;/p&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.onteorasoftware.net%2fpost%2fSilverlight-2-RC0-DataGrid-CommittingEdit-work-around.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.onteorasoftware.net%2fpost%2fSilverlight-2-RC0-DataGrid-CommittingEdit-work-around.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/17.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2008/10/05/silverlight-2-rc0-datagrid-committingedit-work-around.aspx</guid>
            <pubDate>Sun, 05 Oct 2008 10:56:52 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/17.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2008/10/05/silverlight-2-rc0-datagrid-committingedit-work-around.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/17.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Silverlight XAML 404 errors</title>
            <link>http://blog.onteorasoftware.net/archive/2007/09/21/silverlight-xaml-404-errors.aspx</link>
            <description>&lt;h3 align="center"&gt;Silverlight XAML 404 errors&lt;/h3&gt;&lt;br /&gt;
&lt;p&gt;
I created a simple web application which uses silverlight. Once I was happy with the way it was working I deployed to my webhost. When the web page loaded the silverlight control is not displaying anything. 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.fiddler2.com/Fiddler2/"&gt;Fidder 2&lt;/a&gt; lets you examine what is going on when a webpage is loading. I see that there is a 404 error when loading the xaml file being displayed in the silverlight control. When I log into my webhost's control panel I see the xaml file is there. 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
According to &lt;a href="http://timheuer.com/blog/archive/2007/08/23/silverlight-hosting-on-linux-apache-osx-streaming.aspx"&gt;Tim Heuser's blog&lt;/a&gt; all you have to do is Mime type for xaml. I added the mime type for xaml and silverlight control started to work. 
&lt;/p&gt;
&lt;p&gt;
 
&lt;/p&gt;
&lt;p&gt;
Mime File .xaml 
&lt;/p&gt;
&lt;p&gt;
Type: application/xaml+xml 
&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;
Hope this helps 
&lt;/p&gt;
&lt;br /&gt;
&lt;a href="http://www.dotnetkicks.com/kick/?url=http://www.onteorasoftware.com/post/Silverlight-XAML-404-errors.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http://www.onteorasoftware.com/post/Silverlight-XAML-404-errors.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
&lt;img src="http://blog.onteorasoftware.net/aggbug/53.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Ken Tucker</dc:creator>
            <guid>http://blog.onteorasoftware.net/archive/2007/09/21/silverlight-xaml-404-errors.aspx</guid>
            <pubDate>Fri, 21 Sep 2007 13:39:15 GMT</pubDate>
            <wfw:comment>http://blog.onteorasoftware.net/comments/53.aspx</wfw:comment>
            <comments>http://blog.onteorasoftware.net/archive/2007/09/21/silverlight-xaml-404-errors.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://blog.onteorasoftware.net/comments/commentRss/53.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>