I create a simple wcf service with webhttpbinding as you can see :
[OperationContract]
[WebInvoke(Method = "GET", UriTemplate = "/Data/{data}")]
string GetData(string data);
and the implementation :
public string GetData(string value)
{
return string.Format("You entered: {0}", value);
}
I want to create a custom authorization and authentication about 2 weeks but i can't.i googled a lot ,but i can find authentication for wshttpbinding not webhttpbinding .
My recent question that describe main problem :
My authorize custom function in wcf doesn't execute .Should i define it in webconfig?