Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Problem

which is best for make authentication security using ado.net  or using identity user JWT Security ?

I work on big team working on doing ERP web system using asp.net core 2.1 .

we using Ado.net classes and function and we dont use Entity framework Core 2

we need to to make security to our system but we dont know doing it by

ado.net or identity framework ?

my function needs to done

login

register

forget password

logout

send email 

send sms

I not aware  of identity framework  security so that are using identity framework for security is good practice or using ado.net ?

I ask this question because i dont need after i start on jwt identity framework security discover some feature not exist or some thing stopped me

so that in my case i will remove it and using another option ado.net .

so that I need answer which is used 


What I have tried:

I using Ado.net before but identity framework is more or not ?
i dont be aware of identity security framework
Posted
Updated 6-Aug-19 2:07am

1 solution

I really have a hard time helping you out; as it seems that you really do not have a grasp on security concepts as well as minimal experience with database access.

There is no quick and easy one size fits all answer. Programming is about knowing what the code you are adding into a project actually does and not copy and pasting blocks of code you find in various locations across the internet.
The same goes for asking questions on forums such as this as well as ASP.NET; at least put some effort into it instead of copy & pasting the same question across the web.

Probably the best thing for you to do is to build a completely separate project and then add in a pre-packaged identity provider to learn how it works and what needs to be done to implement it.
Introduction to Identity on ASP.NET Core | Microsoft Docs[^]

After you get it working in your new and simple application; repeat the process.
Build another new application. Add the Identity Provided from scratch.
Document Everything!

Once you are comfortable with this; have a teammate create their own application, give them your documentation and identity provider package, an have them set it up.
Anything you are deploying should be documented and repeatable before you start adding into enterprise packages.

Once the above is worked out and done, then either you or your teammate can add it into the ERP project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900