<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com : Stories kicked by nrstott</title>
    <description>Stories kicked by nrstott</description>
    <link>http://www.dotnetkicks.com/</link>
    <language>en-us</language>
    <copyright>Atweb Publishing Ltd.</copyright>
    <docs>http://backend.userland.com/rss</docs>
    <generator>DotNetKicks.com - .NET links, community driven</generator>
    <ttl>30</ttl>
    <item>
      <title>ASP.NET MVC Domain Driven Design Part 2</title>
      <description>Implementation of entity equality and test cases to describe the behavior.  Fluent NHibernate mapping and integration testing.  Implementation of IRepository&amp;lt;T&amp;gt;. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2009%2f03%2f06%2fasp.net-mvc-domain-driven-design-deux.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2009%2f03%2f06%2fasp.net-mvc-domain-driven-design-deux.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Domain_Driven_Design_Part_2</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Domain_Driven_Design_Part_2</guid>
      <pubDate>Fri, 06 Mar 2009 22:26:50 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC Domain Driven Design</title>
      <description>The first in a series of posts detailing how to create ASP.NET MVC projects in a way that facilitates DDD.
Fluent NHibernate, NHibernate.Burrow, and MVCContrib will be used. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2009%2f03%2f01%2fasp.net-mvc-domain-driven-design.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2009%2f03%2f01%2fasp.net-mvc-domain-driven-design.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Domain_Driven_Design</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Domain_Driven_Design</guid>
      <pubDate>Thu, 05 Mar 2009 18:01:03 GMT</pubDate>
    </item>
    <item>
      <title>xVal 0.8 improves client side validation in ASP.NET MVC</title>
      <description>xVal is an open source validation framework bridge for ASP.NET MVC. Its new release, version 0.8, became available this morning and adds the following features: Support for NHibernate.Validator, Internationalization, Custom validation logic, Fluent syntax for defining ad-hoc validation rules, Comparison validators, and more. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.codeville.net%2f2009%2f02%2f27%2fxval-08-beta-now-released%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.codeville.net%2f2009%2f02%2f27%2fxval-08-beta-now-released%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/xVal_0_8_improves_client_side_validation_in_ASP_NET_MVC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/xVal_0_8_improves_client_side_validation_in_ASP_NET_MVC</guid>
      <pubDate>Sat, 28 Feb 2009 00:01:16 GMT</pubDate>
    </item>
    <item>
      <title>Executing Native Sql Using NHibernate Named Queries</title>
      <description>Describes how to use nhibernate named queries to execute sql. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.sidesofmarch.com%2findex.php%2farchive%2f2009%2f02%2f11%2fexecuting-native-sql-using-nhibernate-named-queries%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.sidesofmarch.com%2findex.php%2farchive%2f2009%2f02%2f11%2fexecuting-native-sql-using-nhibernate-named-queries%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/opensource/Executing_Native_Sql_Using_NHibernate_Named_Queries</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/opensource/Executing_Native_Sql_Using_NHibernate_Named_Queries</guid>
      <pubDate>Fri, 27 Feb 2009 02:06:09 GMT</pubDate>
    </item>
    <item>
      <title>Register Repository Implementations Automatically with Windsor</title>
      <description>It is common in a domain driven design project to want to register all the implementations of IRepository&amp;lt;&amp;gt; by convention.  There may be interfaces that inherit from IRepository&amp;lt;&amp;gt; such as ICustomerRepository inheriting from IRepository&amp;lt;Customer&amp;gt;.  

This article provides a Castle Facility that takes as its configuration parameters the base type of the repository (IRepository&amp;lt;&amp;gt;) and a group of assemblies to search.  It registers implementations of the IRepository interfaces both for the generic type and for the more specific type.

You would therefore be able to, in our example, retrieve CustomerRepository (implementation of ICustomerRepository) by resolving IRepository&amp;lt;Customer&amp;gt; or ICustomerRepository.

If you practice DDD and are using Windsor as your Inversion of Control container, this may be useful to you.  If you use a different inversion of control container, the approach could be adapted to your needs. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2009%2f02%2f26%2fregister-repository-implementations-automatically-with-a-castle-facility.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2009%2f02%2f26%2fregister-repository-implementations-automatically-with-a-castle-facility.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/Register_Repository_Implementations_Automatically_with_Windsor</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/Register_Repository_Implementations_Automatically_with_Windsor</guid>
      <pubDate>Fri, 27 Feb 2009 00:03:17 GMT</pubDate>
    </item>
    <item>
      <title>The State Pattern</title>
      <description>An introduction to the State Pattern: a behavioral design pattern that allows an object to partially change its type at runtime.
The state pattern is a subset of the strategy pattern.

The state pattern has a variety of uses, not least amongst them helping to encapsulate state changes of NHibernate persistent entities ssince it is usually undesirable to have a persistent entity change its type.  

The state pattern will also help you avoid brittle switch statements in domain logic. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f09%2f01%2fstate-pattern.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f09%2f01%2fstate-pattern.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/patterns/The_State_Pattern</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/patterns/The_State_Pattern</guid>
      <pubDate>Tue, 02 Sep 2008 02:21:38 GMT</pubDate>
    </item>
    <item>
      <title>Implementing NHibernate Interceptors</title>
      <description>A lesson on NHibernate interceptors.   &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2felegantcode.com%2f2008%2f05%2f15%2fimplementing-nhibernate-interceptors%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2felegantcode.com%2f2008%2f05%2f15%2fimplementing-nhibernate-interceptors%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/opensource/Implementing_NHibernate_Interceptors_1</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/opensource/Implementing_NHibernate_Interceptors_1</guid>
      <pubDate>Wed, 27 Aug 2008 09:40:14 GMT</pubDate>
    </item>
    <item>
      <title>Domain Objects Pattern</title>
      <description>Defines and describes the benefits of the use of Data Transfer Objects (DTOs). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f08%2f23%2fdata-transfer-objects.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f08%2f23%2fdata-transfer-objects.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/patterns/Domain_Objects_Pattern</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/patterns/Domain_Objects_Pattern</guid>
      <pubDate>Sun, 24 Aug 2008 10:37:20 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC Forms With Validation Framework Open Sourced</title>
      <description>The MVC Forms With Validation framework is now open sourced.  A google code repository has been created.

The framework received a lot of attention when posted, so check out the google code project and try it out in your own applications! &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f08%2f17%2fmvc-forms-with-validation-open-sourced.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f08%2f17%2fmvc-forms-with-validation-open-sourced.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/ASP_NET_MVC_Forms_With_Validation_Framework_Open_Sourced</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/ASP_NET_MVC_Forms_With_Validation_Framework_Open_Sourced</guid>
      <pubDate>Mon, 18 Aug 2008 03:28:46 GMT</pubDate>
    </item>
    <item>
      <title>.NET 3.5 SP1 Get*CustomModifiers bugs</title>
      <description>Oren Eini describes new bugs in .NET 3.5 SP1 with ParameterInfo.GetRequiredCustomModifiers and ParameterInfo.GetOptionalCustomModifiers &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fayende.com%2fBlog%2farchive%2f2008%2f08%2f13%2fHow-.Net-3.5-SP1-broke-Rhino-Mocks.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fayende.com%2fBlog%2farchive%2f2008%2f08%2f13%2fHow-.Net-3.5-SP1-broke-Rhino-Mocks.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/csharp/NET_3_5_SP1_Get_CustomModifiers_bugs</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/csharp/NET_3_5_SP1_Get_CustomModifiers_bugs</guid>
      <pubDate>Wed, 13 Aug 2008 23:46:03 GMT</pubDate>
    </item>
    <item>
      <title>MVC Storefront Part 18: Creating An Experience</title>
      <description>Creating An Experience &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.wekeroad.com%2fmvc-storefront%2fmvcstore-part-18%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.wekeroad.com%2fmvc-storefront%2fmvcstore-part-18%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/MVC_Storefront_Part_18_Creating_An_Experience</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/MVC_Storefront_Part_18_Creating_An_Experience</guid>
      <pubDate>Sun, 17 Aug 2008 11:46:03 GMT</pubDate>
    </item>
    <item>
      <title>Forms Validation Framework for ASP.NET MVC</title>
      <description>A reusable technique and sample project detailing how to use POCO models to generate forms and perform validation upon them.  The forms helper class can be used as parameters to action methods via an action filter providing seamless integration with the MVC framework.

Generate, render, and validate forms based upon POCO objects quickly and easily. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f08%2f10%2fmvc-forms-framework-with-validation.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f08%2f10%2fmvc-forms-framework-with-validation.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Forms_Validation_Framework_for_ASP_NET_MVC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Forms_Validation_Framework_for_ASP_NET_MVC</guid>
      <pubDate>Tue, 12 Aug 2008 00:31:10 GMT</pubDate>
    </item>
    <item>
      <title>MVC Routing For Specifying Response Type</title>
      <description>This is a post I wrote about providing a response type based upon the extension used in a route for MVC routes.

Example URLs:
/Category/Show/1  
/Category/Show.xml/1 
/Category/Show.json/1 

With this approach, in your controller, RouteData[&amp;quot;responseType&amp;quot;] will default to html or if a different extension was added to the action, then it will reflect that extension.  This allows nice URLs for services wanting to access your actions as services that provide json, xml, or whatever else you might desire to return. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f07%2f29%2frouting-for-alternate-response-types.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f07%2f29%2frouting-for-alternate-response-types.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/MVC_Routing_For_Specifying_Response_Type</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/MVC_Routing_For_Specifying_Response_Type</guid>
      <pubDate>Wed, 30 Jul 2008 07:35:25 GMT</pubDate>
    </item>
    <item>
      <title>Building Domain Specific Languages in Boo: Chapter 9 TOC</title>
      <description>The table of contents for chapter 9 of Ayende's great book about Boo DSL. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fayende.com%2fBlog%2farchive%2f2008%2f07%2f29%2fBuilding-Domain-Specific-Languages-in-Boo-Chapter-9-TOC.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fayende.com%2fBlog%2farchive%2f2008%2f07%2f29%2fBuilding-Domain-Specific-Languages-in-Boo-Chapter-9-TOC.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/patterns/Building_Domain_Specific_Languages_in_Boo_Chapter_9_TOC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/patterns/Building_Domain_Specific_Languages_in_Boo_Chapter_9_TOC</guid>
      <pubDate>Wed, 30 Jul 2008 07:27:22 GMT</pubDate>
    </item>
    <item>
      <title>Brackets, braces, parentheses, and other such creatures</title>
      <description>An interesting story about a common task in text-manipulation done with TDD.  

The problem is stated as such:
This aim of this challenge was to determine whether any given string has a legal bracket structure. Basically, make sure all the '(', '[', '{', and '&amp;lt;' have matching ')', ']', '}' and '&amp;gt;'. We also need to take nesting into account, so that &amp;quot;({)}&amp;quot; is incorrect, and &amp;quot;({}&amp;lt;{}&amp;gt;)&amp;quot; will pass.

 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdavesquared.blogspot.com%2f2008%2f07%2fbrackets-braces-parenthesis-and-other.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdavesquared.blogspot.com%2f2008%2f07%2fbrackets-braces-parenthesis-and-other.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/unittesting/Brackets_braces_parentheses_and_other_such_creatures</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/unittesting/Brackets_braces_parentheses_and_other_such_creatures</guid>
      <pubDate>Tue, 29 Jul 2008 08:29:49 GMT</pubDate>
    </item>
    <item>
      <title>Domain Specific Language using Rhino DSL and Boo</title>
      <description>A C# implementation of a domain specific language for configuration of a new open source project: mite.  Rhino.DSL is used to create a DSL to define migration environments.  The syntax for the Boo based DSL is concise and allows the configuration to be kept DRY.  

There are many advantages to using DSL over XML configuration.  See how quick and easy it is to build your own DSL.

Sample project is included. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f06%2f24%2fsettings-dsl.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fnathan.whiteboard-it.com%2farchive%2f2008%2f06%2f24%2fsettings-dsl.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/opensource/Domain_Specific_Language_using_Rhino_DSL_and_Boo</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/opensource/Domain_Specific_Language_using_Rhino_DSL_and_Boo</guid>
      <pubDate>Wed, 25 Jun 2008 00:40:00 GMT</pubDate>
    </item>
    <item>
      <title>Entity Life-Cycle in NHibernate: IInterceptor Interface</title>
      <description>Explanation of IInterceptor interface role in persistent entity life-cycle. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2f20.targetprocess.com%2f2006%2f08%2fentity-life-cycle-in-nhibernate.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2f20.targetprocess.com%2f2006%2f08%2fentity-life-cycle-in-nhibernate.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/architecture/Entity_Life_Cycle_in_NHibernate_IInterceptor_Interface</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/architecture/Entity_Life_Cycle_in_NHibernate_IInterceptor_Interface</guid>
      <pubDate>Mon, 21 Aug 2006 17:01:01 GMT</pubDate>
    </item>
  </channel>
</rss>
