<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>John's Web Thoughts : Silverlight</title><link>http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx</link><description>Tags: Silverlight</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>New Silverlight Application Debut's</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/10/31/new-silverlight-application-debut-s.aspx</link><pubDate>Wed, 31 Oct 2007 06:00:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5789849</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/5789849.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=5789849</wfw:commentRss><description>&lt;p&gt;Just released, the latest in silverlight applications has been deployed on MediaCorp's Web Site.&amp;nbsp; This &lt;a href="http://yummyhunt.mediacorptv.sg/yummy/audition.htm"&gt;site&lt;/a&gt; takes advantage of Rich Application technology through its use of MS AJAX Extensions and the Silverlight plugin.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5789849" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Announcements/default.aspx">Announcements</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>WS 2008 is Out of Beta with WMS and IIS7 Media Pack!</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/09/30/ws-2008-is-out-of-beta-with-wms-and-iis7-media-pack.aspx</link><pubDate>Sun, 30 Sep 2007 11:18:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5207502</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/5207502.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=5207502</wfw:commentRss><description>&lt;p&gt;Well we have entered into the final stages of the development of out next platform for web solutions.&amp;nbsp; Along with the server itself however a couple of add-ons have also been released.&amp;nbsp; The first is &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=898fe4ff-92fc-4ab8-bd5a-6ce689004b40&amp;amp;DisplayLang=en" target="_blank"&gt;Windows Media Services&lt;/a&gt; which provides the capability to stream video on demand.&amp;nbsp; The second is the &lt;a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1522" target="_blank"&gt;IIS7 Media Pack&lt;/a&gt; module that provides bit rate throttling for progressive video downloads.&amp;nbsp; &lt;/p&gt; &lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=d977fde8-d3fb-4e6c-8a8a-352cf83111cc&amp;amp;DisplayLang=en" target="_blank"&gt;Web&lt;/a&gt;, &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=d694d4cc-0681-41b5-b02e-012be18f8b71&amp;amp;displaylang=en" target="_blank"&gt;Standard&lt;/a&gt;, &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=95cc89a8-0076-4571-b379-4aa4f526b893&amp;amp;DisplayLang=en" target="_blank"&gt;Data Center&lt;/a&gt;, and &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=0818d425-cd47-4279-be8d-24aba14530a3&amp;amp;DisplayLang=en" target="_blank"&gt;Enterprise&lt;/a&gt; editions of WS 2008 RC0 are now available for download along with &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=898fe4ff-92fc-4ab8-bd5a-6ce689004b40&amp;amp;DisplayLang=en" target="_blank"&gt;Windows Media Services&lt;/a&gt;.&amp;nbsp;&amp;nbsp; I had the opportunity to configure a virtual environment showcasing the new caching capabilities of WMS and thought I would share a few of my experiences.&lt;/p&gt; &lt;p&gt;I started with the Idea of running WS Enterprise as my Origin Server and running the Web Server edition as the proxy.&amp;nbsp; When you first install WS 2008, you will be prompted with the new management interface that makes configuration of role and feature specific functionality incredibly simple.&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="192" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb_1.png" width="244" border="0"&gt;&lt;/a&gt; &lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="195" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb_2.png" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;WMS is not available in the existing build, so the first thing you need to do is install the download &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=898fe4ff-92fc-4ab8-bd5a-6ce689004b40&amp;amp;DisplayLang=en" target="_blank"&gt;OOB WMS module&lt;/a&gt;.&amp;nbsp; Once that is done, when you select roles you will be presented with a selection to choose from (Note: the differences between the Web and Enterprise version).&amp;nbsp; If you happen to select a role that has dependencies on other services, these will be added by default.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="185" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb.png" width="244" border="0"&gt;&lt;/a&gt; &lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_8.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="185" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb_3.png" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Enabling the caching functionality on the Web version could not be easier.&amp;nbsp; You select the server you want to configure in our management interface, select the properties TAB, Select Cache/Proxy management, and Right click WMS Cache Proxy enable the functionality.&amp;nbsp; You can then double click on the same place to get prompted with the configuration options as seen below.&amp;nbsp; You can also go and do the same on the origin server to control aspects of the caching such expiry time and so on related to the individual publishing points.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_20.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="190" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb_9.png" width="244" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_14.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="212" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb_6.png" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Details on the configuration options available can be found in the help files so I will not go into that here but one thing to keep in mind is the way the proxy is expecting to get requests.&amp;nbsp; Basically the scenario is that all streaming requests for content off the Origin server need to be routed to the IP of the caching server.&amp;nbsp; This can be done through firewall configuration but if you are looking to do this in a virtual test environment the easiest way I have found is modify your LMHosts file to resolve requests to the origin server with the IP of the proxy server.&amp;nbsp; Another point to keep in mind is that HTTP streaming (Only protocol supported by Silverlight!) is not enabled by default.&amp;nbsp; You need to go into the Properties TAB for the server, select the control protocol and enable a specific open port.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_28.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="198" alt="image" src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/WS2008isOutofBeta_E1D0/image_thumb_13.png" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Hope this helps in getting you started on using WMS in WS 2008!&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;John&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5207502" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Announcements/default.aspx">Announcements</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Tech Ed Presentation on Silverlight 1.1</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/09/22/tech-ed-presentation-on-silverlight-1-1.aspx</link><pubDate>Sat, 22 Sep 2007 13:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5052503</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/5052503.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=5052503</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt; &lt;p&gt;I recently gave a presentation at our Tech Ed in Kuala Lumpur and was asked if I could do a web cast of it.&amp;nbsp; I am struggling a bit with the resolution right now but here is the first draft.&amp;nbsp; I have also published the &lt;a href="http://www.johnontheweb.net/assets/TechEd.wmv" target="_blank" mce_href="http://www.johnontheweb.net/assets/TechEd.wmv"&gt;video&lt;/a&gt; and the &lt;a href="http://cid-21be53dc60db07ac.skydrive.live.com/self.aspx/Public/Web%20225.zip" target="_blank" mce_href="http://cid-21be53dc60db07ac.skydrive.live.com/self.aspx/Public/Web%20225.zip"&gt;source code&lt;/a&gt; for download.&lt;/p&gt;&lt;iframe id="DisplayVideo" style="width: 774px; height: 570px" src="http://silverlight.services.live.com/invoke/18919/TechEdFinal/iframe.html" width="500" scrolling="no" height="400" mce_src="http://silverlight.services.live.com/invoke/18919/TechEdFinal/iframe.html"&gt; &lt;/div&gt;&lt;/p&gt;&lt;/div&gt; &lt;/div&gt;  &lt;/body&gt;  &lt;/html&gt;&lt;/iframe&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5052503" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Learning+more/default.aspx">Learning more</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Surviving the Silverlight RC Release</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/08/23/surviving-the-silverlight-rc-release.aspx</link><pubDate>Thu, 23 Aug 2007 10:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4521463</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/4521463.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=4521463</wfw:commentRss><description>&lt;P&gt;If you are like me, the recent release of the 1.0 RC version of Silverlight has been a mixed bag.&amp;nbsp; Clearly the new version has a wealth of new features that make it event better but at the same time these improvements have also broken existing implementations.&amp;nbsp; Here are some tips to resurrecting your demos and prototypes:&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp; Remove Sys. from all calls to the helper js files.&amp;nbsp; This namespace has bee deprecated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp; Do a find and replaced on .Hidden with .Collapsed.&amp;nbsp; Hidden has be deprecated as well.&lt;/P&gt;
&lt;P&gt;3)&amp;nbsp; Use the new silverlight.js files.&lt;/P&gt;
&lt;P&gt;4)&amp;nbsp; If you manually configuring the object/embed tag, use&amp;nbsp;"&lt;SPAN style="FONT-SIZE: 10pt; COLOR: #a31515; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: Calibri; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin; mso-no-proof: yes"&gt;x-silverlight" instead of&lt;/SPAN&gt;&amp;nbsp;"&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-fareast"&gt;ag-plugin"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;5)&amp;nbsp; If all else fails....download the the &lt;A href="http://http//msdn.microsoft.com/vstudio/eula.aspx?id=a40f3ffc-2657-02ec-7d67-7a79b4eac832" mce_href="http://http://msdn.microsoft.com/vstudio/eula.aspx?id=a40f3ffc-2657-02ec-7d67-7a79b4eac832"&gt;1.0 SDK&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4521463" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Learning+more/default.aspx">Learning more</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>VS 2008 Beta 2 Released!</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/07/27/vs-2008-beta-2-released.aspx</link><pubDate>Fri, 27 Jul 2007 04:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4073241</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/4073241.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=4073241</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://visitmix.com/link/e395753a-0781-42d8-8eb5-8a30984cc0aa/"&gt;&lt;img height="75" alt="aa700831_VS08_v(en-us,MSDN_10)" src="http://visitmix.com/link/3f509334-249a-47d0-aa63-62b9f424ec32/" width="250" align="left" border="0"&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Check it out.&amp;nbsp; The &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx"&gt;latest&lt;/a&gt; in our developer Tools.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4073241" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Announcements/default.aspx">Announcements</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Building Silverlight Apps</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/07/18/building-silverlight-apps.aspx</link><pubDate>Wed, 18 Jul 2007 11:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3933665</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/3933665.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=3933665</wfw:commentRss><description>&lt;P&gt;In a previous post I documented the steps to install the latest in tools and technologies to support development of Silverlight Applications.&amp;nbsp; One comment I received was that it seemed like allot to do to just start developing Silverlight Applications.&amp;nbsp; This may have mislead other people and so I will document how to get started with a minimal software install.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To begin with you can write a silverlight app in note pad!&amp;nbsp; Here is an example:&amp;nbsp; Open a new&amp;nbsp;file and save the following with an .htm extension.&amp;nbsp; Then open it IE and you can see the result!&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;html&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;script&lt;/SPAN&gt; &lt;SPAN class=attr&gt;type&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="text/xaml"&lt;/SPAN&gt; &lt;SPAN class=attr&gt;id&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="MySilverlight"&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
    &amp;lt;Canvas xmlns=&lt;SPAN class=str&gt;"http://schemas.microsoft.com/client/2007"&lt;/SPAN&gt;&amp;gt; 
        &amp;lt;TextBlock  Text=&lt;SPAN class=str&gt;"Hello World from my Script Tag"&lt;/SPAN&gt;/&amp;gt;
            &amp;lt;/Canvas&amp;gt;
&lt;SPAN class=kwrd&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=html&gt;script&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
       &lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;object&lt;/SPAN&gt;
           &lt;SPAN class=attr&gt;type&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="application/ag-plugin"&lt;/SPAN&gt;
            &lt;SPAN class=attr&gt;id&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="myControl"&lt;/SPAN&gt;
           &lt;SPAN class=attr&gt;width&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="400"&lt;/SPAN&gt;
            &lt;SPAN class=attr&gt;height&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="100"&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
           &lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;param&lt;/SPAN&gt; &lt;SPAN class=attr&gt;name&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="background"&lt;/SPAN&gt; &lt;SPAN class=attr&gt;value&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="Red"&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;/&amp;gt;&lt;/SPAN&gt;
           &lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;param&lt;/SPAN&gt; &lt;SPAN class=attr&gt;name&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="source"&lt;/SPAN&gt; &lt;SPAN class=attr&gt;value&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="#MySilverlight"&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;/&amp;gt;&lt;/SPAN&gt;
 &lt;SPAN class=kwrd&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=html&gt;object&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=kwrd&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=html&gt;html&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/STYLE&gt;

&lt;P&gt;Obviously this is a simple example but we can see here how this simple xaml fragment and object tag can enable the basic UI instantiation.&amp;nbsp; There is a lot you can do with XAML but to really enable interactivity you need to support&amp;nbsp;some eventing framework.&amp;nbsp; We will start with&amp;nbsp;java Script.&amp;nbsp; Add the attribute&amp;nbsp;&lt;FONT color=#ff0000&gt;Loaded="Page_Loaded"&lt;/FONT&gt; &amp;nbsp;to the base canvas element and the following script block:&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;script&lt;/SPAN&gt; &lt;SPAN class=attr&gt;type&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="text/javascript"&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt; 
&lt;SPAN class=kwrd&gt;function&lt;/SPAN&gt; Page_Loaded(){
alert(&lt;SPAN class=str&gt;"Loaded"&lt;/SPAN&gt;);
}

&lt;SPAN class=kwrd&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=html&gt;script&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/STYLE&gt;

&lt;P&gt;We could then extend the integration to other entry points of the control and embrace the full range of functionality in the Silverlight 1.0 framework.&lt;/P&gt;
&lt;P&gt;Notepad is not the best tool for development and there are many more examples of tools for editing HTML and Javascript.&amp;nbsp; Microsoft produces some &lt;A href="http://msdn.microsoft.com/vstudio/express/downloads/default.aspx" mce_href="http://msdn.microsoft.com/vstudio/express/downloads/default.aspx"&gt;express&lt;/A&gt; tools that have this functionality and are freely available for download.&amp;nbsp; Microsoft's &lt;A href="http://www.microsoft.com/expression/" mce_href="http://www.microsoft.com/expression/"&gt;Expression&lt;/A&gt; Suite is also a good place to go to view some of our latest in design tools.&lt;/P&gt;
&lt;P&gt;To take advantage of Silverlight 1.1 ability to host a subset of the .Net CLR functionality, we will have to compile assemblies and while this can be done with a command line interpreter, &lt;A href="http://msdn.microsoft.com/vstudio/express/downloads/default.aspx" mce_href="http://msdn.microsoft.com/vstudio/express/downloads/default.aspx"&gt;Visual C# Express edition&lt;/A&gt; is what I will use next.&amp;nbsp;&amp;nbsp; I will also need to download and install&amp;nbsp;the &lt;A href="http://msdn.microsoft.com/vstudio/eula.aspx?id=c8bf88e7-841c-43fd-c63d-379943617f36" mce_href="http://msdn.microsoft.com/vstudio/eula.aspx?id=c8bf88e7-841c-43fd-c63d-379943617f36"&gt;Silverlight 1.1 SDK&lt;/A&gt;.&amp;nbsp; This will provide me with the assemblies I will need in order to compile my project.&lt;/P&gt;
&lt;P&gt;Start by launching C# Express and selecting File-New Project and select a Class Library Template.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image.png" atomicselection="true" mce_href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=149 alt=image src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_thumb.png" width=240 border=0 mce_src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Remove the auto generated class1.cs file and add three code files and Modify them as below:&lt;/P&gt;
&lt;P&gt;SampleSL.xaml&lt;/P&gt;&lt;PRE class=csharpcode&gt;&amp;lt;Canvas x:Name=&lt;SPAN class=str&gt;"parentCanvas"&lt;/SPAN&gt;
        xmlns=&lt;SPAN class=str&gt;"http://schemas.microsoft.com/client/2007"&lt;/SPAN&gt;
           xmlns:x=&lt;SPAN class=str&gt;"http://schemas.microsoft.com/winfx/2006/xaml"&lt;/SPAN&gt;
        Loaded=&lt;SPAN class=str&gt;"Page_Loaded"&lt;/SPAN&gt;
        x:Class=&lt;SPAN class=str&gt;"DemoSilverlight.SampleSL;assembly=bin/Release/DemoSilverlight.dll"&lt;/SPAN&gt;&amp;gt;
    &amp;lt;TextBlock x:Name=&lt;SPAN class=str&gt;"MyText"&lt;/SPAN&gt; Text=&lt;SPAN class=str&gt;"This is the start"&lt;/SPAN&gt;/&amp;gt;
&amp;lt;/Canvas&amp;gt;&lt;/PRE&gt;
&lt;P&gt;
&lt;STYLE type=text/css&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/STYLE&gt;
&lt;/P&gt;
&lt;P&gt;SampleSL.xaml.cs&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;using&lt;/SPAN&gt; System;
&lt;SPAN class=kwrd&gt;using&lt;/SPAN&gt; System.Collections.Generic;
&lt;SPAN class=kwrd&gt;using&lt;/SPAN&gt; System.Text;
&lt;SPAN class=kwrd&gt;using&lt;/SPAN&gt; System.Windows.Controls;

&lt;SPAN class=kwrd&gt;namespace&lt;/SPAN&gt; DemoSilverlight
{
    &lt;SPAN class=kwrd&gt;public&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;partial&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;class&lt;/SPAN&gt; SampleSL : Canvas
    {
        &lt;SPAN class=kwrd&gt;public&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;void&lt;/SPAN&gt; Page_Loaded(&lt;SPAN class=kwrd&gt;object&lt;/SPAN&gt; o, EventArgs e)
        {
            Canvas can = o &lt;SPAN class=kwrd&gt;as&lt;/SPAN&gt; Canvas;
            TextBlock txt = (TextBlock)can.FindName(&lt;SPAN class=str&gt;"MyText"&lt;/SPAN&gt;);
            txt.Text = &lt;SPAN class=str&gt;"Hello from C#"&lt;/SPAN&gt;;
           
        }
    }
}
&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/STYLE&gt;

&lt;P&gt;ShowMySilverlight.htm&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;html&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;object&lt;/SPAN&gt;
           &lt;SPAN class=attr&gt;type&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="application/ag-plugin"&lt;/SPAN&gt;
          &lt;SPAN class=attr&gt;id&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="myControl"&lt;/SPAN&gt;
          &lt;SPAN class=attr&gt;width&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="400"&lt;/SPAN&gt;
          &lt;SPAN class=attr&gt;height&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="100"&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
          &lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;param&lt;/SPAN&gt; &lt;SPAN class=attr&gt;name&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="background"&lt;/SPAN&gt; &lt;SPAN class=attr&gt;value&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="Red"&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;/&amp;gt;&lt;/SPAN&gt;
           &lt;SPAN class=kwrd&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=html&gt;param&lt;/SPAN&gt; &lt;SPAN class=attr&gt;name&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="source"&lt;/SPAN&gt; &lt;SPAN class=attr&gt;value&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;="SampleSL.xaml"&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;/&amp;gt;&lt;/SPAN&gt;
     &lt;SPAN class=kwrd&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=html&gt;object&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=kwrd&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN class=html&gt;html&lt;/SPAN&gt;&lt;SPAN class=kwrd&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/STYLE&gt;

&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remove all references in the project and then right click on the project file and select "Properties" and then "Build".&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_2.png" atomicselection="true" mce_href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_2.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=172 alt=image src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_thumb_2.png" width=240 border=0 mce_src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Click on the "Advanced.." button and check the setting to remove the automatic inclusion of mscorlib.dll during compile.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_1.png" atomicselection="true" mce_href="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_1.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=179 alt=image src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_thumb_1.png" width=240 border=0 mce_src="http://blogs.msdn.com/blogfiles/johnontheweb/WindowsLiveWriter/BuildingSilverlightAppsinVS2005_C28F/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Now go to the references section of the project and add the following references from the directory you installed the Silverlight SDK in (default=C:\Program Files\Microsoft Silverlight).&lt;/P&gt;
&lt;P&gt;agclr.dll&lt;/P&gt;
&lt;P&gt;mscorlib.dll&lt;/P&gt;
&lt;P&gt;system.dll&lt;/P&gt;
&lt;P&gt;system.core.dll&lt;/P&gt;
&lt;P&gt;system.silverlight.dll&lt;/P&gt;
&lt;P&gt;system.xml.core.dll&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Compile the project and then view the html file in the browser.&amp;nbsp; You should see the SIlverlight 1.1&amp;nbsp;control and have an example of how to access xaml objects.&lt;/P&gt;
&lt;P&gt;One thing to keep in mind is that in these examples I have avoided using the Silverlight.js helper file to instantiate the host objects to improve the clarity of what is happening.&amp;nbsp; Therefore these examples will only work in an IE browser.&amp;nbsp; If you would like to use firefox / safari &amp;nbsp; to view them, replace the object tag references with embed tag or use the helper file provided.&amp;nbsp; Details on this file can be found &lt;A href="http://msdn2.microsoft.com/en-us/library/bb412394.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/bb412394.aspx"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Let me know if this helps&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3933665" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Learning+more/default.aspx">Learning more</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Video of the Top Banana Application</title><link>http://blogs.msdn.com/johnontheweb/archive/2007/06/11/video-of-the-top-banana-application.aspx</link><pubDate>Mon, 11 Jun 2007 12:41:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3225587</guid><dc:creator>johnel@microsoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/johnontheweb/comments/3225587.aspx</comments><wfw:commentRss>http://blogs.msdn.com/johnontheweb/commentrss.aspx?PostID=3225587</wfw:commentRss><description>&lt;div id="WrapperRoxio000001131a20db53fcbb8695000ada4e2b2a6a8b" style="width:500px; height:400px; overflow:hidden;"&gt;&lt;/div&gt;  &lt;script type="text/javascript"&gt;var Wrapper = document.getElementById("WrapperRoxio000001131a20db53fcbb8695000ada4e2b2a6a8b");

Sys.Silverlight.createHostedObjectEx({source: "streaming:/3448/Roxio000001131a20db53fcbb8695000ada4e2b2a6a8b",parentElement: Wrapper });
&lt;/script&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3225587" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Web+2.0/default.aspx">Web 2.0</category><category domain="http://blogs.msdn.com/johnontheweb/archive/tags/Silverlight/default.aspx">Silverlight</category></item></channel></rss>