datatables.aspnet
datatables.aspnet copied to clipboard
Failing to work with application/business layer
I am developing an application that uses ASP.NET Boilerplate framework. By default, there is an application layer that maps my appservices as controllers in the Web layer.
In the web layer, I have added services.RegisterDataTables();
.
In the application layer, I am trying to get as input IDataTablesRequest, but I get input is null error.
Thanks in advance
+1
Same issue here.
We are using AspNetBoilerplate - www.aspnetboilerplate.com
And when using IDataTablesRequest, its always null
Bruno
Copy and paste this code https://github.com/ALMMa/datatables.aspnet/blob/master/src/DataTables.AspNet.AspNetCore/DataTablesRequest.cs as a public class in your project. It will work as expected.
On Tue, May 30, 2017 at 12:40 PM, Bruno Bertechini <[email protected]
wrote:
+1
Same issue here.
We are using AspNetBoilerplate - www.aspnetboilerplate.com
And when using IDataTablesRequest, its always null
Bruno
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ALMMa/datatables.aspnet/issues/52#issuecomment-304919509, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJqkK5sQYCl0AZJ-vik6eo4jiDf2G5Wks5r_Dh0gaJpZM4MsQW0 .
I'll keep this open to review this issue when possible. I'll try to make DataTables.AspNet work with AspNet Boilerplate without manual ajustments, if possible.
@vdurante can you show me what code need to make it works?
This was quite some time ago, but I copied this class into my project and just switched it from internal to public https://github.com/ALMMa/datatables.aspnet/blob/master/src/DataTables.AspNet.AspNetCore/DataTablesRequest.cs
On Apr 21, 2018 12:05 PM, "sajasbana" [email protected] wrote:
@vdurante https://github.com/vdurante can you show me what code need to make it works?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ALMMa/datatables.aspnet/issues/52#issuecomment-383303672, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJqkLmZKkkSL7dahmwIvqK5U9NIn5jRks5tq0q9gaJpZM4MsQW0 .