Stuart Leeks

Stuart Leeks - Application Development Consultant

Search
Posts
  • 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

    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

    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

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

    Quickly creating an Outlook rule

    • 0 Comments
    I’ve had a couple of conversations with people recently where they’ve said that they keep meaning to set up an Outlook rule to move specific messages to a separate folder. On each occasion the need to navigate the Tools\Rules And Alerts window seems to...
  • Stuart Leeks

    Breaking the ice

    • 0 Comments
    Hi, my name is Stuart Leeks (as you may have guessed from the blog title!) and I'm an Application Development Consultant at Microsoft in the UK. In keeping with the tradition of content-free first blog posts this is is a non-technical post. Future...
  • Stuart Leeks

    Finding files in your path environment

    • 0 Comments
    Occasionally I’m working at the command prompt and have a utility that is in the path environment, but need to find where the file actually is. So, I wrote a little batch file that does exactly that @echo off echo Searching path for %1 if "%~$PATH...
  • Stuart Leeks

    Setting the window title for a command prompt

    • 0 Comments
    Very quick tip in what seems to have become a mini-series ( Part 1 , Part 2 ). I often find myself with a number of command windows open and switching between them can be problematic. To address this I use the “title” command to set the window title,...
Page 5 of 7 (64 items) «34567