Blog Archives

WCF – Including XML Attributes in Your DataContract

RESTful web services must include hypertext within their resource representations to fulfill the HATEOAS constraint.1 XML attributes within a <link> element have become a standard part of this hypertext. The Atom Publishing Protocol is considered to be quite RESTful2 and

Tagged with: , ,
Posted in WCF

WCF – Removing .svc from RESTful URIs

Addressability is one of the four properties of Resource-Oriented Architectures. An application is addressable if it exposes the interesting aspects of its data set through resources. And resources are exposed through their unique URIs.1 By default, the endpoints of an

Tagged with: , ,
Posted in REST, WCF, Web Services

WCF- Changing Data Contract Names and Namespaces

When posting XML data to a Windows Communication Foundation (WCF) web service1, you need to specify the XML namespace of the data sent in the entity-body of your HTTP POST. This lets WCF know how to deserialize the input you’ve

Tagged with: , , ,
Posted in WCF, Web Services

Creating RESTful WCF Web Services Using Visual Studio 2010

Representational State Transfer (REST) is an architectural style used to build distributed systems. First proposed in 2000 by Roy Thomas Fielding in his doctoral dissertation “Architectural Styles and the Design of Network-based Software Architectures”, REST is now, or will soon

Tagged with: ,
Posted in REST, WCF, Web Services
Advertisement