<?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: Lessons from my first ASP.NET MVC 2 web application</title>
	<atom:link href="http://rogerdickeyjr.com/lessons-from-my-first-asp-net-mvc-2-web-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogerdickeyjr.com/lessons-from-my-first-asp-net-mvc-2-web-application/</link>
	<description>Computer Wizard, The API Guy &#38; Internet Marketer</description>
	<lastBuildDate>Tue, 22 Nov 2011 15:32:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Roger</title>
		<link>http://rogerdickeyjr.com/lessons-from-my-first-asp-net-mvc-2-web-application/comment-page-1/#comment-116</link>
		<dc:creator>Roger</dc:creator>
		<pubDate>Tue, 27 Jul 2010 13:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://rogerdickeyjr.com/lessons-from-my-first-asp-net-mvc-2-web-application/#comment-116</guid>
		<description>Thanks for the LINQ tips Damian! That&#039;ll save a few keystrokes.</description>
		<content:encoded><![CDATA[<p>Thanks for the LINQ tips Damian! That&#8217;ll save a few keystrokes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damian Karzon</title>
		<link>http://rogerdickeyjr.com/lessons-from-my-first-asp-net-mvc-2-web-application/comment-page-1/#comment-114</link>
		<dc:creator>Damian Karzon</dc:creator>
		<pubDate>Tue, 27 Jul 2010 02:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://rogerdickeyjr.com/lessons-from-my-first-asp-net-mvc-2-web-application/#comment-114</guid>
		<description>Great Post and thanks for the link.

Talking about the return classes though, I normally create a set of classes to use as Json I found that makes it easier for when you want to send data to your controller and deserialize it.

Also, with your linq query, you can add a query to the SingleOrDefault Function so instead of &lt;strong&gt;.Where(x =&gt; x.ID == newID).SingleOrDefault()&lt;/strong&gt; you can just use &lt;strong&gt;.SingleOrDefault(x =&gt; x.ID == newID)&lt;/strong&gt; or alternatively you could add a &lt;strong&gt;IEnumerable Find(Func exp);&lt;/strong&gt; to your IRepository interface and that returns &lt;strong&gt;GetTable.Where(exp);&lt;/strong&gt;

LINQ is awesome once you get the hang of it! Keep up the good work.</description>
		<content:encoded><![CDATA[<p>Great Post and thanks for the link.</p>
<p>Talking about the return classes though, I normally create a set of classes to use as Json I found that makes it easier for when you want to send data to your controller and deserialize it.</p>
<p>Also, with your linq query, you can add a query to the SingleOrDefault Function so instead of <strong>.Where(x =&gt; x.ID == newID).SingleOrDefault()</strong> you can just use <strong>.SingleOrDefault(x =&gt; x.ID == newID)</strong> or alternatively you could add a <strong>IEnumerable Find(Func exp);</strong> to your IRepository interface and that returns <strong>GetTable.Where(exp);</strong></p>
<p>LINQ is awesome once you get the hang of it! Keep up the good work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

