DCSIMG
WCF - Gady Elkarif's Blog

Gady Elkarif's Blog

Browse by Tags

All Tags » WCF (RSS)
WCF Quick Start - Designing Service Contracts
WCF Quick Start - Designing Service Contracts The first step in creating WCF service is to define the Service Contract . Each service in WCF consists of endpoints, and each endpoint consists of an address, a binding, and a contract. Contracts of web services consists from set WSDL and XSD documents. In WCF , contract are a set of .NET type definitions annotated with special attributes, which can be turned into a set of WSDL and XSD documents. There are three types of contracts in WCF : Service Contract...
Posted: Apr 17 2008, 04:19 PM by egady | with 3 comment(s)
תגים:, , , ,
HTTP Web Programming with WCF 3.5: Creating a Template based URI
The .NET Framework 3.5 include support for web development using WCF. In this post I will show how to create template based URI and to use them. UriTemplate and UriTemplateMatch types A UriTemplate is composed of two parts: a path and a query. The following examples show valid templates: finance/nasdaq/quote finance/{market}/{quote} finance/* finance/{market}/{quote}?s=MSFT finance/{market}/{quote}?s={ticket} Elemets of the query must consists of pairs: s=MSFT or s={ticket}. The following sample...
Posted: Jan 14 2008, 04:42 PM by egady | with 4 comment(s)
תגים:, ,
Creating Durable Service in WCF 3.5
Creating Durable Services in WCF 3.5 The .NET Framawork 3.5 includes support for WCF durable services, which use the WF persistence model to persist the state of a service. Those services are designed to be durable and long running, and to survive application and server restarts. In this post I will show a way to store the context at the client side. Long Running and Application/Server restarts When the client initiates the conversation with the service, the framework persist the state after the...