Search code examples
c#asp.net-web-apiasp.net-identityn-tier-architecture

Identity in n tier application


I'm building n tier application

I have:

myapp.Business //for business logic

myapp.Data // for data acess and repositories

myapp.webApi // for web api

myapp.web // for front (angular)

I want to use Identity

my question is that: Where it should be placed? in WebApi or in business? Wheren should I install that nuget packages, where should be placed Startup and IdentityConfig class?


Solution

  • I think it would be better place Identity where stays Login page