How to use autofac to register DbContext (windows form project)

Alvin Bernardo 51 Reputation points
2021-10-17T06:36:22.667+00:00

Hi I have a windows form application project (.net 5), I want to implement Repository Pattern in my project and I want to how asp.net core web app register the DbContext and some services in my windows form application. Is it possible ?

All reply are really much appreciated

Developer technologies | Windows Forms
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.