Articles : Page 1 of 1

  • Modifying the default code generation/scaffolding templates in ASP.NET MVC

    Modifying the default code generation/scaffolding templates in ASP.NET MVC

    Mar 11
    28

    One of the things people like the most about my ASP.NE MVC 2 Ninja Black Belt Tips video, besides the Bill Cosby sweater, is the tip where I show how to modify the default CodeTemplates that are used in Code Generation in ASP.NET MVC (either version). Eilon mentioned it on an internal mailing list this week so I thought it'd be worth surfacing again in case you haven't heard of this, Dear Reader. Soon, we'll see even more powerful, flexible, and fun ways to customize your own Scaffolding ...


  • Modifying the default code generation/scaffolding templates in ASP.NET MVC

    Modifying the default code generation/scaffolding templates in ASP.NET MVC

    Mar 11
    28

    One of the things people like the most about my ASP.NE MVC 2 Ninja Black Belt Tips video, besides the Bill Cosby sweater, is the tip where I show how to modify the default CodeTemplates that are used in Code Generation in ASP.NET MVC (either version). Eilon mentioned it on an internal mailing list this week so I thought it'd be worth surfacing again in case you haven't heard of this, Dear Reader. Soon, we'll see even more powerful, flexible, and fun ways to customize your own Scaffolding ...


  • A Better ASP.NET MVC Mobile Device Capabilities ViewEngine

    A Better ASP.NET MVC Mobile Device Capabilities ViewEngine

    Nov 10
    17

    In March of 2009 I spoke at Mix 09, Microsoft's Web Conference and presented a number of ASP.NET MVC features. I extended the NerdDinner Sample with a naive implementation of what I called a MobileCapableWebFormViewEngine. Here's the basic implementation. Don't use this, it's broken. public class MobileCapableWebFormViewEngine : WebFormViewEngine{ public override ViewEngineResult FindView(ControllerContext controllerContext, string viewName, string masterName, bool useCache) { ViewEngineRes...


  • Code-First Development with Entity Framework 4

    Code-First Development with Entity Framework 4

    Jul 10
    16

    .NET 4 ships with a new and much improved version of Entity Framework (EF) – a data access and OR/M library that lives within the System.Data.Entity namespace. When Entity Framework was first introduced with .NET 3.5 SP1, developers provided a lot of feedback on things they thought were missing or incomplete with that first release. The SQL team did a good job of listening to this feedback, and really focused the EF that ships with .NET 4 on addressing it. Some of the big improvements in EF...


  • Extending NerdDinner: Exploring Different Database Options

    Extending NerdDinner: Exploring Different Database Options

    May 10
    20

    The original NerdDinner Sample was very simple. Two samples, simple, in fact. Perhaps it's the new Northwind, as it's a good way to start working with ASP.NET MVC. However, it's not a perfect sample or an idealized example on how to do many things that users want to do. Fortunately, there's been lots of cool folks in the community who have forked NerdDinner and done interesting stuff with it. Each of these samples is usually focused on a specific scenario, so they won't necessarily be merge...


  • Extending NerdDinner: Adding MEF and plugins to ASP.NET MVC

    Extending NerdDinner: Adding MEF and plugins to ASP.NET MVC

    May 10
    20

    The original NerdDinner Sample was very simple. Two samples, simple, in fact. Perhaps it's the new Northwind, as it's a good way to start working with ASP.NET MVC. However, it's not a perfect sample or an idealized example on how to do many things that users want to do. Fortunately, there's been lots of cool folks in the community who have forked NerdDinner and done interesting stuff with it. Each of these samples is usually focused on a specific scenario, so they won't necessarily be merge...



  • 1