<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Quisitive.net &#187; Silverlight</title>
	<atom:link href="http://quisitive.net/category/code/silverlight/feed" rel="self" type="application/rss+xml" />
	<link>http://quisitive.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Apr 2010 01:28:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Quickly implementing an RSS feed in ASP</title>
		<link>http://quisitive.net/code/silverlight/259.html</link>
		<comments>http://quisitive.net/code/silverlight/259.html#comments</comments>
		<pubDate>Sun, 13 Dec 2009 18:10:45 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://quisitive.net/?p=259</guid>
		<description><![CDATA[Recently I was working on providing and consuming an RSS feed for a Silverlight project. One of the handy (but often overlooked) things possible with asp.net is the ability to set the content type at the page level. So using that trick along with a SqlDataSource and a repeater, you can put together a RSS [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was working on providing and consuming an RSS feed for a Silverlight project. One of the handy (but often overlooked) things possible with asp.net is the ability to set the content type at the page level. So using that trick along with a SqlDataSource and a repeater, you can put together a RSS feed (admittedly a very simple one) in as single aspx file &#8211; no code behind needed.</p>
<pre><span style="color:#000000">&lt;%</span><span style="color:#0000ff">@</span><span style="color:#000000"> </span><span style="color:#a31515">Page</span><span style="color:#000000"> </span><span style="color:#ff0000">Language</span><span style="color:#0000ff">="C#"</span><span style="color:#000000"> </span><span style="color:#ff0000">ContentType</span><span style="color:#0000ff">="text/xml"</span><span style="color:#000000"> %&gt;

</span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">asp</span><span style="color:#0000ff">:</span><span style="color:#a31515">repeater</span><span style="color:#000000"> </span><span style="color:#ff0000">runat</span><span style="color:#0000ff">="server"</span><span style="color:#000000"> </span><span style="color:#ff0000">DataSourceId</span><span style="color:#0000ff">="sdsFeed"&gt;
</span><span style="color:#000000">    </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">HeaderTemplate</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">        </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">rss</span><span style="color:#000000"> </span><span style="color:#ff0000">version</span><span style="color:#0000ff">="2.0"&gt;
</span><span style="color:#000000">            </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">channel</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">                </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">title</span><span style="color:#0000ff">&gt;</span><span style="color:#000000">QuickRss Test Feed</span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">title</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">                </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">link</span><span style="color:#0000ff">&gt;</span><span style="color:#000000">http://quisitive.net/feed</span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">link</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">                </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">description</span><span style="color:#0000ff">&gt;</span><span style="color:#000000">This is the feed description.</span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">description</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">    </span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">HeaderTemplate</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">    </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">ItemTemplate</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">        </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">item</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">            </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">title</span><span style="color:#0000ff">&gt;</span><span style="color:#000000">&lt;%</span><span style="color:#0000ff">#</span><span style="color:#000000"> Eval(</span><span style="color:#a31515">"title"</span><span style="color:#000000">) %&gt;</span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">title</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">            </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">description</span><span style="color:#0000ff">&gt;</span><span style="color:#000000">&lt;%</span><span style="color:#0000ff">#</span><span style="color:#000000"> Eval(</span><span style="color:#a31515">"description"</span><span style="color:#000000">) %&gt;</span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">description</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">            </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">pubdate</span><span style="color:#0000ff">&gt;</span><span style="color:#000000">&lt;%</span><span style="color:#0000ff">#</span><span style="color:#000000"> Eval(</span><span style="color:#a31515">"pubdate"</span><span style="color:#000000">) %&gt;</span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">pubdate</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">        </span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">item</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">    </span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">ItemTemplate</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">    </span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">FooterTemplate</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">            </span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">channel</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">        </span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">rss</span><span style="color:#0000ff">&gt;
</span><span style="color:#000000">    </span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">FooterTemplate</span><span style="color:#0000ff">&gt;
&lt;/</span><span style="color:#a31515">asp</span><span style="color:#0000ff">:</span><span style="color:#a31515">repeater</span><span style="color:#0000ff">&gt;

&lt;</span><span style="color:#a31515">asp</span><span style="color:#0000ff">:</span><span style="color:#a31515">SqlDataSource</span><span style="color:#000000"> </span><span style="color:#ff0000">ID</span><span style="color:#0000ff">="sdsFeed"</span><span style="color:#000000"> </span><span style="color:#ff0000">runat</span><span style="color:#0000ff">="server"</span><span style="color:#000000">
    </span><span style="color:#ff0000">ConnectionString</span><span style="color:#0000ff">="</span><span style="color:#000000">&lt;%$ ConnectionStrings:ConnectionString %&gt;</span><span style="color:#0000ff">"</span><span style="color:#000000">
    </span><span style="color:#ff0000">SelectCommand</span><span style="color:#0000ff">="SELECT title, description, pubdate FROM rssData"&gt;
&lt;/</span><span style="color:#a31515">asp</span><span style="color:#0000ff">:</span><span style="color:#a31515">SqlDataSource</span><span style="color:#0000ff">&gt;
</span></pre>
<p>Calling the page above results in the following simple RSS feed.</p>
<p><img class="size-full wp-image-271 alignnone" style="border: 1px solid #AAAAEE" title="RssResult" src="http://quisitive.net/wp-content/uploads/2009/12/RssResult.png" alt="Resulting RSS data" width="603" height="317" /></p>
<p>Although this is not exactly a Silverlight tip, it may come in handy.</p>
]]></content:encoded>
			<wfw:commentRss>http://quisitive.net/code/silverlight/259.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight Tests</title>
		<link>http://quisitive.net/code/silverlight/working-with-silverlight.html</link>
		<comments>http://quisitive.net/code/silverlight/working-with-silverlight.html#comments</comments>
		<pubDate>Sun, 29 Mar 2009 13:40:52 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://quisitive.net/?p=134</guid>
		<description><![CDATA[I have been doing some work using Microsoft Silverlight over the last few days for a number of different projects.  This post is simply a test to see if I can get a few simple applications working through my current web host.

LLW
Hello World
Hex Test
Data Grid

While the links to Silverlight applications seem to be working well, [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing some work using Microsoft Silverlight over the last few days for a number of different projects.  This post is simply a test to see if I can get a few simple applications working through my current web host.</p>
<ul>
<li><a href="http://quisitive.net/silverlight/llw.html">LLW</a></li>
<li><a href="http://quisitive.net/silverlight/HelloWorld.html">Hello World</a></li>
<li><a href="http://quisitive.net/silverlight/HexTest.html">Hex Test</a></li>
<li><a href="http://quisitive.net/silverlight/DataGridTestPage.html">Data Grid</a></li>
</ul>
<p>While the links to Silverlight applications seem to be working well, I am still working on getting the Silverlight plugin recently posted by <a title="Tim Heuer" href="http://timheuer.com/blog">Tim Heuer</a> configured for my site.</p>
<p>UPDATE (1 Apr 09): I have figured out how to work with the Silverlight plugin recently posted by <a title="Tim Heuer" href="http://timheuer.com/blog">Tim Heuer</a> on my site.  I think the settings that I chose for my permalink style may have been interfering with the xap path in the plug in options.  If I left the standard root location alone [./] and put the full path in the markup, everything worked as expected.</p>
<p>UPDATE 2 (2 Apr 09): But, only if it is on the main page&#8230; Following the permalink to the post will not load the app correctly.  Back to the drawing board.  I know it must be something with the path(s)&#8230;</p>
<p>UPDATE 3 (5 Apr 09): By putting the fully qualifed path in the markup, it seems to work both on the home page and the permalink.</p>
]]></content:encoded>
			<wfw:commentRss>http://quisitive.net/code/silverlight/working-with-silverlight.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
