Clicky

Browse by Tags - Stuart Leeks - Site Home - MSDN Blogs

Stuart Leeks

Stuart Leeks - Application Development Consultant

Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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....
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Get the Most out of WebGrid in ASP.NET MVC

    My first MSDN Magazine article is up: Get the Most out of WebGrid in ASP.NET MVC . So, if you want to find out how to make the WebGrid component from WebMatrix fit in with ASP.NET MVC then take a peek…. http://msdn.microsoft.com/en-us/magazine/hh288075.aspx . Thanks to Carl Nolan and Simon...
  • Blog Post: ASP.NET MVC: Partial rendering and AjaxAttribute

    On a number of occasions I’ve been working with a customer on a scenario where we were adding some Ajax partial rendering support.. All too often demos for this scenario are over-simplified and only render a minimal amount of data. I’m guilty of this too, so I thought I’d try to make...
  • Blog Post: Debugging ASP.NET MVC

    One of the handy things about ASP.NET MVC is that the source code is available. I’ve found this pretty useful over time when wanting to understand how things work. And occasionally it has been pretty helpful when trying to find out why my code isn’t working as it opens up the possibility of pulling in...
  • Blog Post: ASP.NET MVC 3: Integrating with the jQuery UI date picker and adding a jQuery validate date range validator

    UPDATE: I've blogged about an more flexible way to wire up the editor template here . This is post looks at working with dates in ASP.NET MVC 3. We will see how to integrate the jQuery UI date picker control automatically for model properties that are dates and then see an example of a custom validator...
  • Blog Post: ASP.NET MVC: ValidatePasswordLength and PropertiesMustMatch in ASP.NET MVC 3 RC2

    This is the fifth post in what is becoming a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute...
  • Blog Post: Using ASP.NET MVC and jQuery to create confirmation prompts

    Having coded up samples several times showing how to add confirmation prompts to links on a web page I figured I’d post it here so that I can simply grab it next time round! My colleague Simon Ince & I put together a Ramp Up session for ASP.NET MVC 2. As part of the Ajax module we cover Unobtrusive...
  • Blog Post: Backwards compatibility and and preserving search engine ranking

    Phew – that was a long title! This is a follow-up to a post that my colleague Josh wrote recently. I started typing a comment in response to one of the comments and it got a little bit cramped in the text box so I decided to post it here instead. To summarise, Josh is looking into migrating the blog...
  • Blog Post: Extensionless URLs not working with ASP.NET MVC 2 on IIS 7/7

    This post is mostly a self-serving bookmark, but if you somehow landed here and are having issues with ASP.NET MVC 2 URL Routing (or routing in web forms if you’re using it there!) and are running on IIS 7 or 7.5 then have a read through the KB article below. I found it after much head scratching and...
  • Blog Post: ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute in ASP.NET MVC 3 Preview 1

    This is the fourth post in what is becoming a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute...
  • Blog Post: ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute

    This is the third post in what is becoming a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute...
  • Blog Post: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1

    This is the second post in what has become a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 (this post!) ASP.NET MVC: Adding client-side validation...
  • Blog Post: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute

    This is the first post in what has become a mini-series: ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute (this post!) ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1 ASP.NET MVC: Adding client-side validation...
  • Blog Post: ASP.NET MVC - Creating a DropDownList helper for enums

    Do the types you work with in your ASP.NET MVC models ever have enums? Mine do from time to time and I’ve found myself needing to render a dropdown list to allow the user to select the enum value. For the purposes of this post, I will be working with a Person class and a Color enum (I’ll direct you to...
  • Blog Post: Collections and ASP.NET MVC Templated Helpers – Part 4

    This is part of a mini-series: Part 1 – Define the problem & give a workaround Part 2 – Show an alternative workaround Part 3 – Show a reusable, simple solution Part 4 – Replacing Object.ascx My last post showed how to implement a custom model metadata provider that fibs to ASP.NET MVC that a complex...
  • Blog Post: Collections and ASP.NET MVC Templated Helpers – Part 3

    This is part of a mini-series: Part 1 – Define the problem & give a workaround Part 2 – Show an alternative workaround Part 3 – Show a reusable, simple solution Part 4 - Replacing Object.ascx This is the third part in a mini-series and so far I’ve presented the problem and two potential workarounds...
Page 1 of 2 (28 items) 12