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.
I had the privilege of attending Codemash 2017 again this year. Over the next few weeks I will be writing about the various sessions I attended.
The first is a session entitled ES6 Patterns in the Wild by Joe Morgan (@joesmorgan). The premise was that as developers we can learn a lot from reading other developers’ code, but the talk was specifically about what he has learned about ES6 by doing this.
One of the most powerful features of git is that it gives you the ability to alter the commit history of your repository. This way I can have the best of both worlds by committing often during feature development, but then being able to consolidate all of the commits into a single “unit of work” when the feature is complete. In the case where no new commits have been made to the master branch, the feature branch can be combined into a single commit with:
git checkout master
git merge feature-branch --squash