Category: WCF


Generate JSON string output in C#

This is one of the most widely used and very useful script that you could use in your web services/ WCF services/ Handlers or any place wherein you require a JSON string to be passed to the client/ consumer. We make use of the Serialize method in JavaScriptSerializer class in C# under the following namespace: ...


Basic WCF Tutorial for Beginners

I will be explaining a simple WCF service execution, using a sample project (collated from the MSDN Documentation). Lets create a Visual Studio Solution with two console application projects. They are: 1. Service Part - Console Application 2. Client Part - Console Application Let me take you through the Service Part: 1. Create a sample ...