Setting up Forms Authentication for multiple Web Apps in MVC 5 based on OWIN

后端 未结 4 1186
我寻月下人不归
我寻月下人不归 2021-02-06 15:07

I am in process of setting up my 1st MVC Web App. I know I need to provide a Forms Based Authentication model as well as I know I will be reusing it for multiple other internal

4条回答
  •  情歌与酒
    2021-02-06 15:38

    If all you are looking for is a common authentication scheme where a user is authenticated by a common database for example, implement an asp.net MVC web service. In this way each web site can consume your authentication service and would be hosted and managed by IIS. Info about web API can be found here http://www.asp.net/web-api/overview. Service is deployed to the web server with the standard publish deeply model in visual studio.

提交回复
热议问题