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 (EF5)…

0

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 (jQuery UI datepicker,…

0

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 the solution. We’re wondering…

2

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 the…

0

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. Why did I bother? Mostly because every time I’m talking about this stuff I have to remember where I put…

0

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, so if you…

0

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 UI datepicker. A lot of…

0

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 they should have enough…

0

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 Ince for reviewing the article 🙂 Original Post by Stuart Leeks on 07-03-2011 7:50 PM  Here: http://blogs.msdn.com/b/stuartleeks/archive/2011/07/03/get-the-most-out-of-webgrid-in-asp-net-mvc.aspx

0

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 on this subject after the event, you…

0