.NET Core comes with tens of good patterns and helpers which are supposed to help developers to create high quality code which is easy to maintain and fast to develop. Numerous tools help us to be more productive but also encourage us to be responsible for our code and developer assets. I’m going to show you how do I solve the problem of managing configuration in .NET Core, including multiple environments, secrets and Docker. App settings First of all: where do we use configuration? Of…Continue Reading “Managing options and secrets in .NET Core and Docker”

The syntactic sugars are helpful features of C# language. We can use using(var tmp = new …()) {} instead of Dispose(), we have common foreach instead of while loop with iterating enumerator, and we have await and async. But think a while… do we really need async word? The world without async Well, let’s look at the basic example of asynchronous method in C#: async Task<int> AccessTheWebAsync() { HttpClient client = new HttpClient(); Task<string> getStringTask = client.GetStringAsync(“http://msdn.microsoft.com”); DoIndependentWork(); string urlContents = await getStringTask; return urlContents.Length; } Await…Continue Reading “Do we really need async?”

The progress of MagicMirror development is still in the early state. It is mostly a set of proofs of concept than a working solution. I’m still waiting for a .NET Core ARM release, so I spend my time on preparing architecture and infrastructure for my project. The thing that needs to be said is how I want to build the mirror. Essentially I take a Venetian mirror or a normal glass with an additional layer that will make the same effect. On the backside, I’ll install a simple…Continue Reading “Magic Mirror – the architecture”

Engineers love the new tools – that’s a fact. New IDE release is kind of Christmast Eve for all developers of a platform. Releasing Visual Studio 2017 is not an exception! It has tens of cool features which are widely described all over the Internet. The problem is, that those tutorials and reviews are all in English and my Visual Studio installed in… a default language of my system – Polish. I can’t get so deep into a idea of translating IDE, so I will…Continue Reading “How to change language in Visual Studio 2017/2019”

Technology is all around us (fuck… it’s so obvious…). We have powerful machines in our pockets, we use computers and internet every minute and humanity would definitely collapse if everything would stop working now. Look at your grandparents or people in their age – even though they use a percent of all what technology gives us today, they feel like in… magic world. Look at yourself You are a developer, right? An engineer. Imagine that someone asks you to build a TV or even a…Continue Reading “Magic Mirror – a mission for 2017”