Stuart Leeks

Stuart Leeks - Application Development Consultant

Search
Posts
  • Stuart Leeks

    Debugging ASP.NET MVC

    • 1 Comments
    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...
  • Stuart Leeks

    Collections and ASP.NET MVC Templated Helpers – Part 3

    • 1 Comments
    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 This is the third part in a mini-series and so far I’ve...
  • Stuart Leeks

    ASP.NET MVC resources

    • 1 Comments
    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...
  • Stuart Leeks

    Importing Windows Azure Virtual Machines into Remote Desktop Connection Manager (RDC Man)

    • 1 Comments
    UPDATE: See here for an updated version for RDC Man 2.7 that adds support for PaaS instances. After my last post I started thinking about the fact that you could use PowerShell to retrieve the server name and port information. From there it was a short...
  • Stuart Leeks

    NuGet Package Manager Console tip

    • 1 Comments
    I love NuGet – I find it a very productive way to add and update references. Being able to package up files as well as references is great when you write custom ASP.NET MVC validators that you want to share, as you often want to share an assembly and...
  • Stuart Leeks

    Entity Framework 5: Controlling automatic query compilation

    • 1 Comments
    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...
  • Stuart Leeks

    Importing Windows Azure Cloud Services into Remote Desktop Connection Manager (RDC Man)

    • 1 Comments
    This is the third article in what has somehow turned into a mini-series. Previous posts are: Using Remote Desktop Connection Manager (RDC Man) with Windows Azure Virtual Machines Importing Windows Azure Virtual Machines into Remote Desktop Connection...
  • Stuart Leeks

    A closer look at yield – part 2

    • 1 Comments
    In part 1 , we took a quick tour of the yield keyword. In this post we’re going to have a look at the code that the compiler generates for us when we use yield. We’ll return to the first example from last time and insert a Console.WriteLine before the...
  • Stuart Leeks

    A closer look at yield – part 3

    • 0 Comments
    This was only going to be two posts, but after my last post I’d been mulling over a post that looks at the compiler generated code in a more general way. Whilst catching up on blogs posts this morning I saw that Raymond Chen has written a blog post entitled...
  • Stuart Leeks

    Using let in LINQ to Objects – Part 3

    • 0 Comments
    This is a follow-up to my two previous posts on the let keyword Using let in LINQ to Objects Using let in LINQ to Objects – Part 2 The real reason for this post is to link to a great post that K.Scott Allen has just published : Optimizing...
Page 5 of 7 (67 items) «34567