Author: bryanfok | Posted on: 6/23/2010 11:21:15 PM | Views : 250

Hi all


I am new to WCF. I am tring to use extjs grid in my asp.net application. this grid will pass two parameters to my WCF for paging purpose.
My problem is that I could not read those two parameters from my WCF service. Could you please help reconfigure my WCF?


This is my WCF:
[OperationContract] [WebInvoke(Method = "*", BodyStyle = WebMessageBodyStyle.Bare, ResponseFormat = WebMessageFormat.Json, UriTemplate = "GetAll?start={start}&limit={limit}")] [PrincipalPermission(SecurityAction.Demand, Authenticated=true)] public JSONclass<CompanyDTO[]> GetAll(int start, int limit) { JSONclass<CompanyDTO[]> returnData = new JSONclass<CompanyDTO[]>(); List<CompanyDTO> data = com.GetCompanies().Select(p => new CompanyDTO { CompanyName = p.CompanyName, ID = p.ID ...

Go to the complete details ...