Cyber-crime is on the rise, and enterprises must safeguard themselves from data breeches and cyber-attacks so as to retain public trust.
According to a recent survey, demand for cyber-security talent is increasing. In fact, it’s the fastest growing priority for enterprises and IT leaders, up nearly 25% from 2017. Managing operational risks and compliance is increasing as well, no doubt in part to the recent roll out of the General Data Protection Regulation (GDPR).
Lately, I’ve been doing quite a bit of front-end development with the latest version of Angular and that requires token based authentication. So in this article let’s discuss how to create tokens in .Net. I’ll go over setting up tokens in regular .Net, and in a later article, I’ll discuss how to setup tokens in .Net core.
All of the code can be obtained from Github Here.
We have a Mongo Database and in that database we have an ‘items’ collection which has five string fields and a number of ID fields. We’ve added 250k records to this collection and started testing the time it takes to perform various queries on these fields. Simply adding indexes on the ID fields makes those types of queries lightning fast, however, we had a number of issues dealing with various string queries. This is a record of our findings.