M
M
Mikhail2018-02-01 22:56:30
.NET
Mikhail, 2018-02-01 22:56:30

What is the best way to do authorization in ASP.NET Core 2.0?

Hello. Gradually I learn ASP.NET Core. Here reached the moment with authorization/registration of users. As I understand it, there are two options:
1) "native" implementation through cookies
2) authorization through Identity
I read the manuals for each item and I can't figure out which method is better to use when. Can anyone suggest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
eRKa, 2018-02-01
@kttotto

I recommend taking Identity as a basis. It takes into account many security points that you are unlikely to take into account if you yourself write everything by hand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question