Browse by Tags - UK Premier Support for Developers - Site Home - MSDN Blogs
UK Premier Support for Developers
Your dev. Our passion.
Translate This Page
Translate this page
Applications Performance Tuning
Memory Mapped Files
Model View Presenter
Windows Phone 7
Browse by Tags
UK Premier Support for Developers
Tagged Content List
Injecting Custom HTML Attributes in ASP.NET MVC
Recently Stuart Leeks and I have developed a worrying pattern of having the same ideas at the same time. I’m starting to doubt we’re different people. Except he’s about a foot taller so maybe that’s aspirational from my side. Our latest coinciding of ideas was a way to automatically...
31 May 2012
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...
31 May 2012
ASP.NET MVC: Adding Html attributes in Templated Helpers (EditorFor)
Recently Simon Ince and Stuart Leeks independently started working on solving the same challenge in ASP.NET MVC. Once we realised this we combined our efforts and this blog post is the result. We’ll walk through our approach - and hope you’ll be as pleased as we are with the simplicity of...
24 May 2012
Claim-based-security for ASP.NET Web APIs using DotNetOpenAuth
Source Code Recently I worked with a customer assisting them in implementing their Web APIs using the new ASP.NET Web API framework. Their API would be public so obviously security came up as the key concern to address. Claims-Based-Security is widely used in SOAP/WS-* world and we have rich APIs...
24 May 2012
ASP.NET MVC & jQuery UI autocomplete Part 2 (EditorFor)
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 behaviour up even if you are using Html.EditorFor. In the previous post, we specified...
8 May 2012
ASP.NET MVC & jQuery UI autocomplete
24 Apr 2012
ADM: Workshop: ASP.NET MVC 3 Development Ramp Up
Date : 3 rd & 4 th April 2012 Location : Thames Valley Park, Reading Since ASP.NET MVC was released many of our customers have been considering or are already adopting it for their new applications. It builds on your .NET skills whilst using a Model View Controller pattern implementation...
13 Mar 2012
Templated Razor Delegates combined with Partial Views
I was with a customer in Germany this week, and just before I left one of the (rather talented I might say) developers asked me about passing markup into an HtmlHelper extension. It turns out this is pretty easy, as covered by Phil Haack under Templated Razor Delegates . However, I particularly like...
26 Jan 2012
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...
26 Jan 2012
Flexible Conditional Validation with ASP.NET MVC 3
What? 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 in this space that I’ve been meaning to post for a while. Simon’s most recent post gave me the nudge I needed...
11 Oct 2011
Mvc.ValidationTookit Alpha Release: Conditional Validation with MVC 3
My blog posts on doing conditional validation in MVC have always been popular, and I’m frequently surprised by where I find that code – customers often say to me “we found some guys blog with some code to do the validation we needed” and sure enough it usually turns out to be...
6 Oct 2011
Immersive MVC and jQuery: Project Silk
Patterns and Practices have just released their latest round of guidance for developing web applications - “Project Silk”. I’ve been watching what they generate closely and I think you’ll be impressed. To quote the landing page; “Project Silk provides guidance for building...
27 Sep 2011
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...
27 Sep 2011
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...
14 Jul 2011
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...
12 Jul 2011
Project Silk: Patterns and Practices do Rich Web Apps
My blog has been quiet of late – because our team is busy I think. We’re recruiting by the way Something I’ve been wanting to blog about for a while now is “Project Silk”. This is Patterns & Practices latest round of web development guidance. Karl Shifflett is the...
12 May 2011
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...
14 Apr 2011
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...
10 Mar 2011
Conditional Validation in ASP.NET MVC 3
Some time ago I blogged on Conditional Validation in MVC , and Adding Client-Side Script to an MVC Conditional Validator . A number of people have asked me to update the sample to MVC 3, so guess what – it’s your birthday! The main differences are summarised below… and check out the...
10 Feb 2011
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...
4 Jan 2011
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...
28 Sep 2010
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...
31 Aug 2010
ASP.NET MVC: Adding client-side validation to PropertiesMustMatchAttribute
In the last two posts ( here and here ) we added client-side validation support for the ValidatePasswordLengthAttribute that is part of the default ASP.NET MVC project template. In this post we will look at another of the validators in the template: PropertiesMustMatchAttribute. This attribute is used...
24 Aug 2010
Controller Action Design in MVC
Validate, Act, Translate, and Respond. That’s about it. I’ve been trying to come up with a nice acronym for how to structure code in Actions for some time now, and this is the best I have managed. I wish it spelt a nice word – so if you’ve a better suggestion shout up. What...
19 Aug 2010
ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute in ASP.NET MVC 3 Preview 1
In the previous post we saw how we can add client-side validation to the ValidatePasswordLengthAttribute that is supplied in the default project template. To recap, the required steps were: The client-side validation code ModelClientValidationRules that specify how to hook up to the client...
12 Aug 2010
Page 1 of 2 (47 items)
© 2015 Microsoft Corporation.
Privacy & Cookies