<?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 Esencia Development</title>
	<atom:link href="http://www.esenciadev.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.esenciadev.com</link>
	<description>thoughts and solutions from software craftsmen</description>
	<lastBuildDate>Mon, 27 Jun 2011 15:39:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Model Validation in ASP.NET MVC3 by Alex</title>
		<link>http://www.esenciadev.com/2011/02/model-validation-in-asp-net-mvc3-2/comment-page-1/#comment-860</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 27 Jun 2011 15:39:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/?p=210#comment-860</guid>
		<description>Thanks for posting this, it&#039;s a very good introduction to validation in MVC3 :)</description>
		<content:encoded><![CDATA[<p>Thanks for posting this, it&#8217;s a very good introduction to validation in MVC3 <img src='http://www.esenciadev.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF WTF &#8211; Data Binding Happens When, Now? by Brett Burkhart</title>
		<link>http://www.esenciadev.com/2010/09/wpf-wtf-data-binding-happens-when-now/comment-page-1/#comment-547</link>
		<dc:creator>Brett Burkhart</dc:creator>
		<pubDate>Wed, 18 May 2011 15:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/2010/09/wpf-wtf-data-binding-happens-when-now/#comment-547</guid>
		<description>You don&#039;t need to set the SelectedItem in the loaded event, use the power of data binding instead.  Bind the ComboBox.SelectedItem to the SelectedFont property.  As long as your ComboxBox is bound to a collection of FontInformation objects, you can set the SelectedItem in your ViewModel to whatever you want.



You should be using a MVVM pattern, where the DataContext of your form is some class that contains the AvailableFonts and SelectedFont properties.

public ObservableCollection AvailableFonts {get;set;}

public FontInformation SelectedFont {get;set { ...raise property change...}}

Hope that helps.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need to set the SelectedItem in the loaded event, use the power of data binding instead.  Bind the ComboBox.SelectedItem to the SelectedFont property.  As long as your ComboxBox is bound to a collection of FontInformation objects, you can set the SelectedItem in your ViewModel to whatever you want.</p>
<p>You should be using a MVVM pattern, where the DataContext of your form is some class that contains the AvailableFonts and SelectedFont properties.</p>
<p>public ObservableCollection AvailableFonts {get;set;}</p>
<p>public FontInformation SelectedFont {get;set { &#8230;raise property change&#8230;}}</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting rid of Magic Strings in Entity Framework 4 Includes by Matt</title>
		<link>http://www.esenciadev.com/2011/01/getting-rid-of-magic-strings-in-entity-framework-4-includes/comment-page-1/#comment-288</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 14 Mar 2011 15:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/?p=169#comment-288</guid>
		<description>Thanks for the update. Will be nice to have that as an addition once it&#039;s out of CTP status. The solution above offers a performance benefit as well (no lambda expression at runtime).

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks for the update. Will be nice to have that as an addition once it&#8217;s out of CTP status. The solution above offers a performance benefit as well (no lambda expression at runtime).</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WPF WTF &#8211; Data Binding Happens When, Now? by Criss</title>
		<link>http://www.esenciadev.com/2010/09/wpf-wtf-data-binding-happens-when-now/comment-page-1/#comment-287</link>
		<dc:creator>Criss</dc:creator>
		<pubDate>Mon, 14 Mar 2011 13:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/2010/09/wpf-wtf-data-binding-happens-when-now/#comment-287</guid>
		<description>Hi Matt!

From my point of view the default behavior is the one expected. The reason why I believe this, is because, as in Windows Forms applications, if you have a control on your form and you set the SelectedItem property, without prior setting its DataSource property, it will display no data (because the item cannot be found in the underlying data).
Also, if you write custom controls in WinForms/WPF you will usually create member variables to store the information for child controls, usually to prevent populating them in the Design Mode or  to correctly serialize the custom properties defined.

Criss</description>
		<content:encoded><![CDATA[<p>Hi Matt!</p>
<p>From my point of view the default behavior is the one expected. The reason why I believe this, is because, as in Windows Forms applications, if you have a control on your form and you set the SelectedItem property, without prior setting its DataSource property, it will display no data (because the item cannot be found in the underlying data).<br />
Also, if you write custom controls in WinForms/WPF you will usually create member variables to store the information for child controls, usually to prevent populating them in the Design Mode or  to correctly serialize the custom properties defined.</p>
<p>Criss</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting rid of Magic Strings in Entity Framework 4 Includes by Chris Sutton</title>
		<link>http://www.esenciadev.com/2011/01/getting-rid-of-magic-strings-in-entity-framework-4-includes/comment-page-1/#comment-285</link>
		<dc:creator>Chris Sutton</dc:creator>
		<pubDate>Fri, 11 Mar 2011 05:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/?p=169#comment-285</guid>
		<description>Code First CTP5 already gives the option to get rid of the magic .Include() strings. See the first eager loading example here - http://blogs.msdn.com/b/adonet/archive/2011/01/31/using-dbcontext-in-ef-feature-ctp5-part-6-loading-related-entities.aspx</description>
		<content:encoded><![CDATA[<p>Code First CTP5 already gives the option to get rid of the magic .Include() strings. See the first eager loading example here &#8211; <a href="http://blogs.msdn.com/b/adonet/archive/2011/01/31/using-dbcontext-in-ef-feature-ctp5-part-6-loading-related-entities.aspx" rel="nofollow">http://blogs.msdn.com/b/adonet/archive/2011/01/31/using-dbcontext-in-ef-feature-ctp5-part-6-loading-related-entities.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dependency Injected Action Filters in ASP.NET MVC2 by Bryan</title>
		<link>http://www.esenciadev.com/2010/05/dependency-injected-action-filters-in-asp-net-mvc2/comment-page-1/#comment-3</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Tue, 11 May 2010 16:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/?p=93#comment-3</guid>
		<description>Cool. This is the next best thing to constructor injection, and will do for now! Thanks for the post!</description>
		<content:encoded><![CDATA[<p>Cool. This is the next best thing to constructor injection, and will do for now! Thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dependency Injected Action Filters in ASP.NET MVC2 by Tweets that mention Dependency Injected Action Filters in ASP.NET MVC2 &#124; Esencia Development -- Topsy.com</title>
		<link>http://www.esenciadev.com/2010/05/dependency-injected-action-filters-in-asp-net-mvc2/comment-page-1/#comment-2</link>
		<dc:creator>Tweets that mention Dependency Injected Action Filters in ASP.NET MVC2 &#124; Esencia Development -- Topsy.com</dc:creator>
		<pubDate>Sun, 09 May 2010 17:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.esenciadev.com/?p=93#comment-2</guid>
		<description>[...] This post was mentioned on Twitter by Jason Hoover. Jason Hoover said: Great article on doing dependency injection with action filters in MVC2 http://tinyurl.com/25632r3 [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Jason Hoover. Jason Hoover said: Great article on doing dependency injection with action filters in MVC2 <a href="http://tinyurl.com/25632r3" rel="nofollow">http://tinyurl.com/25632r3</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

