For converting an asmx service to WCF we need to take following steps. Create a .wsdl file from current asmx service, you can do this by typing the service url?wsdl […]
WCF Tutorials
Service Oriented Architecture (SOA)
In this article, we will learn: What is Service Oriented Architecture (SOA)? SOA Myths and Facts SOA Evolution Importance of SOA SOA Framework SOA Principles Difference between SOA and […]
What is WCF Durable Service?
In This aticle, we will understand what is WCF Durable Service? What is WCF Durable Service? HTTP is a stateless protocol. So if we talk about web application, web service […]
Five steps to Test WCF Durable service
This is a continuation to Create WCF Durable Service. Please read it before proceeding. In this article, we will discuss how to test the WCF Durable service. Step 1: Create […]
Five steps to create a WCF Durable service
Step 1: Create a WCF service project Open Visual Studio. From File -> New Project->WCF Service-> Name it as Durable Service. Step 2: Define Interface and Decorate Operation and Service contract
1 2 3 4 5 6 7 8 9 10 11 12 |
[ServiceContract()] public interface ISimpleCalculator { [OperationContract] int Add(int num); [OperationContract] int Subtract(int num); [OperationContract] int Multiply(int num); [OperationContract] void EndPersistence(); } |
[…]
Create a simple WCF service
This post aims to create a WCF service and test it in web client and windows client. This is a step by step flow on creating WCF service. Step 1: […]
WCF – UDP Binding Support
WCF – UDP Binding Support Support for UDP Binding was much awaited in Windows Communication Foundation. Reference books, you may like: Programming WCF Services: Design and Build Maintainable Service-Oriented Systems […]
WCF – Validating WCF Configuration
Validating configuration is another new features in Windows Communication Foundation v4.5. Basically, it can be considered as an enhancement to Visual Studio as well. Previously, config files were not validated […]
Advantages and Disadvantages of hosting WCF service in windows service
Advantages of hosting WCF service in windows service: Windows service runs in background and can start Automatically In case of failure,Windows service can be configured to restart automatically Windows service […]
Advantages and Disadvantages of hosting WCF service in iis
Advantages of Hosting WCF service in iis: No custom code is required to host the service The servicehost directive in .svc file is responsible for creating an instance of Service […]