DCSIMG
.NET 3.5 - Gady Elkarif's Blog

Gady Elkarif's Blog

Browse by Tags

All Tags » .NET 3.5 (RSS)
Creating a Syndication Feed with WCF 3.5
Creating a Syndication Feed with WCF 3.5 The WCF 3.5 Syndication API , include rich support of creating and consuming syndicated content. In this post I'm going to create a service , which provides information about articles both in RSS 2.0 and ATOM 1.0 formats. Service Contract The following code described the service contract, which include two methods with the same uri, but different query parameter format ( rss/atom ). [ ServiceContract ] public interface IArticleService { [ OperationContract...
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...