SYSK 389: How to set ClientCredentials via Configuration file in Client

I’m working on a project where a service hosted elsewhere requires Windows authentication.  As a consultant, my computer is not on the customer’s domain, so, using my logged-on Windows credentials won’t do any good.  And, doing nothing results in the following exception:  “The caller was not authenticated by the service.” and inner exception is “The…

0

SYSK 388: Differences between basicHttpBinding and wsHttpBinding

Doing a web search for a difference between basicHttpBinding and wsHttpBinding, I find just generic references to basicHttpBinding being a basic implementation of SOAP1.1, and wsHttpBinding supporting all the WS-* spec. So, I did a side by side comparison using Microsoft Service Configuration Editor – differences (in available settings and defaults) are indicated by red…

1

SYSK 387: Resolving Data Type Conversion Error

Consider the following line of code: AttendeeAvailability attendeeAvailability; . . .if (attendeeAvailability.WorkingHours.DaysOfTheWeek.Contains(DateTime.Today.DayOfWeek) == false){   . . . } You’ll get a compile time error — Argument 1: cannot convert from ‘System.DayOfWeek’ to ‘Microsoft.Exchange.WebServices.Data.DayOfTheWeek’   One way to resolve it is by converting it to a string representation and parsing into the Exchange library known data type,…

0

SYSK 386: Performance Implications of Using One vs. Several Nested Hashtables

Let’s say you need to quickly find some reference/lookup data and you decide to use hashtables…  If your key is comprised of several elements, is it better, from the performance point of view for you to combine all of them into one string and use it to access a flat single hashtable, or, would you…

0

SYSK 385: Smart Cache

John Manaloto, one of the architects I’ve worked with recently, has been kind enough to allow me to publish the “smart cache” class he’s put into one of his projects…  It’s a component built on top of Microsoft Caching Application Block from the enterprise library, but it has an additional capability of actually getting the…

0