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

Support .NET Core, as well as .NET Framework #3

Open
tsahi opened this issue Jan 4, 2020 · 1 comment
Open

Support .NET Core, as well as .NET Framework #3

tsahi opened this issue Jan 4, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed P1 Priority 1

Comments

@tsahi
Copy link
Owner

tsahi commented Jan 4, 2020

Is your feature request related to a problem? Please describe.
Enterprise Library as a whole, and DAAB in particular, were last released in 2013, long before .NET Core was released. As .NET Core is the future of .NET, we should support it. At the same time, .NET Framework is still widely used, and we want any new features to be available to .NET Framework as well.

Describe the solution you'd like
We should refactor the code to a Shared Project, and consume it from a .NET Core and a .NET Framework projects, with the necessary technique (e.g. DI) to accommodate for the differences.

Describe alternatives you've considered
There is a port of EntLib to .NET Core https://github.com/EnterpriseLibrary/data-access-application-block, but it didn't add any new functionality. We may work with them though.

@tsahi tsahi added enhancement New feature or request help wanted Extra attention is needed P1 Priority 1 labels Jan 4, 2020
@tsahi tsahi pinned this issue Jan 4, 2020
@tsahi
Copy link
Owner Author

tsahi commented Jan 13, 2020

The Common block's main function is to provide wrappers around the System.Configuration namespace. But this namespace doesn't exist in .NET Core. Instead, there is the IConfiguration interface, which is much simpler, and might not need any wrappers around it. It could be that in the .NET Core version of the blocks there won't be a dependency on Common, and only the .NET Framework will use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed P1 Priority 1
Projects
None yet
Development

No branches or pull requests

1 participant