Hola, i have an application that retrieve data from a webservice .asmx.
If i try to create a WebMethod that return an IEnumerable, my webservice return the error, that IEnumerable is not serializable, there's a way to pass the DataSourceRequest to webservice or return an IEnumerable.
This to avoid the ToList() method that make my performance lazy.
Thank you
If i try to create a WebMethod that return an IEnumerable, my webservice return the error, that IEnumerable is not serializable, there's a way to pass the DataSourceRequest to webservice or return an IEnumerable.
This to avoid the ToList() method that make my performance lazy.
Thank you