UNIT TESTS IN JAVASCRIPT

Create And Use Unit Tests with JavaScript

Unit Tests in JavaScript In this blog post we are going to create a brand-new NodeJS project with Jasmine to run some unit tests with JavaScript. Setup a new NodeJS Project First make sure you have NodeJS installed. You can find the installer and resources here. You can check if the installation was successful by …

Create And Use Unit Tests with JavaScript Read More »

Builder Pattern UML

Builder Design Pattern

Builder Design Pattern In today’s episode of Software Design Patterns you will learn everything about the Builder Design Pattern. The Builder Pattern is also pretty common and widely used. Different from the already covered behavioral pattern Observer, the Builder Pattern is a creational design patterns like Singleton and Factory Method pattern. All the examples, source …

Builder Design Pattern Read More »

Observer UML

Observer Design Pattern

Observer Design Pattern In today’s episode of Software Design Patterns you will learn everything about the Observer Design Pattern. The Observer Pattern is pretty common and widely used. Compared to the already covered creational design patterns like Singleton and Factory Method the Observer is a behavioral pattern. All the examples, source code and unit tests …

Observer Design Pattern Read More »

Factory Method Design Pattern UML

Factory Method Design Pattern

Factory Method Design Pattern In today’s episode of Software Design Patterns you will learn everything about the Factory Method Design Pattern. The Factory Method is a creational pattern. That means that the pattern has something to do with object creation. There are different types of design patterns. The other types are structural and behavioral. Those …

Factory Method Design Pattern Read More »

Custom Exception Handling in .Net Core with a Middleware

For many developers, exceptions and error handling is a pain. It distracts from the application flow. However, it is important for any decent service or application to handle it well. To tackle this problem we will use Custom Exception Handling in this tutorial. ASP.NET Core provides an easy concept for all sorts of extensions and …

Custom Exception Handling in .Net Core with a Middleware Read More »

Using OAuth2 and Open ID Connect in an ASP.NET Core Application

Prologue The source code and a working prototype is available on my Github page. You only have to adapt the appSettings file with your keys. I would also recommend to use OData when providing an API. You can find a guide to achieve this here. Deciding the Authorization Grant Type OAuth2 actually has many different …

Using OAuth2 and Open ID Connect in an ASP.NET Core Application Read More »