Build Stuff 2018 has ended
Back To Schedule
Wednesday, November 14 • 3:00pm - 3:50pm
[SLIDES]Hannes Lowette @hannes_lowette - Build software like a bag of marbles, not a castle of LEGO

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
If you have ever played with Lego, you will know that adding, removing or changing features of a completed castle isn’t as easy as it seems. You will have to deconstruct large parts to get to where you want to be, to build it all up again afterwards. Unfortunately, our software is often built the same way. Wouldn’t it be better if our software behaved like a bag of marbles? So you can just add, remove or replace them at will?
Most of us have taken different approaches to building software: a big monolith, a collection of services, a bus architecture, etc. But whatever your large scale architecture is, at the granular level (a single service or host), you will probably still end up with tightly couple code. Adding functionality means making changes to every layer, service or component involved. It gets even harder if you want to enable or disable features for certain deployments: you’ll need to wrap code in feature flags, write custom DB migration scripts, etc. There has to be a better way!

So what if you think of functionality as loose feature assemblies? We can construct our code in such a way that adding a feature is as simple as adding the assembly to your deployment, and removing it is done by just deleting the file. We would open the door for so many scenarios!
In this talk, I will explain how to tackle the following parts of your application to achieve this goal: WebAPI, Entity Framework, Onion Architecture, IoC and database migrations. And most of all, when you would want to do this. Because… ‘it depends’.



Competence Coach, AXXES
Hannes is a developer, a coach and a father of 3.In his role as a .NET consultant at Axxes, he likes performance, databases, distributed systems and large scale apps. But most of all, he likes playing devil’s advocate in technical discussions by playing the ‘it depends’ card... Read More →

Wednesday November 14, 2018 3:00pm - 3:50pm EET
3. Garage