Version Control With Git: Part 2

In the first part of this discussion on git we went over the fundamental concepts of what version control in general is, and what git’s approach to to version control is. In this post we will take a hands on approach, using the fundamental git commands to walk through the typical workflow of using git.

Continue reading “Version Control With Git: Part 2”

Version Control With Git: Part 1

Version control is a fundamental part of software engineering. Almost every software engineer will need to have an understanding of version control for them to be successful. Version control is used in practically every non-trivial project because it is so important. In this post I’ll start at the beginning and explain some of the reasons why it’s important. Then, I’ll pave the way for the next post by giving a conceptual overview of git, one of the most popular version control systems used today.

Continue reading “Version Control With Git: Part 1”

Ninject Dependency Injection in Azure Service Fabric

This post aims to cover how to set up Ninject as your dependency injector in Microsoft’s Service Fabric. I’ll spin up a new stateless web api in Service Fabric and walk through how to set up your Ninject modules and then have your dependencies loaded when they’re needed.

Continue reading “Ninject Dependency Injection in Azure Service Fabric”

Local MongoDb Setup From Scratch

This post covers how to set up MongoDb on your local machine so you can start writing data to and querying from a database. I’ll be showing this using the C# MongoDb driver just to provide a quick working example of using Mongo in code and showing that records are successfully able to be stored and retrieved at the end of the process. I will also be introducing a nice command line emulator, which makes it easy to start the Mongo server and run commands from the command line.

Continue reading “Local MongoDb Setup From Scratch”

Bootstrapping an AngularJs project

An important but easy to overlook element to building an Angular project is its directory structure and the way you organize its content. The reason it’s easy to overlook is because it doesn’t usually start to have a significant impact until your project has gotten to a large enough size that trying to change its organization becomes a nontrivial undertaking. If you organize your Angular project from the outset, you help to mitigate the risk of having to refactor your project’s structure at a later date when it becomes unwieldy to do so. This post aims to present a way of bootstrapping a new Angular project with a modular and easily extensible structure.

The technologies we’re going to leverage are Node, Gulp and Angular. Node will be used to serve our files, and we’ll also make use of the node package manager (npm) for managing our dependencies. Gulp will be used for executing tasks we’ll create to automate most of the processes involved in building the project. Finally, the Angular framework is the core of what we’ll use to build our web app.

Continue reading “Bootstrapping an AngularJs project”