Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Is there an ETA regarding support for the most recent .NET versions? #78

Open
claudiolsmonteiro opened this issue Nov 23, 2021 · 7 comments
Assignees
Labels
enhancement Describes an enhancement or an existing feature question Overall question and help
Milestone

Comments

@claudiolsmonteiro
Copy link

Greetings,

My team recently decided to migrate our solution to Net6.0, but while datatables.aspnet was working fine in .net5 for our use cases, it broke our build and our solution does not start now.

In June you said you were going to start working on the package again, have you made any progress? Can I help in anything?

Best regards,
Cláudio Monteiro

@ALMMa
Copy link
Owner

ALMMa commented Nov 23, 2021

Hey!

No ETA so far. I'm working on v3 and it will natively add .NET 6.0 support but it's still a WIP.
I expect it to be on pre-release between mid December this year, and final/stable early next year.

I'm dealing with internals of serialization, and adding flexibility to override those regarding Newtonsoft X System.Text.Json as well as to remove a lot of the previously reported issues. Still haven't got to 6.0 but I would assume it's related to some of the internals of AspNet Core (this library was built a long time ago) and maybe some side-effects also on model binding.

Do you already have details on the failure? That would help me when I jump into 6.0 to start looking right away :)

@ALMMa ALMMa self-assigned this Nov 24, 2021
@ALMMa ALMMa added enhancement Describes an enhancement or an existing feature question Overall question and help labels Nov 24, 2021
@ALMMa ALMMa added this to the 3.0.0 milestone Nov 24, 2021
@claudiolsmonteiro
Copy link
Author

Thank you for your reply.

I'm not sure if the exception on my project will be of much help.
I created an issue in the aspnetcore repository before being able to narrow it down to datatables.aspnet.

During the project's startup, iisexpress throws an EEFileException if I run Services.AddMvc, Services.AddControllersWithViews or Services.AddRazorPages

Heres a printscreen I took:
image

@ALMMa
Copy link
Owner

ALMMa commented Nov 24, 2021

Got it!

It might be related to the files that are referenced by the old nuget package. Might cause internal conflicts.

I just recently fixed something similar on a private project: after 6.0 one of the cascade dependencies had a breaking change which caused file load exceptions, though it was a different dependency and error.

I'll look into that. Thanks!

@ALMMa
Copy link
Owner

ALMMa commented Dec 20, 2021

Just a quick note that this git a bit delayed from the expectation because I'm also handling errors on DapperExtensions (because we have extension methods to help apply requests straight to DB) and applying the new version caused major issues on code. I'm experimenting, opening issues there and trying to find solutions to submit PRs to help there.

It should not take longer, though. If this keeps on, I'll delay the dapper extensions support and replease an updated preview version of this library only. But I'll try to see if we can combine both, that would be extremely awesome for everyone.

@claudiolsmonteiro
Copy link
Author

Thank you for the update. Looking forward to using the updated version of the library.

@ALMMa
Copy link
Owner

ALMMa commented Feb 5, 2022

Extremely pre-alpha as I'm still hangling some of the leftovers from old projects, and improving the entire flow, validations, consistency and reliability of this project.

  • DataTables.AspNet.Core.3.0.0-preview.18
  • DataTables.AspNet.AspNetCore.3.0.0-preview.18

Important notes

  1. You might need to manually install both Core and AspNetCore packages into your project. This will be resolved later.
  2. Additional parameters is not yet supported. It's there, but might not work entirely. It's something I will work upon later.
  3. Only a very quick and basic test on .NET 6.0 was done so it's not really guaranteed to work. It's a preview/alpha version.

@snap608
Copy link

snap608 commented Apr 20, 2022

Nice to see that there is .Net 6 progress and it works quite well for me. :) The Additional Parameters is the only thing missing for me for real use.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Describes an enhancement or an existing feature question Overall question and help
Projects
None yet
Development

No branches or pull requests

3 participants