Reputation: 103
I have two WebForm projects built on top of framework 4.7. One application responsible for sign-in /creation of accounts/etc.., another one is CRM. Developers used DB first approach by creating edmx file in both of these projects.
I was asked to build MVC app on top of dotnet core 3.1 that should utilize sign-in application and also it will be using DB for CRM.
So here are at least two areas i try to understand:
Here is projects dependencies:
Dependence from WebForm project to Authentication library is necessary because inside of CRM there is an ability to create aspnet user account.
If you have ideas please let me know. I'm stuck. Thanks!
Upvotes: 0
Views: 228
Reputation: 46
To answer your questions, no a full framework project cannot depend upon a .net core project.
If you have shared code between full framework and .net core projects you should use .net standard libraries, they can be shared across the .net platform.
You can share and use entity framework core code between the full framework and .net core projects by using it in a .net standard library. It is possible to use EF core with the full framework (see https://learn.microsoft.com/en-us/ef/core/platforms/).
Upvotes: 1
Reputation: 103
In the end, we decided to stay in .net 4.7. We will update to .net core, when webforms project will be rewritten.
Upvotes: 0