WCF 4: AddDefaultEndpoints

Note: Cross posted from Sajay. Permalink Here is another little goodie we have which will help in reducing configuration. You can use the ServiceHostBase.AddDefaultEndpoints which will pretty much probe your service implementation for contracts and expose them as shown below. Notice that I don’t need to specify anything more than the base address and the…

0

ServiceThrottlingBehavior defaults for .NET 4

This is one of the new updates that you will find with the .NET 4 installation. This was a decision we reached after understanding the fact that almost all customers had to bump this number up to a sweet spot of around 100 sessions. However the initial decision of keeping a very low number was…

1

WCF Scalability and IIS

Couldn’t get better than this. Wenlong has pretty much detailed out to the gory details of understanding WCF scalability in these posts. WCF Request Throttling and Server Scalability Orcas SP1 Improvement: Asynchronous WCF HTTP Module/Handler for IIS7 for Better Server Scalability The fact you realize is that one bottle neck is enough to kill your scalability.

0

Finally Zermatt’s here

IIts been a long wait. After working with customers for getting out their token service and doing all the claim based black magic, finally we have a framework. Its not a bubble gum and match stick situation more and its a full framework. If you want to build applications and solve your federation problems which…

1

Time for your operation execution using the Operation invoker.

Have you ever wanted to do something like this .     // Define a service contract.     [ServiceContract(Namespace=”http://Microsoft.ServiceModel.Samples”)]     public interface ICalculator     {         [OperationContract]         [PerfOperationBehavior]         double Add(double n1, double n2);         [OperationContract]         double Subtract(double n1, double n2);                 [OperationContract]                double Multiply(double n1, double n2);                 [OperationContract]        …

0

Sending a simple String using WCF – Understanding the channel stack.

The snippet below might not be for the faint hearted. Primarily since its quite gory wcf. I realized that there is so much abstraction in the Service model’s channel layers thats its only justice that someone does a simple sample in how to send and read raw messages. I would suggest you to understand the…

1

Timeouts and WCF – httpRuntime

There seems to be very little documentation around the timeout behaviors for the client and service and configuring so many knobs can get you in a fix if you dont know what you are tweaking. The below snippet shows how enable one of these scenarios to keep connections open for long processing message. Bad as…

1

Applying Service Orientation through WCF

I was supposed to talk more about Development processes at Techmela on this Topic. But then I decided to share one particular aspect that i have learned over and over again when dealing with customers who have gone and developed multi-layered services and clients. There are some common aspects that i have noticed with many…

0

Durable Tokens Across Services – Share your tokens

There seems to be quite a number of time when you want to perform your authentication once and then you just go ahead the want to just call a service without performing the authentication again. What are some advantages of this ? 1. You get to manage your authentication independently. – Also results in a…

0

WCF Performance Comparison

I have been waiting for this article for quite some time. Read all about it here

0