Tel Map

Author: Sebastian Lindner

2016-08-01 | Java |

WildFly 10 with Apache and AJP

This article demonstrates how inbound request from a webserver (Apache) can be proxied to an application server (WildFly 10) using the Apache JServ Protocol (AJP). For more information on what AJP actually is, take a look at https://en.wikipedia.org/wiki/Apache_JServ_Protocol . WildFly 10 Configuration First you have to add… more

2016-06-20 | Angular |

Angular2 with NPM and Webpack

This article demonstrates how to set up an Angular2 project with Webpack. The setup also supports Typescript, Less, CSS packages like Twitter Bootstrap and Fonts e.g. FontAwesome. It describes how to set up all the different plugins, loaders etc. I needed for… more

2016-05-17 | Angular |

Angular2 Release Candidate 1 (RC1) Changes

This article summarizes a couple of changes I encountered during the migration of angular2 beta 17 to angular2 rc1. Angular2 Packages for RC1 Previously angular2 could be pulled in by npm using the following configuration entry in package.json

Now all packages… more

2016-04-19 | 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… more

2016-04-11 | 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… more

2016-04-04 | 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… more

2016-03-29 | 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… more

2016-03-21 | 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… more

2016-03-14 | 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… more

2016-03-07 | 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… more