Google Analytics Alternative Browse by Tags - UK Premier Support for Developers - Site Home - MSDN Blogs

UK Premier Support for Developers

Your dev. Our passion.

Browse by Tags

Tagged Content List
  • Blog Post: 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 ...
  • 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: 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...
  • Blog Post: 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...
  • 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...
  • Blog Post: 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...
  • 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: 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...
  • 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...
  • Blog Post: 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...
  • 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...
  • 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...
  • 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...
  • Blog Post: 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...
  • Blog Post: 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....
  • 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...
  • Blog Post: 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...
  • Blog Post: 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...
  • 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 This is the third part in a mini-series and so far I’ve presented the problem and two potential workarounds. In this post...
  • Blog Post: 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...
  • Blog Post: 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...
Page 1 of 2 (33 items) 12