<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>DotNetKicks.com - Stories tagged with MVC</title>
    <description>the latest stories tagged with 'MVC' from DotNetKicks.com</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: How to combine scripts and other resources</title>
      <description>ASP.NET pages that use AJAX components make usually many requests to server per one page to load all required JavaScript and CSS files. Connections, like all other real time resources, are most expensive to create and keep. If we can somehow decrease the number of requests per page load then we need less server resources for same amount of users &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fweblogs.asp.net%2fgunnarpeipman%2farchive%2f2009%2f07%2f04%2fasp-net-mvc-how-to-combine-scripts-and-other-resources.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fweblogs.asp.net%2fgunnarpeipman%2farchive%2f2009%2f07%2f04%2fasp-net-mvc-how-to-combine-scripts-and-other-resources.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_How_to_combine_scripts_and_other_resources</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_How_to_combine_scripts_and_other_resources</guid>
      <pubDate>Sat, 04 Jul 2009 20:00:56 GMT</pubDate>
    </item>
    <item>
      <title>How to pass Dictionary as a parameter to an ActionResult</title>
      <description>I'm using jQuery to make an Ajax call using an Http Post in ASP.NET MVC. I would like to be able to pass a Dictionary of values. I finally figured out the best solution is to pass JSON via the Http Post and use a custom ModelBinder to convert the JSON to a Dictionary. One thing I did in my solution is created a JsonDictionary object that inherits from Dictionary so that I can attach the custom ModelBinder to the JsonDictionary type, and it wont cause any conflicts in the future if I use Dictionary as a ActionResult parameter later on for a different purpose than JSON. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fstackoverflow.com%2fquestions%2f1077481%2fhow-do-i-pass-a-dictionary-as-a-parameter-to-an-actionresult-method-from-jquery-a%2f1080721"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fstackoverflow.com%2fquestions%2f1077481%2fhow-do-i-pass-a-dictionary-as-a-parameter-to-an-actionresult-method-from-jquery-a%2f1080721" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/How_to_pass_Dictionary_as_a_parameter_to_an_ActionResult</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/How_to_pass_Dictionary_as_a_parameter_to_an_ActionResult</guid>
      <pubDate>Fri, 03 Jul 2009 22:48:07 GMT</pubDate>
    </item>
    <item>
      <title>Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project</title>
      <description>Recently I had to implement some code to create an Excel spreadsheet/report using C#.
The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report).
I had a great time while studying the possible ways of doing what the task asks for.
In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</guid>
      <pubDate>Fri, 03 Jul 2009 00:20:00 GMT</pubDate>
    </item>
    <item>
      <title>Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project</title>
      <description>Recently I had to implement some code to create an Excel spreadsheet/report using C#.
The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report).
I had a great time while studying the possible ways of doing what the task asks for.
In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</guid>
      <pubDate>Fri, 03 Jul 2009 00:20:00 GMT</pubDate>
    </item>
    <item>
      <title>Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project</title>
      <description>Recently I had to implement some code to create an Excel spreadsheet/report using C#.
The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report).
I had a great time while studying the possible ways of doing what the task asks for.
In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</guid>
      <pubDate>Fri, 03 Jul 2009 00:20:00 GMT</pubDate>
    </item>
    <item>
      <title>Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project</title>
      <description>Recently I had to implement some code to create an Excel spreadsheet/report using C#.
The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report).
I had a great time while studying the possible ways of doing what the task asks for.
In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</guid>
      <pubDate>Fri, 03 Jul 2009 00:20:00 GMT</pubDate>
    </item>
    <item>
      <title>Creating Excel spreadsheets .XLS and .XLSX in C# - ASP.NET MVC Project</title>
      <description>Recently I had to implement some code to create an Excel spreadsheet/report using C#.
The task was: given an Excel spreadsheet template - a .XLS file (with formulas, pivot tables, macros, etc) I had to fill some data in one of the sheets of the spreadsheet and send this modified spreadsheet back to the user requesting such an operation (Excel report).
I had a great time while studying the possible ways of doing what the task asks for.
In this article I present an ASP.NET MVC project that shows you how to create an .XLS file using NPOI and an .XLSX file using ExcelPackage. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.leniel.net%2f2009%2f07%2fcreating-excel-spreadsheets-xls-xlsx-c.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/Creating_Excel_spreadsheets_XLS_and_XLSX_in_C_ASP_NET_MVC_Project</guid>
      <pubDate>Fri, 03 Jul 2009 00:20:00 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC Grid - Part 3 - Sorting</title>
      <description>This is a 3rd part of a series on implementing a fully functional Mvc Grid with features like server side paging and sorting.
In this part - server side sorting is added to the grid. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fxlib.wordpress.com%2f2009%2f07%2f01%2fasp-net-mvc-grid-%25E2%2580%2593-part-3-sorting%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fxlib.wordpress.com%2f2009%2f07%2f01%2fasp-net-mvc-grid-%25E2%2580%2593-part-3-sorting%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Grid_Part_3_Sorting</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Grid_Part_3_Sorting</guid>
      <pubDate>Thu, 02 Jul 2009 11:46:36 GMT</pubDate>
    </item>
    <item>
      <title>Using Custom T4 templates To Generate Better Controllers in ASP MVC</title>
      <description>While working on this asp.net mvc project at work i couldn't help notice that there are lots of code that is getting copy-pasted from one controller to the other, when i am adding a new controller. now as you know mvc fm comes with a set of T4 templates that lets you add views and controllers in such a way that some code in these views and controllers are generated for you. this is grate. but you can customize the original templates to your needs and make them generate more of the code for you. (please note that i am talking about controllers that are responsible for mostly CURD on a given single model.).... &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fthekindofme.wordpress.com%2f2009%2f07%2f01%2fusing-custom-t4-templates-to-generate-better-controllers-in-asp-mvc%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fthekindofme.wordpress.com%2f2009%2f07%2f01%2fusing-custom-t4-templates-to-generate-better-controllers-in-asp-mvc%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Using_Custom_T4_templates_To_Generate_Better_Controllers_in_ASP_MVC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Using_Custom_T4_templates_To_Generate_Better_Controllers_in_ASP_MVC</guid>
      <pubDate>Wed, 01 Jul 2009 08:06:17 GMT</pubDate>
    </item>
    <item>
      <title>Handling Scripts in ASP.Net MVC</title>
      <description>Nice option for adding client scripts in the MVC Framework. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2ffrugalcoder.us%2fpost%2f2009%2f06%2f29%2fHandling-Scripts-in-ASPNet-MVC.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2ffrugalcoder.us%2fpost%2f2009%2f06%2f29%2fHandling-Scripts-in-ASPNet-MVC.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Handling_Scripts_in_ASP_Net_MVC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Handling_Scripts_in_ASP_Net_MVC</guid>
      <pubDate>Tue, 30 Jun 2009 03:21:10 GMT</pubDate>
    </item>
    <item>
      <title>OpenForum - A Free Forum for ASP.NET MVC Applications</title>
      <description>One of the things that I really like about the MVC framework is that it offers some unique possibilities when it comes to third parties developing entire sub-systems that can easily be plugged into existing applications. Recently, I had some "down time" at my work and decided to take the opportunity to experiment with doing just that. Here are the results of that experiment. OpenForum is a forum that can easily be plugged into any MVC application with very little effort. In fact, there are only three steps to get OpenForum working with most MVC applications. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fsoftware.herbrandson.com%2findex.php%2f2009%2f06%2fopenforum-a-free-forum-for-mvc-applications"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fsoftware.herbrandson.com%2findex.php%2f2009%2f06%2fopenforum-a-free-forum-for-mvc-applications" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/OpenForum_A_Free_Forum_for_ASP_NET_MVC_Applications</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/OpenForum_A_Free_Forum_for_ASP_NET_MVC_Applications</guid>
      <pubDate>Tue, 30 Jun 2009 15:15:01 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC Validation Refresh: Best Techniques &amp;amp; Frameworks</title>
      <description>I just wanted to do a "refresher" post regarding ASP.NET MVC validation as many things have changed over the last couple of months and there is a lot of information out there.  I wanted to aggregate my known validation options and recommend them in one tabular list. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fgoneale.com%2f2009%2f06%2f25%2faspnet-mvc-validation-refresh-best-techniques-frameworks%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fgoneale.com%2f2009%2f06%2f25%2faspnet-mvc-validation-refresh-best-techniques-frameworks%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Validation_Refresh_Best_Techniques_Frameworks</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Validation_Refresh_Best_Techniques_Frameworks</guid>
      <pubDate>Thu, 25 Jun 2009 09:30:52 GMT</pubDate>
    </item>
    <item>
      <title>Exploring how to use Expressions w/ Spark</title>
      <description>Exploring how to use Expressions w/ Spark.  We are going to take a look at the various different ways you can use Looping Expressions with the Spark View engine. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.dimecasts.net%2fCasts%2fCastDetails%2f121"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.dimecasts.net%2fCasts%2fCastDetails%2f121" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Exploring_how_to_use_Expressions_w_Spark_1</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Exploring_how_to_use_Expressions_w_Spark_1</guid>
      <pubDate>Fri, 26 Jun 2009 06:15:00 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC: An Application Platform</title>
      <description>When deciding on your ASP.NET development platform I recently read a recommendation that boiled down to: application? WebForms. Web site? MVC. MVC isn't just for creating SEO/RESTful web sites. It's a full fledged application platform with everything you need.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdevelopmentalmadness.blogspot.com%2f2009%2f06%2faspnet-mvc-application-platform.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdevelopmentalmadness.blogspot.com%2f2009%2f06%2faspnet-mvc-application-platform.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_An_Application_Platform</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_An_Application_Platform</guid>
      <pubDate>Wed, 24 Jun 2009 18:32:09 GMT</pubDate>
    </item>
    <item>
      <title>Application-wide action filters in ASP.NET MVC</title>
      <description>Ever had a team of developers using your ASP.NET MVC framework? Chances are you have implemented some action filters (i.e. for logging) which should be applied on all controllers in the application. Two ways to do this: kindly ask your developers to add a [Logging] attribute to the controllers they write, or kindly ask to inherit from SomeCustomControllerWithActionsInPlace.

If you have been in this situation, monday mornings, afternoons, tuesdays and other weekdays are in fact days where some developers will forget to do one of the above. This means no logging! Or any other action filters that are executed due to a developer that has not been fed with enough coffee. Wouldn't it be nice to have a central repository where you can register application-wide action filters? That's exactly what we are going to do in this blog post. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.maartenballiauw.be%2fpost%2f2009%2f06%2f24%2fApplication-wide-action-filters-in-ASPNET-MVC.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.maartenballiauw.be%2fpost%2f2009%2f06%2f24%2fApplication-wide-action-filters-in-ASPNET-MVC.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Application_wide_action_filters_in_ASP_NET_MVC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Application_wide_action_filters_in_ASP_NET_MVC</guid>
      <pubDate>Wed, 24 Jun 2009 14:30:02 GMT</pubDate>
    </item>
    <item>
      <title>KiGG View Detailed Story</title>
      <description>I recently deployed a KiGG site, but I wanted it to act more like DZone than DotNetShoutOut. On DotNetShoutOut, if you click the link from any of non-detailed page views, it takes you to the site. DZone will take you to the detailed view of the story, and if you click the link from there it will take you story's site. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.kodefuguru.com%2fpost%2f2009%2f06%2f23%2fKiGG-View-Detailed-Story.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.kodefuguru.com%2fpost%2f2009%2f06%2f23%2fKiGG-View-Detailed-Story.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/KiGG_View_Detailed_Story</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/KiGG_View_Detailed_Story</guid>
      <pubDate>Tue, 23 Jun 2009 23:05:46 GMT</pubDate>
    </item>
    <item>
      <title>Unit Of Work ActionFilter</title>
      <description>Setting up StructureMap and The Unit Of Work ActionFilter

UnitOfWork ActionFilter

In my previous post I had created the repository implementations along with unit of work. But how do we use this unit of work in our application. ASP.NET MVC has a concept of ActionFilters. These could be applied to an action or a controller in general. The two main methods that concern us are OnActionExecuting and the OnActionExecuted. As seen in the code below we call the initialize method of the unit of work which would create a new transaction for us and this is held until the action is complete after which we commit the transaction. We are getting a new instance of _unitOfWork through an IoC container which I will talk about in a bit. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.simplyvinay.com%2fPost%2f51%2fMPBlog-Implementation.-Part-5.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.simplyvinay.com%2fPost%2f51%2fMPBlog-Implementation.-Part-5.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Unit_Of_Work_ActionFilter</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Unit_Of_Work_ActionFilter</guid>
      <pubDate>Tue, 23 Jun 2009 14:21:56 GMT</pubDate>
    </item>
    <item>
      <title>Waxalica's Dev Blog | W.SQLCodeGenerator</title>
      <description>This application is a sample application, using  Sql Serveur Management Objects, aka SMO.

It allows to generate some code for MVC architecture. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwaxalica.dyndns.org%2fpage%2fWSQLCodeGenerator.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwaxalica.dyndns.org%2fpage%2fWSQLCodeGenerator.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Waxalica_s_Dev_Blog_W_SQLCodeGenerator</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Waxalica_s_Dev_Blog_W_SQLCodeGenerator</guid>
      <pubDate>Mon, 22 Jun 2009 21:19:52 GMT</pubDate>
    </item>
    <item>
      <title>Drag and Drop Categorized Item List with jQuery and ASP.NET MVC</title>
      <description>How to drag items between categories (sections) and sections between columns using jQuery and ASP.NET MVC. Part 1 focuses on layout and using jQuery UI's sortable functionality. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.philderksen.com%2f2009%2f06%2f18%2fdrag-and-drop-categorized-item-list-with-jquery-and-aspnet-mvc-part-1%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.philderksen.com%2f2009%2f06%2f18%2fdrag-and-drop-categorized-item-list-with-jquery-and-aspnet-mvc-part-1%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/jquery/Drag_and_Drop_Categorized_Item_List_with_jQuery_and_ASP_NET_MVC</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/jquery/Drag_and_Drop_Categorized_Item_List_with_jQuery_and_ASP_NET_MVC</guid>
      <pubDate>Mon, 22 Jun 2009 18:20:43 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC: Discover the MasterPageFile Value at Runtime</title>
      <description>A low maintenance solution to provide data needed by your master page to the ViewData dictionary without having to manually add it in your action methods. A useful technique when you have multiple one-off master pages &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fdevelopmentalmadness.blogspot.com%2f2009%2f06%2faspnet-mvc-discover-masterpagefile.html"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fdevelopmentalmadness.blogspot.com%2f2009%2f06%2faspnet-mvc-discover-masterpagefile.html" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Discover_the_MasterPageFile_Value_at_Runtime</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/ASP_NET_MVC_Discover_the_MasterPageFile_Value_at_Runtime</guid>
      <pubDate>Mon, 22 Jun 2009 16:10:29 GMT</pubDate>
    </item>
    <item>
      <title>A simple solution to the Big Fat Controller problem</title>
      <description>This post have been inspired by the talks about controllerless actions. This is NOT an alternative to that. Controllerless actions is an interesting concept that should be study. Actually Jeffrey Palermo has a concept implementation.

There is a problem with controllers that grow or contain too much code in them.
For the second problem, containing too much code, the only solution I see is code reviews and practice of proper separation of concerns.
For the first problem, we can apply some constrains in the way controllers are written and used to limit the number of methods. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblog.dynamicprogrammer.com%2f2009%2f06%2f22%2fASimpleSolutionToTheBigFatControllerProblemInMVC.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblog.dynamicprogrammer.com%2f2009%2f06%2f22%2fASimpleSolutionToTheBigFatControllerProblemInMVC.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/A_simple_solution_to_the_Big_Fat_Controller_problem</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/A_simple_solution_to_the_Big_Fat_Controller_problem</guid>
      <pubDate>Mon, 22 Jun 2009 03:44:09 GMT</pubDate>
    </item>
    <item>
      <title>Review: ASP.NET MVC in Action</title>
      <description>Praise for ASP.NET MVC in Action &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.azamsharp.com%2fPosts%2f232_Review__ASP_NET_MVC_in_Action.aspx"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.azamsharp.com%2fPosts%2f232_Review__ASP_NET_MVC_in_Action.aspx" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Review_ASP_NET_MVC_in_Action</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Review_ASP_NET_MVC_in_Action</guid>
      <pubDate>Thu, 18 Jun 2009 14:15:14 GMT</pubDate>
    </item>
    <item>
      <title>Exploring how to use Expressions w/ Spark</title>
      <description>Taking a look at the various different ways you can use Expressions with the Spark View engine. We are going to review simply scenarios such as math based expressions and move up to looking at nested if-then-else statements. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.dimecasts.net%2fCasts%2fCastDetails%2f119"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.dimecasts.net%2fCasts%2fCastDetails%2f119" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/Exploring_how_to_use_Expressions_w_Spark</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/Exploring_how_to_use_Expressions_w_Spark</guid>
      <pubDate>Thu, 18 Jun 2009 20:30:00 GMT</pubDate>
    </item>
    <item>
      <title>WebForms And MVC In Harmony - Almost.</title>
      <description>Can't use WebControls in ASP.NET MVC anymore? Not quite. This post discusses some options that you have in MVC for creating &amp;quot;WebControls&amp;quot; by using Extension Methods, IDisposable or a &amp;quot;Super Secret&amp;quot; method. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fsomewebguy.wordpress.com%2f2009%2f06%2f18%2fwebforms-and-mvc%2f"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fsomewebguy.wordpress.com%2f2009%2f06%2f18%2fwebforms-and-mvc%2f" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/mvc/WebForms_And_MVC_In_Harmony_Almost</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/mvc/WebForms_And_MVC_In_Harmony_Almost</guid>
      <pubDate>Thu, 18 Jun 2009 04:41:13 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC, Entity Framework, One-to-Many and Many-to-Many INSERTS</title>
      <description>Taking on two new technologies - ASP.NET MVC and the Entity Framework - at the same time was bound to provide some &amp;quot;interesting&amp;quot; moments. Getting data out via EF has so far been pretty straightforward. But when it got to building the back end of my site, I had some fun trying to manage INSERTS with One-To-Many and Many-To-Many relationships. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.mikesdotnetting.com%2fArticle.aspx%3fArticleID%3d109"&gt;&lt;img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.mikesdotnetting.com%2fArticle.aspx%3fArticleID%3d109" border="0" alt="kick it on DotNetKicks.com" /&gt;&lt;/a&gt;
</description>
      <link>http://www.dotnetkicks.com/aspnet/ASP_NET_MVC_Entity_Framework_One_to_Many_and_Many_to_Many_INSERTS</link>
      <guid isPermaLink="true">http://www.dotnetkicks.com/aspnet/ASP_NET_MVC_Entity_Framework_One_to_Many_and_Many_to_Many_INSERTS</guid>
      <pubDate>Wed, 17 Jun 2009 20:58:30 GMT</pubDate>
    </item>
  </channel>
</rss>