Tel Map

Jahr: 2016

09.05.2016 | Scala |

Scala Dependency Management with SBT

When you are building applications or libraries in the Scala programming language, you will most likely use a tool like „SBT“ (Scala Build Tool) or „Lightbend Activator“ (which is an extended distribution of SBT) to configure, build and package your project. These… mehr

01.05.2016 | Allgemein |

Introducing Git and GitFlow

Recently one of our customers faced the challenge of fixing a production error in his desktop client application. Using SVN this may be a time consuming and error-prone task. So I held a workshop about Git and GitFlow. Git Our customer’s application is… mehr

19.04.2016 | ASP .NET |

Hangfire Dashboard and ASP .NET 5

This article demonstrates how the Hangfire dashboard can be set up in an ASP .NET 5 application including authentication via ASP .NET Identity. Adding Hangfire Packages project.json:

Since I am using Hangfire with SQL, I have to add Hangfire itself and Hangfire.SqlServer… mehr

11.04.2016 | ASP .NET |

302 Redirect VS 401 Unauthorized – ASP .NET 5 Identity

302 API Redirect Problem If you make a request to a REST service and are not logged in, by default ASP .NET 5 Identity returns a 302 Redirect to login page. This is great if you are visiting the URL of a controller… mehr

04.04.2016 | ASP .NET |

ASP .NET 5 MVC 6 Identity Authentication

In this article I will demonstrate how to restrict controller access to users that have already logged in. In the second part I will show how to do authentication using a REST Controller. Access Restriction In order to restrict access to a Controller… mehr

29.03.2016 | Angular |

Angular2 Http Authentication Interceptor

In my Angular2 application I want to be redirected to the login page whenever I get a 401 response during an Ajax call. Therefore I want to intercept all Ajax calls and check for the response code. In addition to that I… mehr

21.03.2016 | ASP .NET |

ASP .NET 5 Identity with Entity Framework 7 Setup

In this article we will demonstrate how to provide authentication to ASP .NET 5 applications using ASP .NET Identity with Entity Framework 7. Adding Packages Add the following package to your ASP .NET project. This will automatically pull in additional required dependencies… mehr

15.03.2016 | Allgemein |

Using Lombok 1.16 with Netbeans 8.1 and Maven

Project Lombok provides annotations which reduce boilerplate code in Java applications (see Listing 1). The Netbeans IDE supports it almost out-of-the-box. You just have to enable the option „Project Properties > Build > Compiling > Enable Annotation Processing“. However the current version 1.16.8 is not… mehr

14.03.2016 | ASP .NET |

Dependency Injection in ASP .NET 5 MVC 6

With ASP .NET 5 MVC 6 you do not have to rely on external Dependency Injection (DI) libraries any more. It comes with it’s on onboard DI. I will now demonstrate how to set up Dependency Injection for using Entity Framework 7… mehr

07.03.2016 | ASP .NET |

Code First Migrations Entity Framework 7

Create Initial Code First Migration In order to do Code First Migrations, you first have to set up the command dnx ef. Code first means, that you first do database model changes in the Entity Framework database classes and then apply the changes to… mehr