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
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
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
Detecting which button was clicked in MVC
I’ve seen a few hacks in the past to try and work out which button caused a form POST in ASP.NET MVC, but the truth is it is pretty easy. Step 1 : Inside your form, add two Submit buttons. Add a name attribute to both (note it isn’t added by MVC by default); 1: < p > 2:...
17 Feb 2011
ASP.NET MVC 3: Integrating with the jQuery UI date picker and adding a jQuery validate date range validator
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 that ensures that the specified date is in a specified range. Additionally, we will...
15 Feb 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
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...
30 Dec 2010
View Model versus Domain Entity Validation with MVC
I blogged way back in January about what I see as the three variants of View Model usage in ASP.NET MVC. If you’ve not read that post, check it out here and report back! The Problem What I’ve started to see is that many other developers like my approach of defaulting to Variant 2 (a...
16 Dec 2010
Different Routes for Different Hosts Using Constraints
I had the pleasure of visiting some guys in Munich this week to talk about ASP.NET MVC. Well, the time with them was a pleasure, but I did have two awful airport experiences due to snow in 48 hours! Something we discussed that I’ve come across before is using different routes depending upon...
9 Dec 2010
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
Learning MVC: Backwards compatible routes
I’m lucky enough to have sneaked on to some MVC training created and hosted by my talented colleagues Simon Ince and Stuart Leeks . For some time now I’ve threatened to migrate theJoyOfCode.com blogging engine from ASP.NET WebForms to MVC and this is the perfect excuse to make this happen...
23 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
Page 1 of 2 (42 items)
© 2015 Microsoft Corporation.
Privacy & Cookies