James Osborne's Blog

2 auth modes on 1 endpoint - Using Multiple Authentication Schemes with ServiceAuthorizationManager

Here’s the general idea: I want a single service endpoint with 2 operations: one can be...

Author: James Osborne-MSFT Date: 11/04/2011

Multithreaded Testing...

On multiple occasions, I've found myself in need of a design pattern to allow a single thread to do...

Author: James Osborne-MSFT Date: 08/08/2011

Streaming with WCF - Sidebar: What is really going on with my stream?

Streaming with WCF Sidebar - What is really going on with my stream? This posting might not directly...

Author: James Osborne-MSFT Date: 06/17/2011

Streaming with WCF - Part 2: Plugging a custom stream into a WCF service

 Last time, I introduced this topic and gave an example of a custom stream implementation. This...

Author: James Osborne-MSFT Date: 06/17/2011

Streaming with WCF - Part 1: Custom Stream Implementation

Somewhat recently, I've been adding some tests that use streaming with WCF. I'm not going to get...

Author: James Osborne-MSFT Date: 06/10/2011

Writing bytes to the wire

As a tester in .NET (more specifically, WCF), every now and then, I end up defining a test...

Author: James Osborne-MSFT Date: 04/01/2011

Webhosting a WCF service over Https (with your own Certificates)

Disclaimer: The information contained in this posting is not intended for production environments....

Author: James Osborne-MSFT Date: 02/25/2011

WebMatrix Visual Studio Integration

Today, I just installed the release of WebMatrix, along with the Beta version of SP1 for Visual...

Author: James Osborne-MSFT Date: 01/13/2011

Tracing and Message Logging in WebMatrix

In Beta3, there was an issue where WCF trace logs would be truncated after closing WebMatrix. See...

Author: James Osborne-MSFT Date: 01/13/2011

Mismatching Auth Schemes

Recently, I've come across an interesting exception message in one of my Ad-Hoc WCF projects using...

Author: James Osborne-MSFT Date: 01/07/2011

Selfhosting a WCF service over Https

Something as simple as ad-hoc selfhosting a WCF service can be fairly difficult if you need to use...

Author: James Osborne-MSFT Date: 12/10/2010

Hosting in IIS using NetTcpBinding

I've recently run across several non-intuitive steps when trying to host a simple Hello-World WCF...

Author: James Osborne-MSFT Date: 12/07/2010

Tracing and Message Logging in WebMatrix (IISExpress) Beta3

If you set up a WCF service in WebMatrix or in Visual Studio with IISExpress as the Local IIS Web...

Author: James Osborne-MSFT Date: 12/06/2010

WebMatrix Beta3 - Using Authentication

WebMatrix Beta 3 is released here: https://www.microsoft.com/web/webmatrix/. With that said, I'd like...

Author: James Osborne-MSFT Date: 11/15/2010

WebMatrix (Beta) appcmd.exe

What is it? First, if you are unfamiliar with appcmd.exe, and what it can do for you, consider...

Author: James Osborne-MSFT Date: 09/03/2010

web.config location tag - authentication pitfall

Quick intro to the <location> element in config One of the great features for WCF services is...

Author: James Osborne-MSFT Date: 09/03/2010

WebMatrix (IISExpress) Beta - Hosting WCF Services

First off, see ScottGu's blog post on IISExpress:...

Author: James Osborne-MSFT Date: 07/30/2010