WCF Binding Types
A WCF Service has three essential things; the Address that has info on where the Service resides, the Binding that has information on how to communicate and use the service and the Contract which defines what the service does. A combination of all this is a WCF Endpoint.
"ABC" is the WCF mantra. "ABC" is the key to understanding how a WCF service endpoint is composed. Think Ernie, Bert, Cookie Monster or Big Bird. Remember "ABC".
Instancing mode is set in WCF Service on the Service Level using the InstanceContextMode Enum which has these values:
Address Header in WCF Service has information which gets sent with every request. It can be used to include any processing logic or routing logic by the end point services.
Let us explain what contracts are in WCF.
Where we can host WCF services?
There are number of hosting options available for WCF Services.
I had to create a Setup Project to be able to deploy the our .Net Application to the SIT environment. Had to decide between the Default Installer that comes with Visual Studio and the Install Shield Limited Edition, which also comes free with Visual Studio 2010. Personally I think Install Shield is better than the default Windows Setup Project that comes with Visual Studio, but for some reason I had to choose the Visual Studio Setup project .
If you develop in .Net using C# and wondered if you can have a tool which will help you in logging, here is a list of tools available. Having a good logging for your application will help you to avoid many headaches. It will help you to troubleshoot when things go wrong. Here are some Logging Tool for C#. Hope you find it useful.
Checking a String value to see if it is Empty or null is something you will come across a lot during your day to day work using C#. There are different ways to doing this check in C#. Basically there are different ways you can do this. String is a reference type so you can check if it is null. Also you can check for an empty string (“”) or check the length of the string and see if it is zero.
How to Check null in C# (C Sharp)