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
Entity Framework 5: Controlling automatic query compilation
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 of the new features coming in Entity Framework 5 ...
21 Jun 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
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
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
ADM Workshop: ASP.NET MVC 3 Ramp Up, 21st & 22nd June
ADM Workshop: ASP.NET MVC 3 Ramp Up, 21st & 22nd June Our next Workshop, “ Windows Azure Orientation ”, will be run on 21st and 22nd June at the Microsoft Campus (Thames Valley Park, Reading). The session is charged at the rate of 8 hour per delegate. If you require further information...
20 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
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
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
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 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
ASP.NET MVC: Adding client-side validation to ValidatePasswordLengthAttribute
When you create a new ASP.NET MVC 2 project in Visual Studio there are a number of files that are created. One of these is AccountModel.cs. If we ignore the fact that this one file contains multiple classes (I’ve no idea why!), we will see that there is some nice example code lurking in there....
5 Aug 2010
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...
10 Jun 2010
Ajax Control Toolkit Coding Standards are Live
Two of our ADCs ( Simon Ince and Stuart Leeks ) have been coordinating work with people across Services and various product groups to produce a comprehensive set of coding standards for the Ajax Control Toolkit. This was in direct response to requests from the ADC team’s customers for such documentation...
13 May 2010
Unity 2.0 – Automatic Builders
Contents Automatic Factories Property Injection Container.BuildUp Introducing “Automatic Builders” Creating “Automatic Builders” Automatic Factories I’ve been working with Unity 2.0 on a couple of projects recently (the source is at http://unity.codeplex.com – the microsoft.com...
11 May 2010
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 This is the third part in a mini-series and so far I’ve presented the problem and two potential workarounds. In this post...
8 Apr 2010
Collections and ASP.NET MVC Templated Helpers – Part 2
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 Last time I outlined a problem that I was having with rendering a collection via the templated helpers. The workaround that...
6 Apr 2010
PowerShell script to clean and zip a directory
As part of my role I’m often sending sample code to customers. Sometimes this is a small snippet inline in an email, but often it will be a zipped up Visual Studio solution. Simply zipping up the folder as-is ends up including bin and obj directories which bloat the zip. Performing a clean in Visual...
17 Dec 2009
Page 1 of 2 (33 items)
© 2015 Microsoft Corporation.
Privacy & Cookies