What is the best place to put ASP.NET MVC FormMembershipProvider

216 Views Asked by At

I have a project using asp.net mvc and form membership provider .

I have a Domain layer ( with Entities , Services , and repositories ) . I also have a UI layer ( with controllers , filters , IoC , ViewModels, views ).

what is the best place to put my FormMembershipProvider ?

1

There are 1 best solutions below

2
On BEST ANSWER

Membership is a concern of your web app not your domain so it should go in the web app (UI layer).