Difference between FormsAuthentication Microst.AspNet.Identity.Owin.SignInManager.to authenticate

前端 未结 3 1822
-上瘾入骨i
-上瘾入骨i 2021-02-04 10:02

The default Project template of ASP.NET MVC comes with a class named Microst.AspNet.Identity.Owin.SignInManager. This class is used to authenticate users

I dont understa

3条回答
  •  不知归路
    2021-02-04 10:53

    Forms Authentication is the old version of the authentication framework for ASP.NET. One really solid reason against using Forms authentication, is that it is deprecated.

    The default template for ASP.NET MVC in the latest version of Visual Studio has an implementation of ASP.NET Identity Framework, hence the use of SignInManager. I believe that one of the main advantages to using ASP.NET Identity this is that it is hostable as OWIN middleware, which means it has no reliance on System.Web and thus no reliance on your web application.

提交回复
热议问题