by Stever B
25. May 2010 17:03
Now that we have a clue about calling an OAuth secured service using Javascript, let’s try it again with C#. That way we can do the calling from the server side and not have to worry about exposing our secret key to the browser. This example is using the OAuth libray found at: http://oauth.googlecode.com/svn/code/csharp/OAuthBase.cs. More...
by Stever B
24. November 2008 17:39
Behaviors in WCF are so stinking useful, and once you get past the basics of WCF they're arguably a necessity. Microsoft has saved itself from hundreds of hours of cursing by including the ability to define custom behaviors.
My favorite use of behaviors is addressing some cross cutting concerns that we consistently have in our WCF services. Specifically logging, service registration, wsdl tweaking, and error handling. Which brings us around to the IErrorHandler interface.
More...
by Stever B
22. November 2008 05:13
If you've done any work with WCF and non .NET clients, you've probably had the need to make WCF emit a flattened WSDL that doesn't use xsd includes. You've probably run across Tomas Restrepo's InlineXSDInWSDLBehavior and Christian Weyer's FlatWSDL extension. They both work quite well. Possibly too well.
More...