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.
Continue reading “Token Based Authentication in ASP.Net using JWTs Part 1”
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.
Continue reading “Mongo String Indexing part 1”