locked
WCF JSON Service and URI Template RRS feed

  • Question

  • User-1129879462 posted

    What should be the URITemplate for the following method?

    How do I invoke the method from JQuery?!

     [OperationContract]
            [WebInvoke(
                Method="GET",
                UriTemplate="FireSelectionRule/{ruleName,lists}",
                RequestFormat=WebMessageFormat.Json,
                ResponseFormat=WebMessageFormat.Json,
                BodyStyle=WebMessageBodyStyle.Wrapped
                )
            ]
    public IList<string> FireSelectionRule(string ruleName, Dictionary<stringstring> lists);
    
    Wednesday, November 27, 2013 1:20 AM

Answers

All replies