<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Views and Databases Don&#8217;t Mix</title>
	<atom:link href="http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/feed/" rel="self" type="application/rss+xml" />
	<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/</link>
	<description>I&#039;m just here for the code</description>
	<lastBuildDate>Thu, 22 Jul 2010 12:16:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ASP.NET MVC Archived Blog Posts, Page 1</title>
		<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/comment-page-1/#comment-898</link>
		<dc:creator>ASP.NET MVC Archived Blog Posts, Page 1</dc:creator>
		<pubDate>Mon, 28 Dec 2009 16:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/#comment-898</guid>
		<description>[...] to VoteViews and Databases Don’t Mix (12/21/2009)Monday, December 21, 2009 from JasonThe Problem In my MVC applications, I sometimes bind my views [...]</description>
		<content:encoded><![CDATA[<p>[...] to VoteViews and Databases Don’t Mix (12/21/2009)Monday, December 21, 2009 from JasonThe Problem In my MVC applications, I sometimes bind my views [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/comment-page-1/#comment-896</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Fri, 25 Dec 2009 01:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/#comment-896</guid>
		<description>I consider that an exception to the default behavior. You could certainly turn off this behavior with an action filter.</description>
		<content:encoded><![CDATA[<p>I consider that an exception to the default behavior. You could certainly turn off this behavior with an action filter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Willem B</title>
		<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/comment-page-1/#comment-893</link>
		<dc:creator>Jan Willem B</dc:creator>
		<pubDate>Wed, 23 Dec 2009 21:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/#comment-893</guid>
		<description>Sometimes views include output from other actions in this way: 
Html.RenderAction(x =&gt; x.SomeAction())

If the &quot;nested&quot; action needs the session that was initiated by the request, you will be in trouble. Probably. I did not test it.</description>
		<content:encoded><![CDATA[<p>Sometimes views include output from other actions in this way:<br />
Html.RenderAction(x =&gt; x.SomeAction())</p>
<p>If the &#8220;nested&#8221; action needs the session that was initiated by the request, you will be in trouble. Probably. I did not test it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/comment-page-1/#comment-890</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Tue, 22 Dec 2009 10:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/#comment-890</guid>
		<description>Thanks for the feedback Neal. I enjoy reading your blog. That is cleaner and clearer. If I were a better programmer, I&#039;d certainly go that route. 

However, my goal was to make this the default behavior and opt out where necessary. I want to highlight my mistakes without requiring a conscious decision over and over. I&#039;m not sure if that&#039;s mistake-proofing or fool-proofing, but it&#039;s Jason-proofing. 

I think an AoP solution could be a great alternative with little or no repetitive markup. </description>
		<content:encoded><![CDATA[<p>Thanks for the feedback Neal. I enjoy reading your blog. That is cleaner and clearer. If I were a better programmer, I&#8217;d certainly go that route. </p>
<p>However, my goal was to make this the default behavior and opt out where necessary. I want to highlight my mistakes without requiring a conscious decision over and over. I&#8217;m not sure if that&#8217;s mistake-proofing or fool-proofing, but it&#8217;s Jason-proofing. </p>
<p>I think an AoP solution could be a great alternative with little or no repetitive markup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neal Blomfield</title>
		<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/comment-page-1/#comment-889</link>
		<dc:creator>Neal Blomfield</dc:creator>
		<pubDate>Mon, 21 Dec 2009 20:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/#comment-889</guid>
		<description>If you create an action filter to manage the scope of the session then you can open it before the action executes and close it after the action executes but before the result is executed.  

Using an action filter for this is cleaner and clearer than overriding OnResultExecuting as managing the scope of the unit of work is a cross cutting concern.</description>
		<content:encoded><![CDATA[<p>If you create an action filter to manage the scope of the session then you can open it before the action executes and close it after the action executes but before the result is executed.  </p>
<p>Using an action filter for this is cleaner and clearer than overriding OnResultExecuting as managing the scope of the unit of work is a cross cutting concern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Views and Databases Don’t Mix « BASICly everything -- Topsy.com</title>
		<link>http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/comment-page-1/#comment-888</link>
		<dc:creator>Tweets that mention Views and Databases Don’t Mix « BASICly everything -- Topsy.com</dc:creator>
		<pubDate>Mon, 21 Dec 2009 20:32:45 +0000</pubDate>
		<guid isPermaLink="false">http://jasondentler.com/blog/2009/12/views-and-databases-dont-mix/#comment-888</guid>
		<description>[...] This post was mentioned on Twitter by Michael Stum and Jason Dentler, .NET Links. .NET Links said: Views and Databases Don’t Mix by @jasondentler http://bit.ly/69v0tM [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Michael Stum and Jason Dentler, .NET Links. .NET Links said: Views and Databases Don’t Mix by @jasondentler <a href="http://bit.ly/69v0tM" rel="nofollow">http://bit.ly/69v0tM</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
