Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to NETStandard 2.0 #62

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

gizmohd
Copy link

@gizmohd gizmohd commented May 18, 2018

Migration of codebase to NETStandard 2.0. With some efficency improvements made for file reading and writing to take advantage of the framework

@mperdeck
Copy link
Owner

Thanks for your pull request. Apologies for the delay.

I noticed that in class CsvContext, there is no #if NETSTANDARD to define an async version of the ReadData method, even though in the body there is #if NETSTANDARD to await an async method.

To be honest, I'm not a big fan of coupling the framework (net45 or NETSTANDARD) to the use of async methods. On the other hand, I can see the benefits of async methods. But a lot of code out there is not async and would need a lot of work to make async. So that is a bit of a dilemma.

You may have noticed that I've been neglecting this project for a long time. But your pull request got me thinking of introducing a version 2 which would have these breaking changes:

  • minimum framework is net45 (dropping net35) or NETSTANDARD;
  • all methods are async;
  • replacing column attributes with counterparts from the System.ComponentModel.DataAnnotations namespace;
  • its own site with Github Pages.

@gizmohd
Copy link
Author

gizmohd commented May 26, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants