I have a class used with a WCF service.
Interface defined
[WebGet(ResponseFormat = WebMessageFormat.Json,
UriTemplate = "GetMyStuff/?p={param}",
BodyStyle = WebMessageBodyStyle.Bare)]
MyResponseObject MyMethod(string param);
Among it's properties I had
public bool IsDecorated {
get {
return !String.IsNullOrEmpty(Decoration);
}
}
resulting request refused to load.
After I added a
set { }
it worked.
Any piece of a clue?