Sign in
Nicholas Allen's Indigo Blog
Windows Communication Foundation From the Inside
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
Answers
Bindings
Channel Extensibility
Channels
Conferences
Contracts
Debugging
Encoders
Faults
Hosting
HTTP
Indigo
Learning
Message Security
Messages
Net4
Networking
Orcas
Pages
Performance
Proxies
Queues
Releases
Reliable Messaging
Security
Security Algorithms
Serialization
Service Architecture
Service Model
Silverlight
Standards
Stream Upgrades
TCP/IP
Transport Security
Transports
Browse by Tags
MSDN Blogs
>
Nicholas Allen's Indigo Blog
>
All Tags
>
bindings
Tagged Content List
Blog Post:
Comparing Two Bindings
Nicholas Allen
Too often I have to compare two bindings to find the subtle difference between a configuration that works and a configuration that doesn't. This is quite a painful task as a channel stack can be generated on the fly based on different settings, there are dozens of configuration options (for security...
on
5 Mar 2010
Blog Post:
Transfer Modes and Buffer Sizes
Nicholas Allen
Why do only some of the bindings allow setting a MaxBufferSize? The maximum buffer size and the maximum received message size are in many ways linked together. If the message is being transferred in a single buffer, then it only makes sense for the largest size of that buffer to equal the largest...
on
15 Oct 2009
Blog Post:
Missing Binding Extensions
Nicholas Allen
Why do I get an error “configuration evaluation context not found” when I try to create a custom binding using bindings or binding elements from a library? The evaluation context not found error (or in traces with the identifier System.ServiceModel.EvaluationContextNotFound) is generally caused by...
on
29 Jul 2009
Blog Post:
Top Down Binding Element Order
Nicholas Allen
Why does a message encoder have to be specified before the transport when constructing a binding? A message encoder doesn’t directly fit into a channel stack because the message encoder type doesn’t implement any of the channel shapes. Instead, a message encoder is an auxilliary piece used by one...
on
21 Jul 2009
Blog Post:
Load Balanced Web Service Bindings
Nicholas Allen
What options can I use with WSHttpBinding to make it friendlier to load balancing? The primary difficulty encountered when using WSHttp with a load balancer is that WSHttp is easy to configure to produce application-level sessions between the client and service. Many load balancers support the...
on
15 Jul 2009
Blog Post:
Binary Http Binding
Nicholas Allen
Do I need IIS7 to use binary with HTTP for WCF? No, all you need is a custom binding because we don’t include a standard binding with that configuration out of the box. Here’s a quick example of putting binary and HTTP together with either code or configuration: BinaryMessageEncodingBindingElement...
on
1 Jul 2009
Blog Post:
Default Message Encodings
Nicholas Allen
What message encoding do I get if I don't include one in the binding? A message encoding binding element is required for any binding that uses an encoding-aware transport. However, it turns out that most transport binding elements include a default message encoding if you don't specify one explicitly...
on
17 Apr 2009
Blog Post:
Non-Destructive Queue Receive
Nicholas Allen
You should take the time to understand the earlier articles in the series for context if you haven't already. Future of Queuing An Alternative Queuing Model The three basic operations that we talked about for queuing with non-destructive receives are peek, lock, and delete. Rather than...
on
5 Dec 2008
Blog Post:
Building with Encoders
Nicholas Allen
The basis of a channel stack is that there is a series of objects that share a common interface for communication. This leaves message encoders with something of a problem as the primitive operations for encoding and decoding messages are different than the primitive operations for sending and receiving...
on
29 May 2008
Blog Post:
Context Channel Shapes
Nicholas Allen
What channels can be used in a context binding? The primary limitation for building a context binding is that the channel stack has to have the right shape. The context exchange protocol used by a context binding requires that the first invoked operation be a request-reply operation. This is so...
on
21 Apr 2008
Blog Post:
Why Dual is Reliable
Nicholas Allen
You may have noticed that bindings use two different classes for configuring reliability: ReliableSession and OptionalReliableSession. The only difference between the two is that OptionalReliableSession has an Enabled property that allows the reliable session to be turned off. If you only have a ReliableSession...
on
17 Apr 2008
Blog Post:
Default ProtectionLevel for Standard Bindings
Nicholas Allen
Previously I've described how messages are protected by using the ProtectionLevel attribute to specify the minimum level of protection. If you don't specify a protection level explicitly, then you'll get one by default that is computed based on the binding. This default protection level is the maximum...
on
8 Apr 2008
Blog Post:
Overriding Protection for IPSec
Nicholas Allen
How do I use username credentials with IPSec? I'm told that I need to turn on security but my connection is already secure. WCF only permits username tokens to be transmitted over a binding that's secure. If a username and password are transmitted without some way of obscuring their values, then that...
on
28 Mar 2008
Blog Post:
Partial Trust Binding Black List
Nicholas Allen
Partial trust support in WCF is an Orcas feature that allows clients and services to be run in an environment with restricted permissions. WCF is part of a fully trusted installation, so by default partially trusted callers are not allowed to call into the assembly. However, there is a standard mechanism...
on
13 Mar 2008
Blog Post:
Mapping Credentials to Authentication Schemes
Nicholas Allen
You may have noticed that an HTTP binding is configured with an HttpClientCredentialType whereas an HTTP binding element is configured with an AuthenticationScheme. How are these two settings related? If you want to switch between a custom binding and a standard binding for HTTP, then you need to know...
on
31 Dec 2007
Blog Post:
Deriving from Bindings
Nicholas Allen
When packaging up a collection of settings, how do I know whether to use a CustomBinding, extend the Binding class, or extend one of the standard binding classes? In most cases this should be easily decidable by asking at most two questions. The first question is used to decide between creating...
on
10 Dec 2007
Blog Post:
Supporting Multiple Security Mechanisms
Nicholas Allen
How do I write a service that gives clients the option to choose between different security mechanisms for protecting a service call? For example, how can I allow clients to choose between certificates and passwords? I think that if the example choice had been between message security and transport...
on
17 Aug 2007
Blog Post:
Interfaces for GetProperty, Part 2
Nicholas Allen
I've done a bit of grouping for the remaining binding elements as there are fourteen non-transport binding elements that I'm covering in this list. I've pointed out the ones that respond to a type with GetProperty on the base class as opposed to repeating the same code in each subclass. Our standard...
on
11 Apr 2007
Blog Post:
Interfaces for GetProperty, Part 1
Nicholas Allen
This is more of a reference than anything else. People have asked me what interfaces do something when used with GetProperty on a binding element. Of course, a custom implementation can do whatever it wishes in its GetProperty, so I can only tell you what the standard implementations have done. Also...
on
10 Apr 2007
Blog Post:
Optional Interfaces on Binding Elements
Nicholas Allen
In the past I've talked a lot about the absolute minimum you need to do to write a working channel. However, what about the people that want all of the optional bells and whistles that can go along with channel development? There are several interfaces that you can implement on the binding element or...
on
4 Apr 2007
Blog Post:
Preventing Anonymous Access
Nicholas Allen
How do I prevent clients from accessing my service anonymously? I've changed the settings in IIS from Anonymous Access to Integrated Windows Authentication. However, now I'm getting the error message: "Security settings for this service require 'Anonymous' Authentication but it is not enabled for the...
on
23 Mar 2007
Blog Post:
Responding to GetProperty
Nicholas Allen
I've created a custom implementation of GetProperty for my binding but now I'm getting errors when I go to use the channels. Why is the validation for these channels failing? This is an implementation problem that I've talked about in the past. There is a requirement that the values queried from...
on
22 Mar 2007
Blog Post:
Channel Bindings
Nicholas Allen
We're back to the channel development tour for another pair of articles. Today's article is the first of four in this segment on channel construction. The first half of the segment is background and the second half of the segment talks about code. In each half, there is an article on bindings and an...
on
19 Mar 2007
Blog Post:
Bindings for Workgroups
Nicholas Allen
What's the fastest binding for securely communicating over an intranet? How about if the client and server don't share a domain? A lot of attention gets paid to Internet configurations, where HTTP rules the world. HTTP is so dominant in that environment because it is a very open and standardized...
on
2 Feb 2007
Blog Post:
Customizing a Metadata Resolver
Nicholas Allen
I'm trying to use a metadata resolver but the metadata endpoint requires a custom binding. How do I override the binding used by MetadataResolver? The overloads on MetadataResolver are pretty strange, but you can pick any of the ones that take an instance of MetadataExchangeClient. public...
on
15 Jan 2007
Page 1 of 3 (54 items)
1
2
3