<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" 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:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Mike Sampson: Inside Rev9</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/563466_100x75.jpg</url>
		<title>Channel 9 - Mike Sampson: Inside Rev9</title>
		<link></link>
	</image>
	<description>A preview version of the new Channel 9 is now available at 
http://preview.channel9.msdn.com. Please file any bugs&amp;nbsp;or suggestions on Connect.&amp;nbsp;&amp;nbsp;Mike Sampson (aka Sampy) has done some stellar work with the backend architecture and design of the next version of Channel 9, code named &amp;quot;Rev9,&amp;quot; and this fifth version includes a revamped UI and restructured backend.
In this conversation (it&#39;s a long and deep one, so set aside some time—it&#39;s well worth it), Sampy takes us through how and why he designed the new Channel 9&amp;nbsp;architecture. &amp;quot;Rev9&amp;quot; appears to be&amp;nbsp;a very scalable and modern system built on tried and true technologies
 and architectural patterns such as MVC 2.0, Unity (from P&amp;amp;P), NHibernate, Fluent NHibernate, Memcached, Enyim Managed Memcached driver, Azure – Fabric, Storage, Diagnostics, SQL Azure, xUnit (testing only), Live ID, Spark View Engine, Akismet (spam filtering
 service), AntiXSS, Tinymce, jQuery, and Silverlight.Sampy&#39;s great work is simply astounding. I left his office&amp;nbsp;feeling more confident than ever that Channel 9 will scale to the future and the experience of performance and reliability&amp;nbsp;will be at an all time high. Thank you, Sampy, Duncan, Cara, Geoff, Clint,
 and Dan. The revolution is now televised and in full swing. </description>
	<link></link>
	<language>en</language>
	<pubDate>Thu, 23 May 2013 23:04:57 GMT</pubDate>
	<lastBuildDate>Thu, 23 May 2013 23:04:57 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>1.03GB WMV Download - Wow,&nbsp; 'I may be gone sometime...'</p>
<p>posted by Ian2</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159131400000000</link>
		<pubDate>Wed, 28 Jul 2010 11:25:40 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159131400000000</guid>
		<dc:creator>Ian2</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>That's for the high res WMV... This is a 72 minute interview. High res = 848x480 with 3mbs&#43; bit rate.... Download the lesser quality WMV version or the mp4.</p>
<p>C</p>
<p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159288410000000</link>
		<pubDate>Wed, 28 Jul 2010 15:47:21 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159288410000000</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>No worries, wasn't really a criticism - just the largest video that I recall seeing.</p>
<p>&nbsp;</p>
<p>Noticed the Connect option for Channel 9 feedback - &nbsp;is this preffered over feedback via the forum?</p>
<p>posted by Ian2</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159427500000000</link>
		<pubDate>Wed, 28 Jul 2010 19:39:10 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159427500000000</guid>
		<dc:creator>Ian2</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>Yep. For Rev9 bugs and feedback, please use Connect!!<br />C</p>
<p>posted by Charles</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159429310000000</link>
		<pubDate>Wed, 28 Jul 2010 19:42:11 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159429310000000</guid>
		<dc:creator>Charles</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>I am looking @ the video, and am very interested in the way you are doing this .... are you going to release the source at any time ?</p>
<p>posted by Zeus</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159533470000000</link>
		<pubDate>Wed, 28 Jul 2010 22:35:47 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159533470000000</guid>
		<dc:creator>Zeus</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>Bug tracking system for ... you know ... bugs <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159825940000000</link>
		<pubDate>Thu, 29 Jul 2010 06:43:14 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159825940000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>Are you going to share the QueryFactory design or code here ? Would appreciate if you can post some code on that subject ?</p>
<p>&nbsp;</p>
<p>@Sampy: Is your QueryFactory design only intended to work with NHibernate ?</p>
<p>posted by ruchit</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159868810000000</link>
		<pubDate>Thu, 29 Jul 2010 07:54:41 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634159868810000000</guid>
		<dc:creator>ruchit</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>QueryFactory is actually very simple</p>
<p><pre class="brush: csharp">namespace Channel9Controller.Infrastructure 
{ 
    public class QueryFactory : IQueryFactory 
    { 
        private readonly IUnityContainer container; 
        public QueryFactory(IUnityContainer container) 
        {
            this.container = container; 
        } 
        public TQueryType Create&lt;TQueryType&gt;() where TQueryType : IQuery 
        { 
            TQueryType query = container.Resolve&lt;TQueryType&gt;(); 
            query.EnableCaching(); 
             return query; 
        } 
    } 
}</pre></p>
<p>&nbsp;</p>
<p>The trick is that every query takes an NHibernate ISession that it uses to do its work. I have that session delivered up by the Unity container so all the Query has to do is specify that it needs ISession by taking one it its constructor and it gets the
 session for this request. Queries can also take addition parameters if they need. Most don't need any but some need to do operations based on when Now is so they take an IClock which is a simple interface that has a single property Now. I use this instead
 of DateTime.Now to make things easier to test and to ensure that time is tightly controlled in the application. I even have a specialty clock that returns Now as the most recently passed 5 minute mark (10:00, 10:05, etc). I use this for checking things like
 Published on an Entry or Banned on a user so that the query will cache better.</p>
<p>posted by Sampy</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634160252480000000</link>
		<pubDate>Thu, 29 Jul 2010 18:34:08 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634160252480000000</guid>
		<dc:creator>Sampy</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[
<p>Would this be possible : <br /><a href="http://channel9.msdn.com/forums/Coffeehouse/565569-Videos-Forum-please/">http://channel9.msdn.com/forums/Coffeehouse/565569-Videos-Forum-please/</a>&nbsp;?</p>
<p>posted by CKurt</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634167293640000000</link>
		<pubDate>Fri, 06 Aug 2010 22:09:24 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634167293640000000</guid>
		<dc:creator>CKurt</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[Very cool...<p>posted by Jocuri  Hannah Montana</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634208228990000000</link>
		<pubDate>Thu, 23 Sep 2010 07:14:59 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634208228990000000</guid>
		<dc:creator>Jocuri  Hannah Montana</dc:creator>
	</item>
	<item>
		<title>Re: Mike Sampson: Inside Rev9</title>
		<description>
			<![CDATA[<p>awesome work you have done here.</p><p>have you blogged anything you have learned since this... also does any other projects in your office use a simlar approach/architecture?</p><p>posted by dbones</p>]]>
		</description>
		<link>http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634211293930000000</link>
		<pubDate>Sun, 26 Sep 2010 20:23:13 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Shows/Going+Deep/Mike-Sampson-Inside-Rev9#c634211293930000000</guid>
		<dc:creator>dbones</dc:creator>
	</item>
</channel>
</rss>