Token Based Authentication in ASP.Net using JWTs Part 1

AJLately, 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”

Codemash 2017 – Session Review 1

Rick HerrmannI 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.

Continue reading “Codemash 2017 – Session Review 1”

Working With git – History Manipulation

Rick HerrmannOne 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

Continue reading “Working With git – History Manipulation”

Meteor.js CodeMash Staff Application

Scott ZischerkNote: If you have interest in checking out the project, you can find it here:
https://github.com/InteractiveBusinessSystems/cm_staff_app

Background

If you’re not familiar with CodeMash, it’s a technology conference hosted at the Kalahari Resort & Indoor Water Park in Sandusky, OH:

CodeMash is a unique event that will educate developers on current practices, methodologies, and technology trends in a variety of platforms and development languages such as Java, .NET, Ruby, Python and PHP.

Continue reading “Meteor.js CodeMash Staff Application”

Working with Git – Cherry Picking Commits

Cherry-Picking

7The perfectly named git cherry-pick command is similar to git merge in that you can copy commits from a different branch into your current branch.  However, where merging will copy all of the commits from the other branch, cherry-pick is useful when you only want to copy specific commits into your branch.

Continue reading “Working with Git – Cherry Picking Commits”

Utilize flowjs as an Angular Directive

Mike BerrymanI’ve been working on an angular project that has a requirement to allow users to upload documents, pictures and videos to the site.  As a part of the upload process, after the user has selected their file, but before it’s actually uploaded to the server, the user needs to supply some metadata about the file.  Being a responsive, highly stylized site, the client didn’t want the standard input control with type=”file”. Instead they wanted the user to click an “Add file”-type button that would pop up the explorer window for the user to pick a file, and then once the file is picked, prompt the user for the required metadata before performing the actual upload.

Continue reading “Utilize flowjs as an Angular Directive”