Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • Interface Inheritance Esoterica

    I learned something new yesterday about interface inheritance in .NET as compared to implementation inheritance. To illustrate this difference, here’s a simple demonstration. I’ll start with two concrete classes, one which inherits from the other. Each class defines a property. In this case, we’re dealing...
    Posted to What's New (Weblog) by Anonymous on 11-10-2009, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, aspnetmvc, Software Development, model binding, cli, Interfaces
  • ASP.NET MVC 2 Optional URL Parameters

    If you have a model object with a property named Id , you may have run into an issue where your model state is invalid when binding to that model even though you don’t have an “Id” field in your form. The following scenario should clear up what I mean. Suppose you have the following simple model with...
    Posted to What's New (Weblog) by Anonymous on 02-12-2010, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, aspnetmvc, Routing, Software Development, model binding
  • Manipulating Action Method Parameters

    During the MVP summit, an attendee asked me for some help with a common scenario common among those building content management systems. He wanted his site to use human friendly URLs. http://example.com/pages/ a-page-about-nothing / instead of http://example.com/pages/ 123 / Notice how the first URL...
    Posted to What's New (Weblog) by Anonymous on 02-22-2010, 12:00 AM
    Filed under: ASP.NET MVC, ASP.NET, aspnetmvc, Software Development, model binding, action filters
Page 1 of 1 (3 items)