ASP.NET Identity and Windows Azure Table Storage

In case you haven’t heard, ASP.NET Identity is the new kid on the block for handling user identity, and replaces ASP.NET Membership, Simple Membership and Universal Membership. It is built on top of OWIN which positions it well for the future of ASP.NET. If you’re not familiar with ASP.NET Identity then check out Introduction to…

12

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

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 x is set then property y is required”. Some customers approached this using IValidatableObject, and others created…

9

ASP.NET MVC: Supplying HTML attributes with EditorFor

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 number of blog posts that used modified editor templates (jQuery UI datepicker,…

6

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

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 go a step further and show how to hook this…

5

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

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 Rich Internet Applications (ARIA). In this post we will look at one…

10

ASP.NET MVC & jQuery UI autocomplete

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. Aside from the usability and performance benefits that these techniques can bring, I find that…

11

WebGrid extensions on NuGet

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 that wraps up the custom WebGrid helpers. Why did I bother? Mostly because every time I’m talking about this stuff I have to remember where I put…

0

Flexible Conditional Validation with ASP.NET MVC 3

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 a number of customers, and Simon has blogged about it a number of times. I’ve had another idea…

8

Pluggable Model Conventions

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 blog: Html.EnumDropDownFor and integrating the jQuery UI datepicker. A lot of…

2

ASP.NET MVC resources

One of the fairly common questions I get asked is “what good resources are there for ASP.NET MVC?” The one that people are generally familiar with is www.asp.net/mvc – I think the memorable URL helps 😉 Another one (that’s a bit less discoverable) is the ASP.NET MVC Content Map  Between them they should have enough links…

1