One of the things that made me think for some time is “How can I ensure my public REST-API does not change by accident?”. Why With todays IDE’s we have … Continue Reading Ensure public API surface using Approval-Tests
Recently I read the book “Refactoring: Improving the Design of Existing Code (2nd Edition)” by Martin Fowler (here…). A great book I highly recommend. Besides a lot of other useful … Continue Reading Mapping with Dictionary instead Switch
I’ve spent a lot of time exploring these topics over the last months. I hacked in the subway every day and rack ones brain after kids where in bed. I’m … Continue Reading Chapter 8: Conclusion and final words
Drivers Regarding Robert C. Martin, technical subsystems like storage, user-interface, external systems etc. are an implementation detail what should not bleed into your application logic. Put them behind a nice … Continue Reading Chapter 7: Drivers & Data Access
So far we covered the more command/write-side focused use-cases. It was pretty straight forward to implement this in a Clean Architecture fashion. What really got me think for a longer … Continue Reading Chapter 6: Presenters & View-Models
Entities Most interactors call one or more methods on the entities. These entities are the “business objects” and the methods implement the “business logic”. In a event-sourced system the entities … Continue Reading Chapter 5: Entities, Domain Events and Policies
In my architecture the use-case command objects get served by so called Use-Case Interactors. Technically these are MediatR ÌRequestHandler which handle the use-case commands. Interactors orchestrate “the dance of the … Continue Reading Chapter 4: Use-Cases & Interactors
In CA a controller takes input, validates it and convert it to the format best used for the use-cases layer (especially the interactors). This is where I did the compromises … Continue Reading Chapter 3: Controllers
Clean Architecture As I already stated Clean Architecture was the main reason I started this journey. If you are seriously interested in reading more about Clean Architecture I kindly recommend … Continue Reading Chapter 2: Clean Architecture & Domain Driven Design
Last year I’ve read several new books about software development. One of them was the book “Clean Architecture: A Craftsman’s Guide to Software Structure and Design” by Robert C. Martin … Continue Reading My journey in Clean Architecture and Domain Driven Design
If you write an app you probably need a way to store data. If you do it using a SQL Database (eg. SQL-Server) you need a way to change your … Continue Reading Update SQL Database using EF Core and Azure DevOps
I recently moved a build-job for our front-end library over to Azure Pipelines. This build-job builds multiple TypeScript projects where each one produces its own NPM package using the Lerna … Continue Reading Update Azure Pipeline BuildNumber using PowerShell
For a new app I’m writing using ASP.Net MVC Core 2.1, EF Core 2.1 and ASP.Net Identity 2.1 I had to implement the sign-out / log-out functionality. You may ask … Continue Reading Fix sign-out with ASP.Net Identity Core 2.1
I was at a meet-up from the Software Craftsmanship Zürich on the topic of “No estimates QA session” with Vasco Duarte. I read a few things about “No estimates” (aka “NE”) … Continue Reading No estimates
My goal was to have a polyfill.js bundle generated by Webpack 4 that gets inserted into the apps index.html file before any other Javascript as it must load and install … Continue Reading Polyfill, Vendors and App Bundle using Webpack 4
Intro We use React for most of our current web-frontends. For older React Apps we used the MobX (databinding-library for MVVM) and then moved over to Redux. But even with … Continue Reading State-Handling in React apps