Related questions
OData and custom WCF WebGet methods
I've created an OData endpoint (using entity framework, WCF data service)
and added a custom test WebGet test method like so:
[WebGet(UriTemplate = "{text}")]
public IQueryable<string> SplitString(string text)
{
if (text == null) throw new DataServiceException("text not …
Return html format on wcf service instead of json or xml
I have the operation contract:
[System.ServiceModel.Web.WebGet( UriTemplate = "c" , BodyStyle = WebMessageBodyStyle.Bare )]
[OperationContract]
string Connect ( );
and I have it implemented as:
public string Connect ( )
{
return "<a href='someLingk' >Some link</a>";
}
when I go …
Invoke a Operation Contract through web browser
Since i am new to WCF and Having configured a WCF service endpoint in IIS at Virtual Directory Api ( url goes like http://localhost/api/taskapi.svc) i was looking for ways to make request through web browser something like …