Posts
A pure client side minimal elastic search solution with VueJs/Quasar
introduction Although seriously simplified thanks to docker, setting up elastic search is a tedious task and requires quite a lot of plumbing in order to integrate it with a single page application.
An example of a such an elastic search can be found here: elastic search sample
Under a specific set of conditions, elastic search functionality can be provided in a much simpler way, purely client side, in the browser.
Posts
Get a CLI inside an aurelia SPA in minutes with aurelia-app-cli
introduction There is a big revival of Command Line Interfaces (CLI). Windows 10 has today an ubuntu bash shell on board, many application development frameworks promote their own CLI.
Also inside a single page application (a SPA), a CLI can be very useful. In this post we we look into the functionality of the aurelia-app-cli plugin. In a later post I’ll dive deeper into the internals of the plugin.
why does my SPA needs a CLI ?
Posts
My favorite software development 'principles'
Introduction Today I felt the need to write down some ‘principles’ based on my experiences in software development of the last years. It’s by no means a full list, so I’ll try to update this post regularly when progressive insight pops up. I separated 3 categories: Coding, requirement gathering and agile methodology.
Coding Code readability Code is read more often than it is written. Therefor, write only readable code. Readable code is not code that demonstrates how smart you are but code written with the genuine intention to be understood by others.
Posts
On the exceptional nature of .Net Exceptions
Exceptions are meant for exceptional circumstances. Non thoughtful usage of exceptions is as evil as using global variables and goto statements.
Basically an exception is an instrument meant for programmers in the sense that a programmer can use it to inform another programmer (or herself) that ‘a bug is in the air’. An exception is not something to be used to inform a user of your software about a certain (failing) condition.
Posts
Making a decent recording with a digital piano without expensive equipment
Introduction I can play the piano but I’m not a sound engineer. Because of that, I never invested in decent sound recording equipment (microphones and stuff). Because I don’t own decent recording equipment I will never learn how to make a decent recording and become a sound engineer. it’s clear, I love playing piano, but I’m not interested in the technical details of making recordings. Recently, I elaborated a very pragmatic and simple process to make a decent recording with a fairly recent digital piano without the need for technical recording equipment.
Posts
Does aurelia-auth support webpack?
##Introduction Yes is does. ##why webpack? I like the simplicity of webpack and it seems to load faster than jspm. Webpack doesn’t rely on jspm, nor for the package management, nor for the module loading. ##aurelia-auth on npm is called aurelia-auth.
https://www.npmjs.com/package/aurelia-auth
##how to use it? I’m using webpack already in my “asp.net core - aurelia - identity server - docker” sample on github.
Jump in the sources and it will become cristal clear: https://github.
Posts
How does aurelia-auth support multiple endpoints?
##Introduction I sometimes get the question if aurelia-auth does support multiple endpoints. Sometimes more degrees of freedom are required when it comes to http configuration. My solution for this, is ‘close to the metal’ but promises 100% degrees of freedom.
Let’s demistify things. Watch carefully !
##How does aurelia-auth augment the Http Client?
Well, it’s import to have a clear understanding how exactly the default Http Client is augemented by aurelia-auth and that we have the full freedom to use your own custom logic as well.
Posts
Support for Fetch client in the aurelia-auth plugin
Introduction In aurelia, there are currently two options for http backend communication: aurelia-fetch-client and aurelia-http-client. The preferred option is to use the Fetch client since is based on a real standard.
In the aurelia-auth plugin, some kind of http configuration needs to be done, namely the injection of the JWT token in each ‘authenticated’ request. By doing so, you don’t need to worry about this when sending a particular http request to your backend, the aurelia-auth plugin will automatically take the JWT token from the browser storage and add it to the http request message.
Posts
Using sqlite3 inside an aspnet5 docker image as web api persistence store.
introduction In my previous post I used an in memory database as “persistence” for the web api service. That’s of course not a viable option. In this article I’ll explain how you can update the aspnet docker image in such a way you can use sqlite3. But let’s first check why you would want to use sqlite?
why sqlite? For occasion you don’t want or need a full sql server. So, for demo or test purposes.
Posts
Running a asp.net 5 web api side by side on windows and linux
Introduction In a previous series of two articles I described a sample web api making use of Owin and deployed everything on linux inside a docker instance. Microsoft is doing a great effort in bringing .Net to the next level by allowing to run .Net on the 3 major OS platforms. What is new in this post compared to the original articles mentioned above is the fact that today we can make make use of 3 new tools: DNVM, DNX and DNU to give cross platform deployment a better experience.