How to turn on debug exceptions with WCF

It is possible to see exceptions passed back in the messages sent to the service.  This makes it a lot easier to debug multi-peer applications.  The way to do this is to add into the web.config file the section.  You can see in the following config section that the behavior <serviceDebug includeExceptionDetailInFaults=”true” /> is defined, this…

1

Duplex calls in indigo beta 1

There are two things you need to remember when making a duplex contract under indigo beta 1, the first is that you can only use one way calls on the contract and you also need to specify the callback contract in the main contract. On the client side to open a call to a duplex…

0

Different types of InstanceModes and ConcurrencyModes inside Indigo

Indigo has five different types of instances modes than be used inside the system.  The default liftetime, if none is specified, is PerCall.  They are: PerCall PrivateSession SharedSession Singleton Well known The PerCall lifetime means that each time a call comes into the system a new instance is created of the service and a new…

0

Creating a custom instance of a Service inside Indigo

 When you setup an Indigo service in the default way, it is not possible to use anything other than the default constructor for creating your object.  There are two ways you can setup a custom object to use as your service instance, the first is to use a well known object as the service when…

0

MaxConnections standard bindings and throttling

Throttling and the standard bindings inside the Indigo CTP allow you to set and control the maximum number of connections coming into the system.  This is only settable on a few of the standard bindings, like NetProfileNamedPipeBinding and NetProfileTcpBinding, however the default value for these is 10.  So if you are using these bindings and…

0