SveNord / Sve-Blazor-DataTable

MIT License
46 stars 14 forks source link

Implement using external API (server side) #2

Open Ksantacr opened 4 years ago

Ksantacr commented 4 years ago

Hello, I'm using Blazor WASM and .NET API. I'm trying to move WeatherForecastService to API enpoint (with .net core) but It is not clear.

I'd like to don't repeat using System.Linq.Dynamic.Core; in the client blazor because its reference is using for filtering but I want a filter, search, and paging in my API response.

Any suggest to call API from WeatherForecastService?

Thanks

SveNord commented 4 years ago

Hi,

At the moment it's not possible to remove the dependency to System.Linq.Dynamic.Core on the client side, since as you mentioned it is used to generate the expressions for filtering, paging and sorting. I do think it's a good idea to support this type of scenario and will have a look on how to implement this. Any suggestions are welcome.