Clicky

Stuart Leeks - Site Home - MSDN Blogs

Stuart Leeks

Stuart Leeks - Application Development Consultant

Search
Posts
  • Stuart Leeks

    Automatic camel casing of properties with SignalR hubs

    • 5 Comments
    I’ve been doing some work with SignalR recently. If you’ve not encountered SignalR before then take a look at the project wiki or Scott Hanselman’s post to find out more. By default, SignalR preserves the case of property names when sending objects from...
  • Stuart Leeks

    Flexible Conditional Validation with ASP.NET MVC – adding client-side support

    • 4 Comments
    Part 1 – Introducing RequiredIf Part 2 – Adding client-side support (this post) I’ve worked with a number of customers that wanted to be able to do cross-field validation of their models along the lines of “if property...
  • Stuart Leeks

    Entity Framework 5: Controlling automatic query compilation

    • 1 Comments
    When working with LINQ to Entities, Entity Framework has to parse the expression tree from the LINQ query and convert it to SQL. It is possible to save the output of this using CompiledQuery , but this is something that you have to manually code. One...
  • Stuart Leeks

    ASP.NET MVC: Supplying HTML attributes with EditorFor

    • 4 Comments
    My colleague Simon Ince and I recently discovered that we had been working on the same problem independently so we combined our efforts and have written a joint blog post on our team blog . The problem was something that I’d encountered in a...
  • Stuart Leeks

    ASP.NET MVC & jQuery UI autocomplete Part 2 (EditorFor)

    • 2 Comments
    UPDATE: I've blogged about an more flexible way to wire up the editor template here . I recently blogged about how to enable autocompletion of a text field using jQuery UI , and how to easily hook this behaviour up in ASP.NET MVC . In this post I’ll...
  • Stuart Leeks

    ASP.NET MVC: Adding aria-required attribute for required fields

    • 2 Comments
    UPDATE: I've blogged about an more flexible way to wire up the editor template here . There are a lot of things that you can do to make your site more usable and accessible. The Web Content Accessibility Guidelines (WCAG) includes techniques for Accessible...
  • Stuart Leeks

    ASP.NET MVC & jQuery UI autocomplete

    • 1 Comments
    UPDATE: I've written a follow-up post that shows how to achieve this using Html.EditorFor here . If you get me started talking about ASP.NET MVC then it is quite possible that I’ll end up talking about Progressive Enhancement or Unobtrusive JavaScript...
  • Stuart Leeks

    WebGrid extensions on NuGet

    • 0 Comments
    If you’ve not read my MSDN magazine article on using WebGrid to render tabular data then go read it now: http://blogs.msdn.com/b/stuartleeks/archive/2011/07/03/get-the-most-out-of-webgrid-in-asp-net-mvc.aspx ! This post announces the NuGet package WebGridMvc...
  • Stuart Leeks

    Flexible Conditional Validation with ASP.NET MVC 3

    • 8 Comments
    What? UPDATE: I've now blogged the follow-up post on adding client-side support Part 1 - Introducing RequiredIf (this post) Part 2 - Adding client-side support My colleague Simon and I have each written conditional validators with...
  • Stuart Leeks

    Pluggable Model Conventions

    • 2 Comments
    One of the things that I really like about ASP.NET MVC is its extensibility story. In the recent deliveries of the ASP.NET MVC Ramp Up I’ve shown a sample project with a few extension applied. Some of these have already been published on the...
Page 1 of 6 (55 items) 12345»