<?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 for Shawn Mclean | Blog | Jamaica</title>
	<atom:link href="http://www.shawnmclean.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shawnmclean.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 06 May 2012 10:57:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on IQueryable vs. IEnumerable in the repository pattern by IQueryable Vs IEnumerable &#124; Jinal Desai</title>
		<link>http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/comment-page-1/#comment-1393</link>
		<dc:creator>IQueryable Vs IEnumerable &#124; Jinal Desai</dc:creator>
		<pubDate>Sun, 06 May 2012 10:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=237#comment-1393</guid>
		<description>[...] http://blogs.msdn.com/b/wriju/archive/2008/05/06/linq-ienumerable-t-and-iqueryable-t.aspx http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blogs.msdn.com/b/wriju/archive/2008/05/06/linq-ienumerable-t-and-iqueryable-t.aspx" rel="nofollow">http://blogs.msdn.com/b/wriju/archive/2008/05/06/linq-ienumerable-t-and-iqueryable-t.aspx</a> <a href="http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/" rel="nofollow">http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Asp.net MVC Multiple check-boxes in an array or list by Tim Cuculic</title>
		<link>http://www.shawnmclean.com/blog/2011/04/asp-net-mvc-multiple-check-boxes-in-an-array-or-list/comment-page-1/#comment-1320</link>
		<dc:creator>Tim Cuculic</dc:creator>
		<pubDate>Thu, 03 May 2012 23:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=217#comment-1320</guid>
		<description>I am looking for a simple example of MVC3 checkboxes. This looks great! Can you post a link to a working example so I can download and dissect in Visual Studio?</description>
		<content:encoded><![CDATA[<p>I am looking for a simple example of MVC3 checkboxes. This looks great! Can you post a link to a working example so I can download and dissect in Visual Studio?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Storing Passwords using PBKDF2 Algorithm by Romaine Carter</title>
		<link>http://www.shawnmclean.com/blog/2011/10/storing-passwords-using-pbkdf2-algorithm/comment-page-1/#comment-946</link>
		<dc:creator>Romaine Carter</dc:creator>
		<pubDate>Tue, 10 Apr 2012 13:58:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=301#comment-946</guid>
		<description>Well done Shawn, will be doing some stuff with C++ AMP  soon and I could use this as a benchmark thanks.</description>
		<content:encoded><![CDATA[<p>Well done Shawn, will be doing some stuff with C++ AMP  soon and I could use this as a benchmark thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Detecting if user is idle, away or back by using Idle.js by Rick</title>
		<link>http://www.shawnmclean.com/blog/2012/03/detecting-if-user-is-idle-away-or-back-by-using-idle-js/comment-page-1/#comment-839</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Sun, 04 Mar 2012 21:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=340#comment-839</guid>
		<description>This is really coool, nice work. I am think of using it on a project i am working on, may to send a refresh to a page once the user is back, to update the page data.</description>
		<content:encoded><![CDATA[<p>This is really coool, nice work. I am think of using it on a project i am working on, may to send a refresh to a page once the user is back, to update the page data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IQueryable vs. IEnumerable in the repository pattern by Shawn Mclean</title>
		<link>http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/comment-page-1/#comment-699</link>
		<dc:creator>Shawn Mclean</dc:creator>
		<pubDate>Tue, 03 Jan 2012 20:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=237#comment-699</guid>
		<description>@mkamoski, hello, When you use the `using` context, what it basically does is call the dispose method on the db context for you instead of having the garbage collector do this. So what happens is that when your query reaches the presentation layer, it then tries to execute it from there, which would not work due to the context already being disposed. If however you return an IEnumerable from the data layer, it may work due to the database already being queried during that set of instructions of returning an IEnumerable.</description>
		<content:encoded><![CDATA[<p>@mkamoski, hello, When you use the `using` context, what it basically does is call the dispose method on the db context for you instead of having the garbage collector do this. So what happens is that when your query reaches the presentation layer, it then tries to execute it from there, which would not work due to the context already being disposed. If however you return an IEnumerable from the data layer, it may work due to the database already being queried during that set of instructions of returning an IEnumerable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IQueryable vs. IEnumerable in the repository pattern by mkamoski</title>
		<link>http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/comment-page-1/#comment-698</link>
		<dc:creator>mkamoski</dc:creator>
		<pubDate>Tue, 03 Jan 2012 18:45:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=237#comment-698</guid>
		<description>BTW, I should have said that I am using Self Tracking Entities so I am still even more confused that I cannot employ a using block on the DataContext in the Business Layer and still be able to bind the returned Entity Set in the Presentation Layer. I mean isn&#039;t that what Self Tracking Entities are supposed to handle???</description>
		<content:encoded><![CDATA[<p>BTW, I should have said that I am using Self Tracking Entities so I am still even more confused that I cannot employ a using block on the DataContext in the Business Layer and still be able to bind the returned Entity Set in the Presentation Layer. I mean isn&#8217;t that what Self Tracking Entities are supposed to handle???</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IQueryable vs. IEnumerable in the repository pattern by mkamoski</title>
		<link>http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/comment-page-1/#comment-697</link>
		<dc:creator>mkamoski</dc:creator>
		<pubDate>Tue, 03 Jan 2012 15:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=237#comment-697</guid>
		<description>Dear Author –

This is a follow-up to my previous comment.

I want to mention another thing that you perhaps did not cover in your excellent article.

If one does have the ObjectContext in a using block in the business-layer and if one does return an IEnumerable to the presentation-layer and if one does try to bind the the IEnumerable to a DataGrid, then one will get the following run-time-error…

ObjectContext instance has been disposed and can no longer be used for operations that require a connection

…but if one does not employ a using block in such a situation then the data-binding will work in the Presentation Layer.

What is odd (at least to me) is that the using block cannot be employed in this type of scenario with both the IQueryable and the IEnumerable-- so neither of these cases allows one to destroy the ObjectContext, which is a little strange given that it seems to run counter to the old standard best-practices rule of &quot;keep database connections open for the shortest time possible&quot;. I do see that an ObjectContext is not exactly like an open database connection but it is similar enough that I am surprised that the best-practices-rule cannot be applied here by employing a using block. Also, this seems to violate the &quot;Don&#039;t Talk To Strangers&quot; rule a bit too.

HTH.

Thanks.

– Mark Kamoski</description>
		<content:encoded><![CDATA[<p>Dear Author –</p>
<p>This is a follow-up to my previous comment.</p>
<p>I want to mention another thing that you perhaps did not cover in your excellent article.</p>
<p>If one does have the ObjectContext in a using block in the business-layer and if one does return an IEnumerable to the presentation-layer and if one does try to bind the the IEnumerable to a DataGrid, then one will get the following run-time-error…</p>
<p>ObjectContext instance has been disposed and can no longer be used for operations that require a connection</p>
<p>…but if one does not employ a using block in such a situation then the data-binding will work in the Presentation Layer.</p>
<p>What is odd (at least to me) is that the using block cannot be employed in this type of scenario with both the IQueryable and the IEnumerable&#8211; so neither of these cases allows one to destroy the ObjectContext, which is a little strange given that it seems to run counter to the old standard best-practices rule of &#8220;keep database connections open for the shortest time possible&#8221;. I do see that an ObjectContext is not exactly like an open database connection but it is similar enough that I am surprised that the best-practices-rule cannot be applied here by employing a using block. Also, this seems to violate the &#8220;Don&#8217;t Talk To Strangers&#8221; rule a bit too.</p>
<p>HTH.</p>
<p>Thanks.</p>
<p>– Mark Kamoski</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IQueryable vs. IEnumerable in the repository pattern by mkamoski</title>
		<link>http://www.shawnmclean.com/blog/2011/06/iqueryable-vs-ienumerable-in-the-repository-pattern/comment-page-1/#comment-683</link>
		<dc:creator>mkamoski</dc:creator>
		<pubDate>Thu, 29 Dec 2011 19:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=237#comment-683</guid>
		<description>Dear Author --

You have posted a great article.

I want to mention one thing that you perhaps did not cover.

If one does have the ObjectContext is a using block in the business-layer and if one does return an IQueryable to the presentation-layer and if one does try to bind the the IQueryable to a DataGrid, then one will get the following run-time-error...

ObjectContext instance has been disposed and can no longer be used for operations that require a connection

...but if one does not emply a using block then it will work.

HTH.

Thanks.

-- Mark Kamoski</description>
		<content:encoded><![CDATA[<p>Dear Author &#8211;</p>
<p>You have posted a great article.</p>
<p>I want to mention one thing that you perhaps did not cover.</p>
<p>If one does have the ObjectContext is a using block in the business-layer and if one does return an IQueryable to the presentation-layer and if one does try to bind the the IQueryable to a DataGrid, then one will get the following run-time-error&#8230;</p>
<p>ObjectContext instance has been disposed and can no longer be used for operations that require a connection</p>
<p>&#8230;but if one does not emply a using block then it will work.</p>
<p>HTH.</p>
<p>Thanks.</p>
<p>&#8211; Mark Kamoski</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Add folders to fsharp (F#) project in visual studio 2010/2008 by Michael Feingold</title>
		<link>http://www.shawnmclean.com/blog/2011/03/add-folders-to-fsharp-f-project-in-visual-studio-20102008/comment-page-1/#comment-673</link>
		<dc:creator>Michael Feingold</dc:creator>
		<pubDate>Sat, 24 Dec 2011 22:46:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=209#comment-673</guid>
		<description>Your last statement is incorrect. 

After installing the project extender the order files are compiled in is completely independent from the order they are shown in the solution explorer. 

To change the order go to the project properties and then select the compilation order tab.</description>
		<content:encoded><![CDATA[<p>Your last statement is incorrect. </p>
<p>After installing the project extender the order files are compiled in is completely independent from the order they are shown in the solution explorer. </p>
<p>To change the order go to the project properties and then select the compilation order tab.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert Image to Canvas and back HTML5 by popo</title>
		<link>http://www.shawnmclean.com/blog/2011/08/convert-image-to-canvas-and-back/comment-page-1/#comment-666</link>
		<dc:creator>popo</dc:creator>
		<pubDate>Thu, 22 Dec 2011 10:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.shawnmclean.com/blog/?p=262#comment-666</guid>
		<description>Is there supposed to be some code somewhere?</description>
		<content:encoded><![CDATA[<p>Is there supposed to be some code somewhere?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

