Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello.

I wonder how to use Identity ASP.NET on a n-tier design.

I have a DLL that provides all the business logic, except authentication and authorization.

I would like to implement it using ASP.NET Identity, but I'm finding it difficult to expose the classes of this DLL to the MVC design.

If you can name any example or reading material, this would be very welcome.

Thank you.
Posted

1 solution

This is generally done by hosting OWIN files in another virtual directory and exposing these services either through WCF or WebApi.
In this case, you want to integrate authentication into the business dll and so you will need to find a mechanism to host the dll as a service.

I'm not aware of any other way, maybe some other answer can help.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900