I have a solution where one project is a web application and another is a web API application. I am using ASP Identity and I need the registered users to be in one place common to both apps. I find that the web site works fine, I can create users and login. However when I try to create users via the web api (from a windows form app) it gives me an Internal Server Error. I know the problem is the web API can not access the DB. How can I direct it to use the DB of the web site?
↧