My Profile Photo

Matthias Lischka

S O F T W A R E   D E V E L O P M E N T

  1. TCR - Test && Commit || Revert

    Yesterday I learned a new game in the Coding Dojo Vienna. It’s an idea from Kent Beck* and an awesome tool to train correct refactoring. …


  2. The unexpected state of AutoMapper Dynamic Map

    I recently noticed some odd behavior of the AutoMapper Dynamic Map feature. Dynamic maps create some unexpected state and each map could influence all following maps in a quite severe way. See for yourself. …


  3. Testing the MediatR Registrations

    Reflection is a powerful tool. IOC and mediator frameworks make strong use of that. However, the power of reflection comes with a big drawback. The code evaluation is moved from the compiletime to the runtime. When the framework tries to resolve a dependency and realizes that some link in the dependency chain is faulty it has to throw a runtime exception. …


  4. Seed Android Room Database with Kotlin

    When you need to add some inital data to you room database you can add a callback to the databaseBuilder and override onCreate. This method will be executed once after the database and all tables are created. …


  5. Jekyll and docker-compose

    Everyday I use docker not only as a tool to ship software in isolated containers but also as a tool for local development. It allows me to play aground with stuff but keep my machine clean at the same time. A little over a year ago I started using docker for my local Microsoft SQL Server. Ever since then I find more and more use for it. The latest utilization of docker in that fashion and a good representation that I want to share is the maintenance of my Jekyll-homepage. …


  6. GitHub Jekyll Theme best practice

    My blog is based on Jekyll, markdown files transformed to static html, hosted on GitHub Pages. I just now changed the theme I use. Thereupon I optimized the way I arrange my repositories around that and want to share my learnings. …


  7. FluentAssertions

    FluentAssertions is a .Net assertion framework that helps you write better tests. Available via NuGet. …


  8. Hello docker-for-windows world

    tldnr: setting up docker-for-windows for the first time. mssql server. This is mere a personal braindump. Easy. Probably will use docker in future to replace local mssql server and for some other things. …


  9. Creative Test Ignoring

    A short list of different ways of ignoring unit tests that I came across so far. Just for fun - no serious content. …


  10. Do not comment. Refactor.

    Whenever I’m tempted to write a comment or I see a colleague writing one I try to find a way to refactor the code to a point where its intend becomes so clear that any additional comment would be redundant. …