<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.aspdotnetmvc.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">
  <channel>
    <title>AspDotNetMVC.com - Latest ASP.NET MVC (No Buzz)</title>
    <description>The 25 most recent blog posts, news and videos about ASP.NET MVC indexed by AspDotNetMVC.com.</description>
    <link>http://aspdotnetmvc.com/</link>
    <language>en-us</language>
    <copyright>Copyright © 2010 AspDotNetMVC.com. All Rights Reserved</copyright>
    <lastBuildDate>Tue, 31 Aug 2010 11:11:00 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Community Server v2.0 (http://www.communityserver.org)</generator>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.aspdotnetmvc.com/aspdotnetmvc-nobuzz" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="aspdotnetmvc-nobuzz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
      <title>Managing Models in ASPNET MVC - VisualStudio Magazine</title>
      <description>Peter Vogel looks at the least important component of the ASP.NET MVC, the Model, and goes on to discuss a strategy for integrating the model, the controller and the view. One of the key design criteria for a ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://visualstudiomagazine.com/articles/2010/08/31/managing-models-in-aspnet-mvc.aspx</link>
      <guid isPermaLink="False">http://visualstudiomagazine.com/articles/2010/08/31/managing-models-in-aspnet-mvc.aspx</guid>
      <pubDate>Tue, 31 Aug 2010 11:11:00 GMT</pubDate>
    </item>
    <item>
      <title>How to Validate Forms with ASP.NET MVC 2 Data Annotations - VisualStudio Magazine</title>
      <description>Simplify the task of validating Web form input by using attributes. If standard validators don't meet your needs, you can create custom data annotations for richer validations. The movement toward declarative ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://visualstudiomagazine.com/articles/2010/09/01/how-to-validate-forms-with-aspnet-mvc-2-data-annotations.aspx</link>
      <guid isPermaLink="False">http://visualstudiomagazine.com/articles/2010/09/01/how-to-validate-forms-with-aspnet-mvc-2-data-annotations.aspx</guid>
      <pubDate>Tue, 31 Aug 2010 06:11:00 GMT</pubDate>
    </item>
    <item>
      <title>...</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DHicjp5MODpI&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNGkH1Xh2cpjgZ46evMd_qt9saNQug&gt;&lt;img src=http://2.gvt0.com/vi/Hicjp5MODpI/default.jpg width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;I took the log reporting dashboard for MVC (www.codeproject.com and turned it into a MVC Turbine plugin. Here&amp;#39;s a demonstration of how easy it ...&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;youtube.com&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.youtube.com/watch?v=Hicjp5MODpI&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNGkH1Xh2cpjgZ46evMd_qt9saNQug</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DHicjp5MODpI&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNGkH1Xh2cpjgZ46evMd_qt9saNQug</guid>
      <pubDate>Mon, 30 Aug 2010 22:01:04 GMT</pubDate>
    </item>
    <item>
      <title>...</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.asp.net/mvc/videos/how-do-i-return-json-formatted-data-for-an-ajax-call-in-an-aspnet-mvc-web-application&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNFoPKAI7g0_DIIpot61ZvysiSEqlg&gt;&lt;img src=http://2.gvt0.com/ThumbnailServer2?app=vss&amp;contentid=5d7a77bdf000154e&amp;offsetms=1&amp;itag=w160&amp;hl=en&amp;sigh=__i-HKskhcBCjP5-8sUOB0Ogf8kUg= width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;#14 | How Do I: Return JSON Formatted Data for an AJAX Call in an ASP.NET MVC Web Application? 15 minutes, 48 seconds&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;asp.net&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.asp.net/mvc/videos/how-do-i-return-json-formatted-data-for-an-ajax-call-in-an-aspnet-mvc-web-application&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNFoPKAI7g0_DIIpot61ZvysiSEqlg</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.asp.net/mvc/videos/how-do-i-return-json-formatted-data-for-an-ajax-call-in-an-aspnet-mvc-web-application&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNFoPKAI7g0_DIIpot61ZvysiSEqlg</guid>
      <pubDate>Mon, 30 Aug 2010 09:15:00 GMT</pubDate>
    </item>
    <item>
      <title>Cover Story: Get Ready for the Entity Framework - VisualStudio Magazine</title>
      <description>The ADO.NET Entity Framework 4, updated and released alongside the Microsoft .NET Framework 4 in April, is emerging as the default way to do data access in .NET-based applications. With the second generation ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://visualstudiomagazine.com/articles/2010/09/01/get-ready-for-the-entity-framework.aspx</link>
      <guid isPermaLink="False">http://visualstudiomagazine.com/articles/2010/09/01/get-ready-for-the-entity-framework.aspx</guid>
      <pubDate>Mon, 30 Aug 2010 08:35:00 GMT</pubDate>
    </item>
    <item>
      <title>Introducing Team Crossword from Microsoft FUSE Labs - Softpedia</title>
      <description>Microsoft FUSE Labs has quietly introduced a new project, developed primarily by only three members of the team, which worked together throughout their semi-annual creative week. Team Crossword is now live and available ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://news.softpedia.com/news/Introducing-Team-Crossword-from-Microsoft-FUSE-Labs-154322.shtml</link>
      <guid isPermaLink="False">http://news.softpedia.com/news/Introducing-Team-Crossword-from-Microsoft-FUSE-Labs-154322.shtml</guid>
      <pubDate>Mon, 30 Aug 2010 07:59:00 GMT</pubDate>
    </item>
    <item>
      <title>NET MVC</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.asp.net/mvc/videos/creating-a-movie-database-application-in-15-minutes-with-aspnet-mvc&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNHmP-IdxodR7STYJrjNz50D9goDmg&gt;&lt;img src=http://0.gvt0.com/ThumbnailServer2?app=vss&amp;contentid=b4c0abed84908850&amp;offsetms=1&amp;itag=w160&amp;hl=en&amp;sigh=__jMpdceG4JvanCqqe8WGwHXiHuOU= width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;#13 | Creating a Movie Database Application in 15 minutes with ASP.NET MVC 12 minutes, 4 seconds&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;asp.net&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.asp.net/mvc/videos/creating-a-movie-database-application-in-15-minutes-with-aspnet-mvc&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNHmP-IdxodR7STYJrjNz50D9goDmg</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.asp.net/mvc/videos/creating-a-movie-database-application-in-15-minutes-with-aspnet-mvc&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNHmP-IdxodR7STYJrjNz50D9goDmg</guid>
      <pubDate>Mon, 30 Aug 2010 07:32:00 GMT</pubDate>
    </item>
    <item>
      <title>NET MVC</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DtXBXT7xGLTA&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNFLXHtyh965DC-PhsnwxVu8JQqVUg&gt;&lt;img src=http://0.gvt0.com/vi/tXBXT7xGLTA/default.jpg width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;Join author Jonathan McCracken as he demonstrates building the QuoteOMatic application in ASP .NET from his new book, &amp;quot;Test-Drive ASP.NET MVC ...&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;youtube.com&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.youtube.com/watch?v=tXBXT7xGLTA&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNFLXHtyh965DC-PhsnwxVu8JQqVUg</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DtXBXT7xGLTA&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNFLXHtyh965DC-PhsnwxVu8JQqVUg</guid>
      <pubDate>Fri, 27 Aug 2010 08:00:03 GMT</pubDate>
    </item>
    <item>
      <title>MvcTurbine Routing Demonstration</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DpgGrqroqFP4&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNG3ghLA-kGBexVJYgJj5lOQj2fR8g&gt;&lt;img src=http://2.gvt0.com/vi/pgGrqroqFP4/default.jpg width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;A short demonstration of Mvc Turbine routing and how it differs from regular ASP.Net routing ... mvcturbine mvc turbine asp.net ...&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;youtube.com&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.youtube.com/watch?v=pgGrqroqFP4&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNG3ghLA-kGBexVJYgJj5lOQj2fR8g</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DpgGrqroqFP4&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNG3ghLA-kGBexVJYgJj5lOQj2fR8g</guid>
      <pubDate>Thu, 26 Aug 2010 21:49:05 GMT</pubDate>
    </item>
    <item>
      <title>NET MVC in 4 minutes</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DT4-K9kxIIqo&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNHUAUdrP9K6xNHnECJkbivzhYiBPg&gt;&lt;img src=http://2.gvt0.com/vi/T4-K9kxIIqo/default.jpg width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;yt:stretch=16:9 yt:quality=high&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;youtube.com&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.youtube.com/watch?v=T4-K9kxIIqo&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNHUAUdrP9K6xNHnECJkbivzhYiBPg</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3DT4-K9kxIIqo&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNHUAUdrP9K6xNHnECJkbivzhYiBPg</guid>
      <pubDate>Wed, 25 Aug 2010 23:23:01 GMT</pubDate>
    </item>
    <item>
      <title>The Fast Track From Code to Cloud - TechNewsWorld</title>
      <description>The evolution of software libraries, development environments, and dynamic language platforms now provides us with the tools to develop applications faster, with better unit and continuous testing support. As cloud ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.technewsworld.com/story/70690.html?wlc=1282784379</link>
      <guid isPermaLink="False">http://www.technewsworld.com/story/70690.html?wlc=1282784379</guid>
      <pubDate>Wed, 25 Aug 2010 17:59:00 GMT</pubDate>
    </item>
    <item>
      <title>The Fast Track From Code to Cloud - TechNewsWorld</title>
      <description>The evolution of software libraries, development environments, and dynamic language platforms now provides us with the tools to develop applications faster, with better unit and continuous testing support. As cloud ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.technewsworld.com/story/The-Fast-Track-From-Code-to-Cloud-70690.html</link>
      <guid isPermaLink="False">http://www.technewsworld.com/story/The-Fast-Track-From-Code-to-Cloud-70690.html</guid>
      <pubDate>Wed, 25 Aug 2010 10:43:00 GMT</pubDate>
    </item>
    <item>
      <title>...</title>
      <description>&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://channel9.msdn.com/shows/Web+Camps+TV/Web-Camps-TV-1-ASPNET-MVC-3-Preview-1-and-Razor-Tips-with-Phil-Haack/&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNF451lFHUu5iN_wQX9-gBdzz5I5MA</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://channel9.msdn.com/shows/Web%2BCamps%2BTV/Web-Camps-TV-1-ASPNET-MVC-3-Preview-1-and-Razor-Tips-with-Phil-Haack/&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNF451lFHUu5iN_wQX9-gBdzz5I5MA</guid>
      <pubDate>Wed, 25 Aug 2010 07:44:00 GMT</pubDate>
    </item>
    <item>
      <title>Viewing Views in ASP.NET MVC - VisualStudio Magazine</title>
      <description>Peter continues his look ASP.NET MVC for ASP.NET developers (using the brand new version of ASP.NET MVC) by linking a view to a controller. As I said in the first article in this series ( ASP.NET MVC for the ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://visualstudiomagazine.com/articles/2010/08/25/viewing-views-in-mvc.aspx</link>
      <guid isPermaLink="False">http://visualstudiomagazine.com/articles/2010/08/25/viewing-views-in-mvc.aspx</guid>
      <pubDate>Wed, 25 Aug 2010 06:32:00 GMT</pubDate>
    </item>
    <item>
      <title>The Fast Track From Code to Cloud - TechNewsWorld</title>
      <description>The evolution of software libraries, development environments, and dynamic language platforms now provides us with the tools to develop applications faster, with better unit and continuous testing support. As cloud ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.technewsworld.com/rsstory/70690.html</link>
      <guid isPermaLink="False">http://www.technewsworld.com/rsstory/70690.html</guid>
      <pubDate>Wed, 25 Aug 2010 05:06:00 GMT</pubDate>
    </item>
    <item>
      <title>The Fast Track From Code to Cloud - Linux Insider</title>
      <description>The evolution of software libraries, development environments, and dynamic language platforms now provides us with the tools to develop applications faster, with better unit and continuous testing support. As cloud ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.linuxinsider.com/story/70690.html</link>
      <guid isPermaLink="False">http://www.linuxinsider.com/story/70690.html</guid>
      <pubDate>Tue, 24 Aug 2010 16:56:00 GMT</pubDate>
    </item>
    <item>
      <title>The 'meaningful' mobile web that talks to phones properly - Computer Weekly</title>
      <description>While many industry commentators still argue that the mobile web has yet to truly flourish, the lack of common standards and the differentiation between platforms is in itself encouraging the development of ancillary ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.computerweekly.com/blogs/cwdn/2010/08/the-meaningful-mobile-web-that-talks-to-phones-properly.html</link>
      <guid isPermaLink="False">http://www.computerweekly.com/blogs/cwdn/2010/08/the-meaningful-mobile-web-that-talks-to-phones-properly.html</guid>
      <pubDate>Mon, 23 Aug 2010 03:29:00 GMT</pubDate>
    </item>
    <item>
      <title>Controlling Controllers in ASP.NET MVC - VisualStudio Magazine</title>
      <description>Peter Vogel begins his series on introducing ASP.NET developers to ASP.NET MVC by looking at the C in MVC: Controllers An ASP.NET MVC application consists of three components, obviously: Models, Views and ...&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://visualstudiomagazine.com/articles/2010/08/17/controlling-controllers-in-aspnet-mvc.aspx</link>
      <guid isPermaLink="False">http://visualstudiomagazine.com/articles/2010/08/17/controlling-controllers-in-aspnet-mvc.aspx</guid>
      <pubDate>Tue, 17 Aug 2010 07:03:00 GMT</pubDate>
    </item>
    <item>
      <title>Programming news: SQL Server drivers for PHP 2.0, NetBeans 6.9.1</title>
      <description>Read about IronRuby, Splunk's App-of-the-month contest, a free Windows Phone 7 programming e-book, top project challenges, and more.&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://blogs.techrepublic.com.com/programming-and-development/?p=3000</link>
      <guid isPermaLink="False">http://blogs.techrepublic.com.com/programming-and-development/?p=3000</guid>
      <pubDate>Tue, 17 Aug 2010 04:51:23 GMT</pubDate>
    </item>
    <item>
      <title>NET MVC 3</title>
      <description>&lt;a href=http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3D0O0gi2m_p_o&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNE04pEH1Fv6PC2o6gu8fRfuIx2CHQ&gt;&lt;img src=http://2.gvt0.com/vi/0O0gi2m_p_o/default.jpg width=160 height=120&gt;&lt;/a&gt;&lt;br&gt;Beautifying your ASP.NET MVC 3 website is very easy using free CSS templates. This video demonstrates how to replace the project template provided ...&lt;p/&gt;&lt;div style="color:green;font-size:smaller;"&gt;youtube.com&lt;/div&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://www.google.com/url?q=http://www.youtube.com/watch?v=0O0gi2m_p_o&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNE04pEH1Fv6PC2o6gu8fRfuIx2CHQ</link>
      <guid isPermaLink="False">http://www.google.com/url?q=http://www.youtube.com/watch%3Fv%3D0O0gi2m_p_o&amp;source=video&amp;vgc=rss&amp;usg=AFQjCNE04pEH1Fv6PC2o6gu8fRfuIx2CHQ</guid>
      <pubDate>Tue, 17 Aug 2010 03:06:04 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC meets HTML5</title>
      <description>&lt;p&gt;Today I tried out &lt;a href="http://mvchtml5.codeplex.com/"&gt;ASP.NET MVC HTML5 Helpers Toolkit&lt;/a&gt; by &lt;a href="http://www.deanhume.com/"&gt;Dean Hume&lt;/a&gt;. Although browsers today support &lt;a href="http://dev.w3.org/html5/spec/Overview.html"&gt;HTML5&lt;/a&gt; partially it is time to start playing with it. As soon as HTML5 gets common standard in web you should be able to react fast. In this posting I will introduce you HTML5 Helpers Toolkit and some HTML5 field types.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.deanhume.com/Home/BlogPost/asp-net-mvc-html5-toolkit/29"&gt;HTML5 Helpers Toolkit is easy to install&lt;/a&gt;. Just download the package, unpack it and reference the DLL you found from package. That’s all. You don’t have to do anything more. If your browser doesn’t support HTML5 then HTML5 fields are rendered as usual textboxes and you can extend them using &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/tags/jQuery/default.aspx"&gt;jQuery&lt;/a&gt; by example.&lt;/p&gt;  &lt;h3&gt;E-mail field&lt;/h3&gt;  &lt;p&gt;HTML5 defines many types for input boxes. One of the types is e-mail. Here is the demo of e-mail field with placeholder value. Yes, in HTML5 textboxes support placeholders and we don’t have to mess with JavaScript anymore. This is how e-mail box is defined.&lt;/p&gt;  &lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="background: yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt; Html.Html5TextBox(&lt;span style="color: #a31515"&gt;&amp;quot;userEmal&amp;quot;&lt;/span&gt;, &lt;span style="color: #2b91af"&gt;InputTypes&lt;/span&gt;.&lt;span style="color: #2b91af"&gt;InputType&lt;/span&gt;.Email,&lt;br /&gt;                          &lt;span style="color: #a31515"&gt;&amp;quot;plah@plah.com&amp;quot;&lt;/span&gt;) &lt;span style="background: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;And here is the result on &lt;a href="http://www.mozilla.com/en-US/firefox/beta/"&gt;Firefox 4 Beta&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="HTML5 e-mail box with placeholder value" border="0" alt="HTML5 e-mail box with placeholder value" src="http://weblogs.asp.net/blogs/gunnarpeipman/html5emailplaceholder_30ECCEE4.png" width="156" height="29" /&gt;&lt;/p&gt;

&lt;p&gt;Nice, isn’t it? I discovered one cool thing when I tested HTML5 Helpers Toolkit with &lt;a href="http://www.opera.com/"&gt;Opera&lt;/a&gt;. I tried to submit form where e-mail address is not valid. And this is what happened:&lt;/p&gt;

&lt;p&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="HTML5 date box with validation on Opera" border="0" alt="HTML5 date box with validation on Opera" src="http://weblogs.asp.net/blogs/gunnarpeipman/html5emailinvalid_0F8D2948.png" width="204" height="78" /&gt;&lt;/p&gt;

&lt;p&gt;Form was not submitted and all I got was this error message in red box. Cool!&lt;/p&gt;

&lt;h3&gt;Slider&lt;/h3&gt;

&lt;p&gt;As a next thing let’s see how to get numeric slider on page without any JavaScript. Numbers in slider box definition have the following meaning: minimum is 1 and maximum is 50, step is 2 and default value is 25.&lt;/p&gt;

&lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="background: yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt; Html.Html5Range(1, 50, 2, 25, &lt;span style="color: blue"&gt;null&lt;/span&gt;) &lt;span style="background: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;And here is the result on Chrome.&lt;/p&gt;

&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="HTML5 numeric slider on Chrome" border="0" alt="HTML5 numeric slider on Chrome" src="http://weblogs.asp.net/blogs/gunnarpeipman/html5sliderchrome_6DC150B6.png" width="139" height="27" /&gt;&lt;/p&gt;

&lt;p&gt;If we want we can use usual HTML to decorate slider with numbers mentioned above. But I like the result – simple, calm and clean.&lt;/p&gt;

&lt;h3&gt;Date picker&lt;/h3&gt;

&lt;p&gt;Now let’s do something that only Opera seems to support right now – let’s create HTML5 date picker. Definition is here.&lt;/p&gt;

&lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: maroon"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="background: yellow"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt; Html.Html5TextBox(&lt;span style="color: #a31515"&gt;&amp;quot;deliveryDate&amp;quot;&lt;/span&gt;, &lt;span style="color: #2b91af"&gt;InputTypes&lt;/span&gt;.&lt;span style="color: #2b91af"&gt;InputType&lt;/span&gt;.Date) &lt;span style="background: yellow"&gt;%&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: maroon"&gt;form&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;And here is the result on Opera. &lt;/p&gt;

&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="HTML5 date picker on Opera" border="0" alt="HTML5 date picker on Opera" src="http://weblogs.asp.net/blogs/gunnarpeipman/html5datepickeropera_2CB2D152.png" width="214" height="193" /&gt;&lt;/p&gt;

&lt;p&gt;Seems good to me. And again – no additional &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/tags/JavaScript/default.aspx"&gt;JavaScript&lt;/a&gt; is needed. Until other browsers also start supporting this kind on input box you can use &lt;a href="http://jqueryui.com/demos/datepicker/"&gt;jQueryUI Datepicker&lt;/a&gt; component.&lt;/p&gt;

&lt;h3&gt;Conclusion&lt;/h3&gt;

&lt;p&gt;Although HTML5 is not here yet it is coming very soon and seems like &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/tags/MVC/default.aspx"&gt;ASP.NET MVC&lt;/a&gt; will be soon ready for it. Although HTML5 Helpers Toolkit doesn’t provide all HTML5 controls yet it is still great start and I think this project is worth keeping eye on it. It is very easy to install and very easy to use and I suggest you to try it out as soon as possible.&lt;/p&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://weblogs.asp.net/gunnarpeipman/archive/2010/08/16/asp-net-mvc-meets-html5.aspx</link>
      <author>DigiMortal</author>
      <dc:creator>DigiMortal</dc:creator>
      <guid isPermaLink="False">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7595097</guid>
      <pubDate>Sun, 15 Aug 2010 21:00:00 GMT</pubDate>
    </item>
    <item>
      <title>Performance tuning tricks for ASP.NET and IIS 7 – part 2</title>
      <description>In part 1 of this series, we looked at some tricks to optimize the performance of any website running in IIS 7 by only modifying the web.config. In this part we will focus on handling browser caching issues and optimize the number of JavaScript and CSS files loaded from an ASP.NET website. NB! All t &lt;b&gt;...&lt;/b&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://madskristensen.net/post.aspx?id=56100d33-7dd2-4599-9b35-4349a244eeff</link>
      <source url="http://madskristensen.net/">.NET slave</source>
      <author>Mads Kristensen</author>
      <dc:creator>Mads Kristensen</dc:creator>
      <guid isPermaLink="False">27df280f4af3412b867ceeebdb3bd868</guid>
      <pubDate>Sun, 15 Aug 2010 06:28:00 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC 3: Using HttpNotFoundResult in controller tests</title>
      <description>&lt;p&gt;Lately I blogged about &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/2010/07/27/asp-net-mvc-3-using-httpnotfoundresult-action-result.aspx"&gt;HttpNotFoundResult&lt;/a&gt; and &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/2010/07/28/asp-net-mvc-3-using-httpstatuscoderesult.aspx"&gt;HttpStatusCodeResult&lt;/a&gt; action results that come with ASP.NET MVC 3. These results are ideal for controller &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/tags/Testing/default.aspx"&gt;tests&lt;/a&gt; as we don’t have to mess with HttpContext and Response objects anymore. In this posting I will show you how to use HttpNotFoundResult in controller tests to check if errors are given correctly to user.&lt;/p&gt;  &lt;p&gt;Let’s suppose we have controller method that displays product details.&lt;/p&gt;  &lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;&lt;span style="color: blue"&gt;public&lt;/span&gt;&amp;#160;&lt;span style="color: #2b91af"&gt;ActionResult&lt;/span&gt; Details(&lt;span style="color: blue"&gt;int&lt;/span&gt; productId)&lt;br /&gt;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;var&lt;/span&gt; product = _repository.GetProductById(productId);&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;if&lt;/span&gt; (product == &lt;span style="color: blue"&gt;null&lt;/span&gt;)&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;var&lt;/span&gt; result = &lt;span style="color: blue"&gt;new&lt;/span&gt;&amp;#160;&lt;span style="color: #2b91af"&gt;HttpNotFoundResult&lt;/span&gt;(&lt;span style="color: #a31515"&gt;&amp;quot;Product not found&amp;quot;&lt;/span&gt;);&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;return&lt;/span&gt; result;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: green"&gt;// ...&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;return&lt;/span&gt; View();&lt;br /&gt;}&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;If product is not found (whatever the reason is) then Details() returns HttpNotFoundResult to let user know that requested product doesn’t exist. If product is there then Details() makes some processing and returns regular view that displays product information.&lt;/p&gt;

&lt;p&gt;Now let’s write test to make sure that in the case of missing product error 404 will be returned.&lt;/p&gt;

&lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;[&lt;span style="color: #2b91af"&gt;TestMethod&lt;/span&gt;]&lt;br /&gt;&lt;span style="color: blue"&gt;public&lt;/span&gt;&amp;#160;&lt;span style="color: blue"&gt;void&lt;/span&gt; ProductPageShouldReturn404IfProductNotFound()&lt;br /&gt;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;var&lt;/span&gt; productId = 1;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: #2b91af"&gt;Product&lt;/span&gt; product = &lt;span style="color: blue"&gt;null&lt;/span&gt;;&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;var&lt;/span&gt; repositoryMock = &lt;span style="color: blue"&gt;new&lt;/span&gt;&amp;#160;&lt;span style="color: #2b91af"&gt;Mock&lt;/span&gt;&amp;lt;&lt;span style="color: #2b91af"&gt;IProductRepository&lt;/span&gt;&amp;gt;();&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; repositoryMock.Setup(c =&amp;gt; c.GetProductById(productId))&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Returns(product)&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; .Verifiable();&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;var&lt;/span&gt; result = _controller.Details(productId);&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; repositoryMock.Verify();&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: #2b91af"&gt;Assert&lt;/span&gt;.IsNotNull(result);&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: #2b91af"&gt;Assert&lt;/span&gt;.IsInstanceOfType(result, &lt;span style="color: blue"&gt;typeof&lt;/span&gt;(&lt;span style="color: #2b91af"&gt;HttpNotFoundResult&lt;/span&gt;));&lt;br /&gt;}&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;This test makes sure that GetProductById() method is called from product repository mock and also it makes sure that this method returns null. After calling Details() method from controller we check three things:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;is GetProductById() method called? &lt;/li&gt;

  &lt;li&gt;is return value not null? &lt;/li&gt;

  &lt;li&gt;is return value of type HttpNotFoundResult? &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If all these conditions are met then test succeeds. Our tests as you can see, is pretty short and all it does is checking returned type. We don’t have here any dealing with HttpContext and Response and that saves us a lot of trouble. At least in more complex tests.&lt;/p&gt;

&lt;h3&gt;Conclusion&lt;/h3&gt;

&lt;p&gt;HttpNotFoundResult and HttpStatusCodeResult are very good choices if we want our ASP.NET MVC applications to be more easily testable. This way we can avoid HttpContext and other related objects. If you want to customize HttpStatusCodeResult then please read my blog posting &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/2010/07/28/asp-net-mvc-3-creating-httpstatuscoderesult-with-view-based-body.aspx"&gt;ASP.NET MVC 3: Creating HttpStatusCodeResult with view based body&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://weblogs.asp.net/gunnarpeipman/archive/2010/08/15/asp-net-mvc-3-using-httpnotfoundresult-in-controller-tests.aspx</link>
      <author>DigiMortal</author>
      <dc:creator>DigiMortal</dc:creator>
      <guid isPermaLink="False">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7595025</guid>
      <pubDate>Sat, 14 Aug 2010 21:00:00 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC 3: Global action filters</title>
      <description>&lt;p&gt;ASP.NET MVC 3 supports global action filters. Global action filters are applied to all actions in web application. By example, you can use global action filters for common security checks. In this posting I will show you how to write dummy action filter, register it as global and test it.&lt;/p&gt;  &lt;h3&gt;Creating action filter&lt;/h3&gt;  &lt;p&gt;Let’s start with our primitive action filter that is able in some cases ruin page layout for IE. Am I evil? Yes, I am! But I want this example to work on IIS and Cassini both so let’s make something trivial.&lt;/p&gt;  &lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;&lt;span style="color: blue"&gt;public&lt;/span&gt;&amp;#160;&lt;span style="color: blue"&gt;class&lt;/span&gt;&amp;#160;&lt;span style="color: #2b91af"&gt;MyActionFilterAttribute&lt;/span&gt; : &lt;span style="color: #2b91af"&gt;ActionFilterAttribute&lt;/span&gt;&lt;br /&gt;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;public&lt;/span&gt;&amp;#160;&lt;span style="color: blue"&gt;override&lt;/span&gt;&amp;#160;&lt;span style="color: blue"&gt;void&lt;/span&gt; OnResultExecuting(&lt;span style="color: #2b91af"&gt;ResultExecutingContext&lt;/span&gt; context)&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; {&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: blue"&gt;base&lt;/span&gt;.OnResultExecuting(filterContext);&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; context.RequestContext.HttpContext.Response.Write(&lt;span style="color: #a31515"&gt;&amp;quot;&amp;lt;!-- Buuu! --&amp;gt;&amp;quot;&lt;/span&gt;);&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }&lt;br /&gt;}&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;All this evil filter does is it writes string &amp;lt;!—Buuu! –&amp;gt; to response stream, so it is the first line of output. &lt;/p&gt;

&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 10px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="Global action filters: no filters yet" border="0" alt="Global action filters: no filters yet" align="right" src="http://weblogs.asp.net/blogs/gunnarpeipman/globalactionfiltercleanoutput_1A1E6092.png" width="364" height="151" /&gt;Now open one of your ASP.NET MVC projects and run it. It does not matter if you run it on IIS or Cassini (ASP.NET development web server). If you look at page source you should see usual HTML there. Something like you see on image on right.&lt;/p&gt;

&lt;h3&gt;Registering global action filter&lt;/h3&gt;

&lt;p&gt;Now, without touching any controller let’s put our evil Buuu! in place. Open global. asax and modify Application_Start event so it looks like follows.&lt;/p&gt;

&lt;pre style="font-family: consolas"&gt;&lt;hr size="1" /&gt;&lt;span style="color: blue"&gt;protected&lt;/span&gt;&amp;#160;&lt;span style="color: blue"&gt;void&lt;/span&gt; Application_Start()&lt;br /&gt;{&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: #2b91af"&gt;AreaRegistration&lt;/span&gt;.RegisterAllAreas();&lt;br /&gt; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: green"&gt;// Register global filter&lt;/span&gt;&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color: #2b91af"&gt;GlobalFilters&lt;/span&gt;.Filters.Add(&lt;span style="color: blue"&gt;new&lt;/span&gt;&amp;#160;&lt;span style="color: #2b91af"&gt;MyActionFilterAttribute&lt;/span&gt;());&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; RegisterGlobalFilters(&lt;span style="color: #2b91af"&gt;GlobalFilters&lt;/span&gt;.Filters);&lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; RegisterRoutes(&lt;span style="color: #2b91af"&gt;RouteTable&lt;/span&gt;.Routes);&lt;br /&gt;}&lt;hr size="1" /&gt;&lt;/pre&gt;

&lt;p&gt;Compile your project and run application again. Now you should see output like this.&lt;/p&gt;

&lt;p align="center"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="Global action filters: evil filter is registered" border="0" alt="Global action filters: evil filter is registered" src="http://weblogs.asp.net/blogs/gunnarpeipman/globalactionfilterbuuu_29058FAC.png" width="358" height="111" /&gt;&lt;/p&gt;

&lt;p&gt;Without any additional modification to controllers and their methods we got our action filter work for all controllers. You can surf around your site and for every request you should see now my evil message.&lt;/p&gt;

&lt;h3&gt;Conclusion&lt;/h3&gt;

&lt;p&gt;Global application filters are powerful and easy to use features. You can use global filters for different purposes like establishing global security policies and controlling output. Of course, you may find many other uses for global action filters. ASP.NET MVC makes is very easy to register filters at global level and I think it is another great addition to MVC framework.&lt;/p&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://weblogs.asp.net/gunnarpeipman/archive/2010/08/15/asp-net-mvc-3-global-action-filters.aspx</link>
      <author>DigiMortal</author>
      <dc:creator>DigiMortal</dc:creator>
      <guid isPermaLink="False">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7594046</guid>
      <pubDate>Sat, 14 Aug 2010 21:00:00 GMT</pubDate>
    </item>
    <item>
      <title>ASP.NET MVC 3: Introducing Razor view engine</title>
      <description>&lt;p&gt;ASP.NET MVC 3 brings us new view engine called Razor. Razor view engine was made available with &lt;a href="http://weblogs.asp.net/gunnarpeipman/archive/2010/07/09/webmatrix-beta-in-pictures.aspx"&gt;WebMatrix&lt;/a&gt; first beta. Razor brings us new and very short syntax for writing views. In this posting I will introduce you shortly ASP.NET MVC Razor view engine.&lt;/p&gt;  &lt;h3&gt;New ASP.NET MVC project type&lt;/h3&gt;  &lt;p&gt;There is new ASP.NET MVC project type for Razor projects so you can start new application with Razor support already there.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://weblogs.asp.net/blogs/gunnarpeipman/razorshoutboxselectrazorproject_676217EB.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="ASP.NET MVC 3 projects" border="0" alt="ASP.NET MVC 3 projects" src="http://weblogs.asp.net/blogs/gunnarpeipman/razorshoutboxselectrazorproject_thumb_0BF2E3C9.png" width="540" height="349" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The other options are project with ASPX based views and empty ASP.NET MVC project. As I am going to write sample application that uses Razor then it is not hard to guess which option I chose. &lt;img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://weblogs.asp.net/blogs/gunnarpeipman/wlEmoticonsmile_482B82E6.png" /&gt;&lt;/p&gt;  &lt;h3&gt;Razor files&lt;/h3&gt;  &lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 5px 5px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="ASP.NET MVC Razor Application" border="0" alt="ASP.NET MVC Razor Application" align="right" src="http://weblogs.asp.net/blogs/gunnarpeipman/razorshoutboxviewfiles_7BF37937.png" width="213" height="480" /&gt;New ASP.NET MVC Razor application is created like default ASP.NET MVC web application. The difference is that views are using Razor view engine. Project structure at file system level is same as before as you can see if you take a look at image on right.&lt;/p&gt;  &lt;p&gt;There are some things you should know at this point:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Extension of Razor based views is .cshtml for view that use C# and .vbhtml for views that use VB.NET. &lt;/li&gt;    &lt;li&gt;Files that cannot be shown by direct requests (master pages, partial views etc) have underscore (_) in the beginning of their names. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;So if you try to make the request to _Layout.cshtml (this is master page) you will get error from server.&lt;/p&gt;  &lt;p&gt;You can also see that there are controllers and models folders – things you don’t see in WebMatrix projects.&lt;/p&gt;  &lt;h3&gt;Razor syntax&lt;/h3&gt;  &lt;p&gt;Razor syntax is different from what we have seen this far. Razor provides us with way shorter and cleaner syntax and this is the reason why we should consider using it in our ASP.NET MVC projects. After playing with WebMatrix and Razor based pages I was pretty happy with Razor because my views looked cleaner than before. &lt;/p&gt;  &lt;p&gt;Here is the example of Razor based view. This is the same Account/LogOn view that comes also with usual ASP.NET MVC default application. Although there is no syntax highlight yet you get the point.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://weblogs.asp.net/blogs/gunnarpeipman/aspnetmvc3razor_1F5FF7D0.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="Example of Razor based view" border="0" alt="Example of Razor based view" src="http://weblogs.asp.net/blogs/gunnarpeipman/aspnetmvc3razor_thumb_20E113E4.png" width="542" height="399" /&gt;&lt;/a&gt;    &lt;br /&gt;&lt;em&gt;Click on image to see it at original size.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Basically the rules are simple: everything that starts with @ is server-side code. If it is some known language structure that has body then it must be followed by { and }. Between them you can write whatever you want. Okay, there are more rules but all this is documented in WebMatrix tutorial &lt;a href="http://www.asp.net/webmatrix/tutorials/2-introduction-to-asp-net-web-programming-using-the-razor-syntax"&gt;Introduction to ASP.NET Web Programming Using the Razor Syntax&lt;/a&gt;.&lt;/p&gt;  &lt;h3&gt;Should I try it?&lt;/h3&gt;  &lt;p&gt;Well… Razor was a little bit weird for me when I started playing with it. For smaller views it does not give any strong effect. But when you try it out on more complex views you will see that views are much readable than before. Current preview of ASP.NET MVC 3 doesn’t support syntax highlight for Razor views but syntax highlight is coming with next releases. I still suggest you to try out Razor to find out if it makes anything better for you. &lt;/p&gt;&lt;br /&gt;&lt;div id="postfooter"&gt;&lt;hr /&gt;Thanks for subscribing to AspDotNetMVC.com.&lt;br /&gt;Make sure you checkout the newly added &lt;a href="http://aspdotnetmvc.com/books/" title="ASP.NET MVC Books Page"&gt;ASP.NET MVC Books page&lt;/a&gt;.&lt;/div&gt;</description>
      <link>http://weblogs.asp.net/gunnarpeipman/archive/2010/08/15/asp-net-mvc-3-introducing-razor-view-engine.aspx</link>
      <author>DigiMortal</author>
      <dc:creator>DigiMortal</dc:creator>
      <guid isPermaLink="False">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7594325</guid>
      <pubDate>Sat, 14 Aug 2010 21:00:00 GMT</pubDate>
    </item>
  </channel>
</rss>
