1

I just got lost with trying to find a suitable way to implement authentication in my MVC project.
I tried to search some good solution from the google. The problem is I don't know how to implement authentication to both MVC and WebAPI. But I found actually there are too many ways of implement authentication in asp.net mvc . Some traditional ways like Windows Authentication, FormAuthentication, even we can use the Basic Authentication. And MVC itself also provide some Authentication Attribute or filter to provide security mechanism. and some others 3rd party authentication framework like OAuth also can do this part of work for us.

So I really don't know what is the best way to implement authentication in my project (Asp.net MVC + Web Api).

Some helpful link so far I just found below:

How to secure an ASP.NET Web API

http://jameschambers.com/2013/11/working-with-iauthenticationfilter-in-the-mvc-5-framework/

Cœur
  • 37,241
  • 25
  • 195
  • 267
Joe.wang
  • 11,537
  • 25
  • 103
  • 180

0 Answers0