Entity Framework 4: POCO and Foreign Keys in Beta 2 – updates not persisted

Whilst preparing some demos for a customer session on Entity Framework 4 recently, I was putting together a demo to show how Entity Framework can work with POCO types. The intention was to show code that worked with the automatically generated types and then switch out the types for a POCO implementation and show that…

0

Capturing pop-up windows with Web Test Recorder in Internet Explorer 8 (IE8)

** As always, use this at your own peril. This post is entirely based on my experience – your mileage may vary! ** I was working with a customer who were having trouble recording a web test using the Web Test Recorder in Visual Studio Team Suite Test Edition. As they clicked through the site…

0

Test Links

Various useful links for testing with Visual Studio Diagnosing and fixing Web Test recorder bar issues (Mike Taute) VSTT 2008 Quick Reference Guide Advanced Load Testing Features of Visual Studio Team System (Bill Barnett) Diagnosing OutOfMemoryExceptions that occur when running load tests (Bill Barnett) Improve load test performance on multi-processor machines (Sean Lumley) Web Test Authoring…

0

T4MVC now with multiple file support

Ok, so I’m indulging in self-publicity a little with this post, but I really want to take the opportunity to highlight some great work that David Ebbo has done. I’ve been spending a bit of time with ASP.NET MVC Framework and really like it. The combination of testability, being led towards separation of concerns, massive…

0

Options for creating a test project

I was rooting through the Tools\Options dialog in Visual Studio recently and noticed the following options for Test projects: Whilst these are probably reasonable defaults in terms of discoverability of features, I’ve always found that the first thing I did when creating a test project was to delete the introduction file and manual test (and…

0

Setting the window title for a command prompt

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, and have found that setting the title to match…

0

Finding files in your path environment

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:1"=="" goto :notfound echo Found: %~$PATH:1 goto :end :notfound echo…

0

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…

2

Quickly creating an Outlook rule

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 have been enough to put the task off. Unfortunately, they weren’t…

0

Adding links containing spaces to an email message

Possibly slightly off-topic for this blog, but so far I’m doing quite a good job of not settling down on a single topic 😉 Outlook has the nice feature that if you type something that looks like a link into an email, it will automatically create the link for you. Now, suppose you have a…

2