The ASP.NET MVC Framework (Model View Controller) is one of the most talked about and long awaited additions to the Microsoft world of web development. Find and follow all the ASP.NET MVC news, announcements, blog posts, tutorials, tips, and other resources on AspDotNetMVC.com. Contact Us with any suggestions you have for the site.

Advertise Here

ASP.NET MVC Blog Posts ASP.NET MVC Blog Posts RSS Feed

Lots of people are blogging about the ASP.NET MVC Framework. AspDotNetMVC.com will help you keep an ear to the ground by keeping track of all ASP.NET MVC blog posts here.

<< First  < Prev  Page 1 of 271  Next >  Last >>  
  • ASP.NET MVC meets HTML5 (8/15/2010)
    Today I tried out ASP.NET MVC HTML5 Helpers Toolkit by Dean Hume. Although browsers today support HTML5 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. HTML5 Helpers Toolkit is easy to install. 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...
  • Performance tuning tricks for ASP.NET and IIS 7 – part 2 (8/15/2010)
    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 ...
  • ASP.NET MVC 3: Global action filters (8/14/2010)
    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. Creating action filter 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...
  • ASP.NET MVC 3: Introducing Razor view engine (8/14/2010)
    ASP.NET MVC 3 brings us new view engine called Razor. Razor view engine was made available with WebMatrix 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. New ASP.NET MVC project type There is new ASP.NET MVC project type for Razor projects so you can start new application with Razor support already there. The other options are project with ASPX based views and empty ASP.NET MVC project. As I am...
  • ASP.NET MVC 3: Using HttpNotFoundResult in controller tests (8/14/2010)
    Lately I blogged about HttpNotFoundResult and HttpStatusCodeResult action results that come with ASP.NET MVC 3. These results are ideal for controller tests 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. Let’s suppose we have controller method that displays product details. public ActionResult Details(int productId){   ...
  • Dean Hume - ASP.net MVC HTML5 Toolkit (8/13/2010)
    I try and play around with ASP.net MVC as much as possible and this site is also written in MVC 2. One of the things that I thought about adding to MVC is the ability to have all the textboxes and controls updated to use HTML5. ...
  • Using the GeneratedImage Control in ASP.NET MVC (8/13/2010)
    One of the free, open-source controls on the ASP.NET team’s CodePlex page is the GeneratedImage control. In a nutshell, the GeneratedImage control is a combination of an ASP.NET Web Control and a set of classes that facilitate programmatically creating, serving, caching, and transforming images. If ...
  • Expose your Existing ASP.NET MVC Actions as JSON/XML API Endpoints (8/13/2010)
    Why write separate actions to provide a JSON/XML API in ASP.NET MVC? If you are already using view models, MVC API Action Filter makes reusing your existing actions quick and clean.
  • I'm Taking a Break -- StoryTeller and StructureMap users please read (8/12/2010)
    All, I've come to realize this week that I'm in need of an extended mental holiday from the absurd level of side project work that I've been doing for the past several years. I have some work on FubuMVC coming up as part of a Dovetail project, but otherwise I think I'll try to recharge the batteries for a while and shut down the computer at night for awhile. StoryTeller As of this moment, I'm shelving StoryTeller altogether. The 1.0 release was admittedly rushed for an early...
  • ASP.NET MVC 2 Controller - Use Custom Attribute to intercept call to Action (8/10/2010)
    I was thinking that it would be good to have certain MVC Actions run some common code every time they are called. Naturally we could just call a common method within our Action methods, but that would not be MVC sexeh. After all, we use special Attributes such as [Authorize] and [HttpPost] to interc ...
  • Minify HTML with .NET MVC ActionFilter (8/9/2010)
    To make our site a tight as possible, I thought we’d explore the idea of removing the white space in our generated HTML. I’ve had this idea for a long time, but after reading @hugoware post about removing white space, I decided to implement it in my own projects. As with any good code, let’s stand o ...
  • Google and Yahoo Add to Calendar Html Helpers for Asp.net MVC ... (8/9/2010)
    I've been working on implementing some iCal functionality for the my gig guide website – Gigpig so users could easily add concert dates to their calendars.
  • With Each Step Forward, Microsoft Takes Two Back (8/9/2010)
    Today I was browsing a Microsoft published document on creating ASP.NET Web Pages using the Razor Syntax and to my surprise I found this gem on page 65. @{ var db = Database.OpenFile("SmallBakery.sdf"); var selectQueryString = "SELECT * FROM Products ORDER BY Name"; } ...
  • Using WebMatrix to Create a Consistent Layout w/Razor Content Blocks & Layout Pages (8/9/2010)
    One of the first things we need to do when creating the UI for a website or web application is setup the look, feel and layout of the site. Classic ASP and PHP developers recognize include files as a way to do this, while ASP.NET Web Forms & MVC developers use Master Pages. Razor however, allows you ...
  • ServiceLocator in ASP.NET MVC 3 Preview 3 – Part 1 - Coding N Design (8/8/2010)
    For past couple of days I was checking out features of the new ASP.NET MVC Preview 3.There are couple of interesting new additions like integration with the new Razor viewengine,improvements in Model Validation,AJAX support and ...
<< First  < Prev  Page 1 of 271  Next >  Last >>  
Advertise Here