Simon Ince's Blog

Ramblings of a gadget freak

Posts
  • Simon Ince's Blog

    Detecting Server.Transfer

    • 5 Comments
    How do you know when a page is being rendered as the result of a Server.Transfer, rather than a Response.Redirect or the user browsing directly to a page? Actually it’s quite easy, assuming you’re using the default ASP.NET pipeline. In reality the...
  • Simon Ince's Blog

    Enforcing Unobtrusive JavaScript

    • 0 Comments
    Unobtrusive JavaScript is a concept that’s been around for quite a while, but it’s now finally starting to make its way into the mainstream. The basic idea is that you should separate your JavaScript from your HTML – so instead of; < a href ="Default...
  • Simon Ince's Blog

    String.Unformat: I've created a monster

    • 5 Comments
    I don’t know if you’re the same, but when coding away I often find myself wishing for a String.Unformat function – call it the evil twin of String.Format . With String.Format I can build up strings like this; var result = String .Format( "http:...
  • Simon Ince's Blog

    Running two Visual Studio 2008 configurations side-by-side

    • 1 Comments
    Recently I’ve come across a requirement to easily switch between two Visual Studio 2008 configurations. I might need these two configurations open at the same time (so can’t just manually edit settings in Tools->Options), and don’t want any lengthy...
  • Simon Ince's Blog

    Using Anchor Links with AJAX History

    • 1 Comments
    A customer asked me about doing this the other day, and I’d never come across it, although it seems obvious now! If I have a page that makes use of ASP.NET’s server-side ScriptManager AJAX history features but also want to link to an anchor on that page...
  • Simon Ince's Blog

    Blueprints Update

    • 0 Comments
    This is late news as I’ve been busy recently, but if you’ve been following Blueprints make sure you read Michael’s post here . They’re evolving into something else, that I’m sure will be even more exciting... I’ll be staying tuned so no doubt I’ll...
  • Simon Ince's Blog

    Using ASP.NET Dynamic Data in an existing Web Site

    • 4 Comments
    One of the tasks I used to hate when building a new system was adding admin pages to allow simple create/update functionality for lookup data. For example, maintaining a simple list of Products. It takes ages to write, and is very boring – even if you...
  • Simon Ince's Blog

    foreach keyword or ForEach<T> extension method?

    • 6 Comments
    Is this a question of taste, or something more serious? [ Warning : this post won’t change your life J ] I found myself writing the following extension method yet again the other day; public static void ForEach<T>( this IEnumerable <T>...
  • Simon Ince's Blog

    Flattening XML Data in SQL Server

    • 31 Comments
    If you’ve got some XML data in a SQL Server column, how can you flatten it out and query it or present it as though it was relational data? It turns out this is quite easy... Setup Let’s create a simple table to hold our data; CREATE TABLE XmlSourceTable...
  • Simon Ince's Blog

    Visual Studio Team System 2010: Tick, tock, tick, tock...

    • 1 Comments
    As the beta 1 drop of Visual Studio Team System 2010 approaches, Brian Harry has a great little summary of the high level new feature areas we’re delivering. Check it out here . There are some great nuggets in there, so I’m really looking forward to...
  • Simon Ince's Blog

    Auditing Data Changes in the Entity Framework: Part 2

    • 16 Comments
    In my previous post I described the basic concept behind my auditing approach using the Entity Framework, and covered some of the problems I encountered. This post focuses on the solution I went with; do feel free to comment if you have any thoughts....
  • Simon Ince's Blog

    Auditing Data Changes in the Entity Framework: Part 1

    • 7 Comments
    If you’ve read my last post on Types of Auditing , you should be primed for this one; I’m looking at a way to do Data Operation Auditing in the Entity Framework. That is, I want to track who changes which tables & columns , when , and in what way...
  • Simon Ince's Blog

    Types of Auditing

    • 4 Comments
    Auditing almost means something different to everyone I speak to... just a few things people mean when they say “our system has auditing” to me are; Business Operation Auditing . This is recording when a business operation is performed, such as “Hire...
  • Simon Ince's Blog

    Performance, Scalability, and Stability

    • 1 Comments
    I spend quite a lot of time nowadays advising on architecting applications to be scalable, recommending performance testing approaches and processes, and being called in to help an organisation remediate problems with an existing application. It’s one...
  • Simon Ince's Blog

    Procedural versus Set-Based SQL

    • 9 Comments
    During my day job I come across customers that are struggling to make a system perform to the expectations of their users, and they often see this as a SQL Server problem. This post is designed to demonstrate how much of a difference your approach to...
  • Simon Ince's Blog

    Mapping two Tables to one Entity in the Entity Framework

    • 11 Comments
    Whilst at Q-Con a few weeks ago someone asked me about how to map two database tables to one entity in the Entity Framework... something a lot of people want to do at some point or another. At this point I must thank Chris Barker for pinging me some links...
  • Simon Ince's Blog

    Assess your Development... using a Surface!

    • 1 Comments
    I’ve been working with a few colleagues over the past months to come up with something we’ve called the “Development Foundation Assessment” (DFA). It’s a quick test that helps us understand where a customer is strong, and where they could benefit from...
  • Simon Ince's Blog

    Say Hello

    • 1 Comments
    My blog’s been quiet for a while as I’ve been reading up on technology and working on some things that have needed deep concentration... but normal service should be resumed soon. In the meantime, if you happen to be attending Q-Con or DevWeek in London...
  • Simon Ince's Blog

    All About Lamdas

    • 1 Comments
    I’ve been reading Mike Taulty’s blog for ages now, and I love his balance of technologies, the length of his posts, and his style of writing. So if you’re not a subscriber, go check it out. But I just had to draw attention to his recent post – “ Anonymous...
  • Simon Ince's Blog

    Windows 7 Beta

    • 1 Comments
    I can’t believe it, I still haven’t installed Windows 7. And it isn’t for lack of trying. If anyone would like to petition my boss to let me have an afternoon without work to do so I can fire up the installer I’ve had sat on my USB hard drive for ages...
  • Simon Ince's Blog

    Branching Guidance v2.0

    • 1 Comments
    I spend quite a lot of time with customers adopting Team Foundation Server discussing how they will branch, label, integrate, build and test their software. It’s actually one of my favourite topics, because I see good source control practices as the foundation...
  • Simon Ince's Blog

    Blueprints Example: View-Presenter, Part 2

    • 3 Comments
    This article follows on from part 1 , so make sure you know how far we got. Basically we can generate a project according to our required template, so next we want to be able to add a new View-Presenter enabled Web Page to the project. We’ll do this...
  • Simon Ince's Blog

    Blueprints Example: View-Presenter, Part 1

    • 4 Comments
    I’m sure I’ve warned you before – I’m a big believer in Software Factories… but I’ve been quiet about this for a while now. That’s because I’ve been waiting for the ‘next big thing’… enter stage left: “Blueprints”! I had the pleasure of attending a...
  • Simon Ince's Blog

    Are you using the WCSF?

    • 4 Comments
    Have you been using the Web Client Software Factory ? Or have you tried it and not adopted it? Or have you used some of the bundle content but not the whole factory? Michael Puleio has just started a thread on codeplex requesting feedback on who is...
  • Simon Ince's Blog

    AJAX Script Patterns: Service Agent

    • 2 Comments
    I’ve been thinking for a while about how people tend to build AJAX applications, as there seems to be something a lot of people have forgotten. This post examines how applying a pattern you probably know very well to AJAX could help – and leaves it to...
Page 3 of 5 (124 items) 12345