Implementing a Basic Hello World WCF Service

0

Category :

  • A WCF Service is a class library, which defines one or more WCF service interface contracts
  • The System.ServiceModel assembly is referenced by all of the WCF Service projects
  • The implementations of a WCF Service are just regular C# classes
  • A WCF Service must be hosted in a hosting application
  • Visual Studio 2010 has a built-in hosting application for WCF Services, which is called ASP.NET Development Server
  • A client application uses a proxy to communicate with WCF Services
  • A configuration file can be used to specify settings for WCF Services

Endpoint

Imagine that you are trying to send a birthday gift to someone. What information you need? The first and the foremost is the address, where the gift needs to be delivered. And the second one is how wiil the gift be transmitted? By train or bus? And the last one you must know what is the content you are transmitting. What type of goods is it?

The ABC of Windows Communication Foundation

  • "A" - stands for Address: Where is the service?
  • "B" - stands for Binding: How do I talk to the service?
  • "C" - stands for Contract: What can the service do for me?

 http://www.codeproject.com/Articles/97204/Implementing-a-Basic-Hello-World-WCF-Service
http://www.c-sharpcorner.com/UploadFile/rkartikcsharp/abc-of-wcf/

0 comments:

Post a Comment