In my demo last week I extended a string class; I am pleased to say that after some ( quick ) investigation as predicted the calls to the class are identical. To explain extensions we can use the following code class Fred { string MyStringMethod ( string s ) { // do something } } string x = Fred.MyStringMethod(x); …
Read MoreLast Saturday I presented on LINQ at Developer Developer Developer. I stated that that much of LINQ was syntactic sugar ( very good low fat sugar) and in fact much of the work being done by the compiler effectively did repetetive work that we do day to day. I see this as very solid reoccurring theme in Microsoft …
Read MoreWinFX 3.0 is now .Net Framework 3.0 With the aim of providing us with consistency Soma has announced that from now on WinFX consisting of Windows Presentation Framework (Avalon) , Windows Communications Framework (Indigo) , Windows Workflow Foundation (WinOE) and Cardspace ( the product formaly known as Infocard ) will …
Read MoreI sorted a problem today that has been going on a while, how to load test data in unit tests without resorting to fixed paths. We had an class library assembly and an associated test project in Visual Studio 2005 Team Developer Edition. The problem was the methods we needed to test (via a unit test) had to load some …
Read MoreI have been struggling for a while with sharing DLLs between web services and WinForm application. Many people have written on this. All the articles all tend to be deeply technical and hence fairly tough going. However I have found a quick easy solution from these various documents, this posting tries to given some …
Read MoreAt DDD3 when I was demo'ing GUITester I said there was a problem with the tests that used multi-threading were failing. This used to work with .Net 1.1 but not with 2.0. Due to the short notice of doing the session I did not have time to find the answer before the talk. However I have found it now. As I had guessed the …
Read MoreWell Developer Developer Developer Day 3 was interesting, a few months ago I had put in a proposal to speak at the event about GUITester, but it was not voted for, so I didn’t continue to work on the session. So I arrived on Saturday expecting a relaxing day of sitting in the audience, and watching Robert pace up and …
Read MoreI am speaking at Developer Developer Developer Day 3 at Microsoft in Reading tomorrow, on Linq. I'll be providing an overview of up and coming features for CSharp 3.0, VB 9.0 and the .NET Language Integrated Query (LINQ). Covering features such as: anonymous types, lamda expressions, deep XML support, implicitly typed …
Read MoreWith my current implementation of the GUITesting framework integrated with Test Projects within VS.Net, I end up with all the GUITests in a single [TestMethod]. This is a far from perfect solution, if nothing else it is hard to debug, you only see the first failing test. So I thought what I need to do is automatically …
Read MoreI have rebuilt the GUITesting framework using VS.Net 2005. No changes really, the built in converter from VS.Net 2003 to 2005 did the job with no errors. At this time I have not done any work to exploit the new features of .NET 2.0. However, what I have had a look at is integrating the new testing features of VS.Net …
Read More