Sign In
James Osborne's Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
appcmd.exe
applicationHost.config
Authentication
config
Fuzzing
https
HttpWebRequest
IIS7
NetTcpBinding
NetworkStream
Non-Http Activation
Selfhost
ssl
Streaming
System.Net.Sockets
system.web
system.webServer
Tracing Message Logging WCF WebMatrix
WCF
WCF WebMatrix IISExpress Microsoft.Web.Administration
WebMatrix IIS Express Visual Studio Tools Cassini
WebMatrix IISExpress Authentication WCF
Archive
Archives
November 2011
(1)
August 2011
(1)
June 2011
(3)
April 2011
(1)
February 2011
(1)
January 2011
(3)
December 2010
(3)
November 2010
(1)
September 2010
(2)
July 2010
(1)
MSDN Blogs
>
James Osborne's Blog
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
James Osborne's Blog
2 auth modes on 1 endpoint - Using Multiple Authentication Schemes with ServiceAuthorizationManager
Posted
6 months ago
by
James Osborne-MSFT
1
Comments
Here’s the general idea: I want a single service endpoint with 2 operations: one can be accessed anonymously, the other requires authentication. Simple, right? It should be. But the trick is that you need multiple authentication schemes specified...
James Osborne's Blog
Multithreaded Testing...
Posted
9 months ago
by
James Osborne-MSFT
0
Comments
On multiple occasions, I've found myself in need of a design pattern to allow a single thread to do some work, while other threads block. I'm not getting into the details about how this environment comes about, or what I'm exactly doing , but let me define...
James Osborne's Blog
Streaming with WCF - Sidebar: What is really going on with my stream?
Posted
11 months ago
by
James Osborne-MSFT
5
Comments
Streaming with WCF Sidebar - What is really going on with my stream? This posting might not directly help you implement something, but it should give some insight as to what's going on under the hood with a stream sent to a client from a service...
James Osborne's Blog
Streaming with WCF - Part 2: Plugging a custom stream into a WCF service
Posted
11 months ago
by
James Osborne-MSFT
2
Comments
Last time, I introduced this topic and gave an example of a custom stream implementation. This time, I'm going to make a few enhancements to this implementation and get into the topic of using it in a WCF Service. Streaming with WCF Part 2: Plugging...
James Osborne's Blog
Streaming with WCF - Part 1: Custom Stream Implementation
Posted
11 months ago
by
James Osborne-MSFT
1
Comments
Somewhat recently, I've been adding some tests that use streaming with WCF. I'm not going to get into the specifics of my tests, but I will say that, for me, setting up WCF for streaming and creating oddball custom stream implementations wasn't exactly...
James Osborne's Blog
Writing bytes to the wire
Posted
over 1 year ago
by
James Osborne-MSFT
0
Comments
As a tester in .NET (more specifically, WCF), every now and then, I end up defining a test requirement that isn't possible to cover with simply using our WCF product code. For example, in 4.0, I wanted to test hitting a service with an Http request that...
James Osborne's Blog
Webhosting a WCF service over Https (with your own Certificates)
Posted
over 1 year ago
by
James Osborne-MSFT
2
Comments
Disclaimer: The information contained in this posting is not intended for production environments. But it should effectively mimic a production environment. A while back, I posted a lengthy how-to for setting up a selfhosted WCF service that uses...
James Osborne's Blog
WebMatrix Visual Studio Integration
Posted
over 1 year ago
by
James Osborne-MSFT
1
Comments
Today, I just installed the release of WebMatrix, along with the Beta version of SP1 for Visual Studio 2010. One of the many cool features added with this combination is the IISExpress integration in Visual Studio. Prior to this, the only options you...
James Osborne's Blog
Tracing and Message Logging in WebMatrix
Posted
over 1 year ago
by
James Osborne-MSFT
0
Comments
In Beta3, there was an issue where WCF trace logs would be truncated after closing WebMatrix. See the posting here for historical details . With the full release of WebMatrix, there is a way to get non-truncated logs. If you are hosting the site from...
James Osborne's Blog
Mismatching Auth Schemes
Posted
over 1 year ago
by
James Osborne-MSFT
0
Comments
Recently, I've come across an interesting exception message in one of my Ad-Hoc WCF projects using .Net 4.0. The exception message is: The HTTP request is unauthorized with client authentication scheme 'Basic', The authentication header received...
James Osborne's Blog
Selfhosting a WCF service over Https
Posted
over 2 years ago
by
James Osborne-MSFT
4
Comments
Something as simple as ad-hoc selfhosting a WCF service can be fairly difficult if you need to use https. This is because of all the underlying pieces than need to be configured to properly host on a secure transport. In this fairly lengthy posting, I...
James Osborne's Blog
Hosting in IIS using NetTcpBinding
Posted
over 2 years ago
by
James Osborne-MSFT
0
Comments
I've recently run across several non-intuitive steps when trying to host a simple Hello-World WCF service in IIS using NetTcpBinding. These tips apply to IIS7. There's also a great article that quickly goes through setting up TCP activation: http:...
James Osborne's Blog
Tracing and Message Logging in WebMatrix (IISExpress) Beta3
Posted
over 2 years ago
by
James Osborne-MSFT
0
Comments
If you set up a WCF service in WebMatrix or in Visual Studio with IISExpress as the Local IIS Web Server, you might notice some odd behavior with trace logs being truncated. Recall that with IIS, if you set up message logging or tracing, the log file...
James Osborne's Blog
WebMatrix Beta3 - Using Authentication
Posted
over 2 years ago
by
James Osborne-MSFT
0
Comments
WebMatrix Beta 3 is released here: http://www.microsoft.com/web/webmatrix/ . With that said, I'd like to help those out who wish to use WebMatrix to host a site using authentication modes other than "Anonymous." Recall that in IIS 7+, you can enable...
James Osborne's Blog
WebMatrix (Beta) appcmd.exe
Posted
over 2 years ago
by
James Osborne-MSFT
2
Comments
What is it? First, if you are unfamiliar with appcmd.exe, and what it can do for you, consider reading up on it here: http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe . I've found that site fairly helpful in getting started with it...
James Osborne's Blog
web.config location tag - authentication pitfall
Posted
over 2 years ago
by
James Osborne-MSFT
0
Comments
Quick intro to the <location> element in config One of the great features for WCF services is the ability to control settings on resources within a virtual directory on a per-location basis. The way to do this is with the <location> tag...
James Osborne's Blog
WebMatrix (IISExpress) Beta - Hosting WCF Services
Posted
over 2 years ago
by
James Osborne-MSFT
0
Comments
First off, see ScottGu's blog post on IISExpress: http://weblogs.asp.net/scottgu/archive/2010/06/28/introducing-iis-express.aspx Next, if you need the download link for the beta, it's here: http://www.microsoft.com/web/webmatrix/ Okay, and now on...
Page 1 of 1 (17 items)