In my last blog entry I had shown a WWS native client connecting to a WCF service. In this one I’ll talk about how the WCF service can be converted into an equivalent WWS service. Connecting clients (whether WWS, WCF, or other) would continue to behave the same. I am going to use the same [...]
Entries from July 2009
Rewriting a WCF service in WWS
July 25th, 2009 · 4 Comments
Consuming a WCF service using a native WWS client
July 23rd, 2009 · 4 Comments
I have been meaning to play with Windows Web Services ever since I heard Nikola Dudar talk about it at the MVP Summit earlier this year. It’s natively included with Windows 7, but can also be installed and used from older OSes (XP, Vista, 2003 and 2008). You can write native clients using WWS that [...]
Tags: C#/.NET · C++ · Indigo · WWS API
.NET 4.0 : Arrays are now structurally equatable
July 20th, 2009 · No Comments
In .NET 4.0, arrays implement IStructuralEquatable which lets you equate two arrays based on their contents. int[] array1 = new int[] { 3, 5, 9 }; int[] array2 = new int[] { 3, 5, 9 }; IStructuralEquatable equatableArray1 = array1; Console.WriteLine( equatableArray1.Equals( array2, EqualityComparer<int>.Default)); The above code outputs True. You can use it with your [...]
Tags: C#/.NET · CLR/.NET BCL
Setting VC++ directories in VS 2010
July 17th, 2009 · 3 Comments
In VS 2010, Tools/Options does not have a VC++ directories tab (where you normally set the include/lib search folders). Instead if you take project settings for a C++ project, you’ll see VC++ Directories listed under Configuration Properties. Of course these are per project and not per user (as in VS 2008). If you want to [...]
Article : Delayed Delegate Invoker
July 15th, 2009 · 1 Comment
Here’s my latest article that discusses a simple utility class that lets you queue up delegates and then execute them at a later time in a first-in first-out order. I wrote this when I had a situation where I was doing some rather complex processing based on property changed event notifications, and I found that [...]
Tags: C#/.NET