<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>The Moon Upstairs - Silverlight</title>
    <link>http://fredwebs.com/blog/</link>
    <description>And other .Net Programming Issues</description>
    <language>en-us</language>
    <copyright>Fred Peters</copyright>
    <lastBuildDate>Fri, 18 Apr 2008 21:11:55 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.2.8279.16125</generator>
    <managingEditor>Fred@FredWebs.com</managingEditor>
    <webMaster>Fred@FredWebs.com</webMaster>
    <item>
      <trackback:ping>http://fredwebs.com/blog/Trackback.aspx?guid=e5f99624-06db-4466-9c0f-d0acab4f3a1b</trackback:ping>
      <pingback:server>http://fredwebs.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://fredwebs.com/blog/PermaLink,guid,e5f99624-06db-4466-9c0f-d0acab4f3a1b.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://fredwebs.com/blog/CommentView,guid,e5f99624-06db-4466-9c0f-d0acab4f3a1b.aspx</wfw:comment>
      <wfw:commentRss>http://fredwebs.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e5f99624-06db-4466-9c0f-d0acab4f3a1b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
On Saturday, March 29, I attended the Atlanta Code Camp.  Last year I skipped
around to get an overview of a lot of different areas.  This year I decided to
concentrate on one of the eight offered tracks, Silverlight.  I wanted a deeper
knowledge of one subject, and I haven't got around to reading the Silverlight 1.0
book I bought a few months ago. 
</p>
        <p>
The following is a summary of my notes from the sessions.  Any errors are probably
mine during transcription.  Some parts will be fragmented and maybe only make
sense to me. 
<br /><br /><table cellspacing="0" cellpadding="2" border="0"><tbody><tr><td valign="top" colspan="2">
 <strong>1. Introducing Silverlight 2.0</strong></td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
Corey Schuman - <a href="http://simplesilverlight.wordpress.com">http://simplesilverlight.wordpress.com</a></td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
What’s new in Silverlight 2.0: Controls, uses of Silverlight, animations, connection
to data sources.</td></tr><tr><td valign="top" width="10">
 </td><td valign="top"><p>
Version 2.0 can consume web services, and importantly <strong>ALL</strong> calls are
asynchronous.
</p><p>
The XAP file is like the Flash SWF file, it is a zip file of all the DLL's.
</p><p>
In IIS must have XAP registered as a MIME type.
</p><p>
The BCL is the Base Class Library.  The isolated store will hold up to 1 MB,
and you can ask the end user for more up to 10 MB.
</p><p>
The Silverlight List Box can be used as a Control Container.  For beginners,
Corey suggested the introductory series by Scott Guthrie which can be found <a href="http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx">here</a>.  
</p></td></tr><tr><td colspan="2">
 </td></tr><tr><td valign="top" colspan="2"><strong>2. Using Blend 2.0 for Silverlight / Consuming Data with Silverlight 2.0</strong></td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
Shawn Wildermuth- <a href="http://adoguy.com">http://adoguy.com</a></td></tr><tr><td valign="top" width="10">
 </td><td valign="top"><p>
An overview of Expression Blend 2.5 for Silverlight developers was given by Shawn. 
The current beta release has several bugs, it will crash on you.  One nice thing
is that Visual Studio 2008 and Blend use the same solution file.
</p><p>
Shawn continued with an overview of consuming data with Silverlight.  
</p><p>
There is no ADO in Silverlight, but there is full support for LINQ to Objects and
LINQ to XML.  Beware that LINQ projections have a bug.
</p><p>
The XDocument and the XMLDocument classes are available.  XMLDocument has a smaller
footprint, but does not support XPath.  You can use XMLReader but it is difficult
to work with.  Shaped results should be changed to simple types.
</p><p>
Silverlight tries to restrict you to calling a web service in the current domain only. 
To complicate things, the client configuration is not read in the 2.0 Beta.
</p><p>
As stated in the first session, the asynchronous is used with Binding, EndPoint, and
Proxy Classes.  If you are using the Visual Studio developer, a fixed port number
is useful, as are observable collections.  The state service SOAP client uses
a Sync call and completed Events.  When using WCF, you have a lot more configuration
items to set.  The query-able end points should develop shape data themselves.
</p><p>
ADO.Net Data Services, AKA Astoria, exposes data over HTTP(S) using URI syntax and
a REST interface.  The LINQ support hides REST, it is not available now but there
is a Silverlight 2 library in the works.  The REST functions Get, Post, Put,
and Delete do match the primary database CRUD functions.
</p><p>
For security cross domain calls  require permission.  The policy file "accesspolicy.xml"
must be in the root of the server.  Usually this is an all or nothing situation,
but you can use existing policies to allow and grant.
</p><p>
Only TCP sockets are allowed and are based on the platform (i.e. Winsock).  You
can only connect to the local machine by "localhost".  The Beta 1 has only socket
testing only, and on a small port range.
</p><p>
In the final session Shawn gave a brief overview of the DeepZoom composer and how
to use a DeepZoom image in your Silverlight 2 application. 
</p></td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
Desc</td></tr><tr><td colspan="2">
 </td></tr><tr><td valign="top" colspan="2">
3<strong>. Real World Silverlight Tips and Tricks</strong></td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
Steve Porter and Keith Rome - <a href="http://www.wintellect.com/cs/blogs/sporter">http://www.wintellect.com/cs/blogs/sporter</a>, <a href="http://www.mindfusioncorp.com/weblog">http://www.mindfusioncorp.com/weblog</a></td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
Various Silverlight 1.0 and 2.0 tips and tricks that have been used on real projects. 
</td></tr><tr><td valign="top" width="10">
 </td><td valign="top">
Steve and Keith presented several interesting items in their presentation, among them
was the technique of using a storyboard as a timer.  The source code for these
may be found at the authors weblogs.  
</td></tr><tr><td colspan="2">
 </td></tr></tbody></table><img width="0" height="0" src="http://fredwebs.com/blog/aggbug.ashx?id=e5f99624-06db-4466-9c0f-d0acab4f3a1b" /></p>
      </body>
      <title>Silverlight Session Notes from the Atlanta Code Camp 2008</title>
      <guid isPermaLink="false">http://fredwebs.com/blog/PermaLink,guid,e5f99624-06db-4466-9c0f-d0acab4f3a1b.aspx</guid>
      <link>http://fredwebs.com/blog/2008/04/18/SilverlightSessionNotesFromTheAtlantaCodeCamp2008.aspx</link>
      <pubDate>Fri, 18 Apr 2008 21:11:55 GMT</pubDate>
      <description>&lt;p&gt;
On Saturday, March 29, I attended the Atlanta Code Camp.&amp;nbsp; Last year I skipped
around to get an overview of a lot of different areas.&amp;nbsp; This year I decided to
concentrate on one of the eight offered tracks, Silverlight.&amp;nbsp; I wanted a deeper
knowledge of one subject, and I haven't got around to reading the Silverlight 1.0
book I bought a few months ago. 
&lt;p&gt;
The following is a summary of my notes from the sessions.&amp;nbsp; Any errors are probably
mine during transcription.&amp;nbsp; Some parts will be fragmented and maybe only make
sense to me. 
&lt;br&gt;
&lt;br&gt;
&lt;table cellspacing="0" cellpadding="2" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td valign="top" colspan="2"&gt;
&amp;nbsp;&lt;strong&gt;1. Introducing Silverlight 2.0&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
Corey Schuman - &lt;a href="http://simplesilverlight.wordpress.com"&gt;http://simplesilverlight.wordpress.com&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
What’s new in Silverlight 2.0: Controls, uses of Silverlight, animations, connection
to data sources.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;
Version 2.0 can consume web services, and importantly &lt;strong&gt;ALL&lt;/strong&gt; calls are
asynchronous.
&lt;/p&gt;
&lt;p&gt;
The XAP file is like the Flash SWF file, it is a zip file of all the DLL's.
&lt;/p&gt;
&lt;p&gt;
In IIS must have XAP registered as a MIME type.
&lt;/p&gt;
&lt;p&gt;
The BCL is the Base Class Library.&amp;nbsp; The isolated store will hold up to 1 MB,
and you can ask the end user for more up to 10 MB.
&lt;/p&gt;
&lt;p&gt;
The Silverlight List Box can be used as a Control Container.&amp;nbsp; For beginners,
Corey suggested the introductory series by Scott Guthrie which can be found &lt;a href="http://weblogs.asp.net/scottgu/archive/2008/02/22/first-look-at-silverlight-2.aspx"&gt;here&lt;/a&gt;.&amp;nbsp; 
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" colspan="2"&gt;
&lt;strong&gt;2. Using Blend 2.0 for Silverlight / Consuming Data with Silverlight 2.0&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
Shawn Wildermuth- &lt;a href="http://adoguy.com"&gt;http://adoguy.com&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
&lt;p&gt;
An overview of Expression Blend 2.5 for Silverlight developers was given by Shawn.&amp;nbsp;
The current beta release has several bugs, it will crash on you.&amp;nbsp; One nice thing
is that Visual Studio 2008 and Blend use the same solution file.
&lt;/p&gt;
&lt;p&gt;
Shawn continued with an overview of consuming data with Silverlight.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
There is no ADO in Silverlight, but there is full support for LINQ to Objects and
LINQ to XML.&amp;nbsp; Beware that LINQ projections have a bug.
&lt;/p&gt;
&lt;p&gt;
The XDocument and the XMLDocument classes are available.&amp;nbsp; XMLDocument has a smaller
footprint, but does not support XPath.&amp;nbsp; You can use XMLReader but it is difficult
to work with.&amp;nbsp; Shaped results should be changed to simple types.
&lt;/p&gt;
&lt;p&gt;
Silverlight tries to restrict you to calling a web service in the current domain only.&amp;nbsp;
To complicate things, the client configuration is not read in the 2.0 Beta.
&lt;/p&gt;
&lt;p&gt;
As stated in the first session, the asynchronous is used with Binding, EndPoint, and
Proxy Classes.&amp;nbsp; If you are using the Visual Studio developer, a fixed port number
is useful, as are observable collections.&amp;nbsp; The state service SOAP client uses
a Sync call and completed Events.&amp;nbsp; When using WCF, you have a lot more configuration
items to set.&amp;nbsp; The query-able end points should develop shape data themselves.
&lt;/p&gt;
&lt;p&gt;
ADO.Net Data Services, AKA Astoria, exposes data over HTTP(S) using URI syntax and
a REST interface.&amp;nbsp; The LINQ support hides REST, it is not available now but there
is a Silverlight 2 library in the works.&amp;nbsp; The REST functions Get, Post, Put,
and Delete do match the primary database CRUD functions.
&lt;/p&gt;
&lt;p&gt;
For security cross domain calls&amp;nbsp; require permission.&amp;nbsp; The policy file "accesspolicy.xml"
must be in the root of the server.&amp;nbsp; Usually this is an all or nothing situation,
but you can use existing policies to allow and grant.
&lt;/p&gt;
&lt;p&gt;
Only TCP sockets are allowed and are based on the platform (i.e. Winsock).&amp;nbsp; You
can only connect to the local machine by "localhost".&amp;nbsp; The Beta 1 has only socket
testing only, and on a small port range.
&lt;/p&gt;
&lt;p&gt;
In the final session Shawn gave a brief overview of the DeepZoom composer and how
to use a DeepZoom image in your Silverlight 2 application. 
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
Desc&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" colspan="2"&gt;
3&lt;strong&gt;. Real World Silverlight Tips and Tricks&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
Steve Porter and Keith Rome - &lt;a href="http://www.wintellect.com/cs/blogs/sporter"&gt;http://www.wintellect.com/cs/blogs/sporter&lt;/a&gt;, &lt;a href="http://www.mindfusioncorp.com/weblog"&gt;http://www.mindfusioncorp.com/weblog&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
Various Silverlight 1.0 and 2.0 tips and tricks that have been used on real projects. 
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td valign="top" width="10"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;td valign="top"&gt;
Steve and Keith presented several interesting items in their presentation, among them
was the technique of using a storyboard as a timer.&amp;nbsp; The source code for these
may be found at the authors weblogs.&amp;nbsp; 
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2"&gt;
&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;img width="0" height="0" src="http://fredwebs.com/blog/aggbug.ashx?id=e5f99624-06db-4466-9c0f-d0acab4f3a1b" /&gt;</description>
      <comments>http://fredwebs.com/blog/CommentView,guid,e5f99624-06db-4466-9c0f-d0acab4f3a1b.aspx</comments>
      <category>ASP.Net</category>
      <category>Silverlight</category>
    </item>
  </channel>
</rss>