@iqworks Information Quality Works, Welcome to Microsoft Q&A,
Which is best, entity framework core in a class library, MVC or Blazor server side
It depends on your situation, and I have the following advice for this:
To use EF core in a class library:
If you want many applications to access your database and do the CRUD opreations, I recommend that you use ef core in a class library.
To use EF core in a MVC project:
If you only have one MVC project and want to do some CRUD operations, meanwhile you are familiar with javascript or you want to use javascript to design your UI, I suggest that you could try to use EF Core in a MVC project.
To use EF core in a Blazor project:
If you want your app to connect to the server and prefer using c# instead of javascript, I recommend that you could try to use EF Core in a Blazor Server.
Hope my advice could help you.
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.