srkirkland / DataAnnotationsExtensions

Validation extensions for DataAnnotations, including optional MVC client validation implementations
https://dataannotationsextensions.apphb.com/
BSD 3-Clause "New" or "Revised" License
308 stars 86 forks source link

Moving to NetCore? #77

Open airomero opened 7 years ago

airomero commented 7 years ago

Do you have any plan moving to NetCore or NetStandard??

srkirkland commented 7 years ago

@airomero I think I'd like to move to NetStandard & the new version of MVC. Now that .NET Core 2.0 just came out I want to take a look at the new templates and make sure jquery validation and unobtrusive validation is still the recommended way to go and see what additional validators they'd still need

lindeberg commented 6 years ago

How is it going?

egmfrs commented 6 years ago

I'd also like know how it's going

srkirkland commented 6 years ago

Good question -- I've been looking at the templates in VS and the dotnet CLI and it seems like they are still doing jquery validation and unobtrusive so much of the code should transfer fairly easily. Even the data annotations interfaces are really similar.

So now it's just a question of how to convert/overtake the old project, how to handle releasing new versions, and looking into client validation.

I think it's definitely past time that I get around to those things, so expect to see quicker progress starting now.

srkirkland commented 6 years ago

FYI work on .net core support is being done in the dotnetcore branch https://github.com/srkirkland/DataAnnotationsExtensions/tree/dotnetcore.

sandromastronardi commented 4 years ago

Any news on a release of .NET Core/Standard version?

h82258652 commented 3 years ago

Hello, where can I get the .net core/.net standard version nuget package?

srkirkland commented 2 years ago

Hello -- I've taken a deeper look at moving this project to .net core (now it would be .net 6) and ultimately I'm struggling to justify it's effort. At the time I wrote this library, features like EqualTo, type-specific attributes, and common string formats weren't in the core DataAnnotations library. At this point most of these attributes come standard, with the few holdouts really just being glorified Regular Expressions.

I think it's great that DataAnnotations has been able to add many new features, but I think it also means DataAnnotationsExtensions has probably served its purpose. If anyone has some specific cases where this library is needed for something that can't be done otherwise, please let me know. Thanks!

zachrybaker commented 1 year ago

If anyone has some specific cases where this library is needed for something that can't be done otherwise, please let me know. Thanks!

How about being able to just upgrade a large old MVC5 project to MVC7 on .Net7 and move on?