none
WCF JSON Service return type and arguments RRS feed

  • Question

  • 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 6:21 AM

Answers