Thursday, August 19, 2010

Building JSON,XML REST API using WCF services

[ServiceContract]
public interface IFetchChildItems
{
[OperationContract]
[WebInvoke(
Method = "GET",
ResponseFormat = WebMessageFormat,
BodyStyle = WebMessageBodyStyle.Wrapped,
UriTemplate = "{ID}/{Filter}")
]
void DoWork(int ID, string Filter);
}

Posted via email from solution revolution

No comments: