-
Notifications
You must be signed in to change notification settings - Fork 0
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 #5
Comments
Or compile as .NET Standard 1.4, which is the latest that works with .NET Framework 4.6.1 with no issues. .NET 4.6.1 is still widely used, as it's the standard version coming with Windows Server 2016. we should experiment with a demo project to see how well .NET Framework 4.6.1 and .NET Core consume .NET Standard libraries. We should see if we are lacking API we need in .NET Standard 1.4. |
Need to see if Microsoft.Data.SqlClient (see #7 ) works with .NET Standard 1.4. |
check if nullable types work with .NET Standard 1.4: https://devblogs.microsoft.com/dotnet/embracing-nullable-reference-types/?utm_source=vs_developer_news&utm_medium=referral |
We also need to fork MicrosoftArchive/enterprise-library-common-infrastructure, and convert to .NET Standard, because this project depends on it. It can be useful if we work on other application blocks too. |
correction: we should support .NET Framework 4.6.2, and not 4.6.1. this doesn't change the .NET Standard target. |
My current preference is to use Shared Project. But for that, first I need to fix the unit tests, because too many of them fail. |
most unit tests for the Oracle support in the Data solution don't work, mostly due to referencing non-existent database objects. these will be fixed one at a time, as much as possible. |
At this point, the only tests that don't pass are Oracle tests. These fall into two categories:
it's quite possible that replacing the System.Data.OracleClient implementation with ODP.NET, will solve these issues. This is one of the next things I will check. |
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.
The text was updated successfully, but these errors were encountered: