I love .net core. It is an awesome concept and a great, light framework to work with. One essential part of the framework environment is a .Net Core CLI. It’s a set of cross-platform tools and commands that can create, build and publish you app. Along with the platform comes also Global Tools, a concept… Continue reading .Net Core Global Tools – your custom app from nuget package
A .Net Core is a catchphrase that you can hear more and more often in both developer discussions and job offers. You probably already heard that it’s fast, simple and runs on multiple platforms. In this post, I’d like to sum everything up and highlight what I like the most about it. Why new framework?… Continue reading .Net Core – introduction
This is a post on a series about great code review feedback, that I either gave or received. You can go ahead and read the previous ones here: http://www.michalbialecki.com/2019/06/21/code-reviews/ The context Caching is an inseparable part of ASP.net applications. It is the mechanism that makes our web pages loading blazing fast with a very little… Continue reading Code review #4 – in-memory caching
Unit test are crucial part in software development process. In late 1990s Kent Beck stated that writing tests is the most important part of writing software in ExtremeProgramming metodology. You can read a bit more about it in Martins Fowler article. This is a part of a series of articles about writing a perfect console… Continue reading Perfect console application in .net Core: add unit tests
It may seem that when creating a console application we are doomed to use statics all over the code. Well.. we’re not! I’ll show you how to set up dependency injection and use it. This is a part of a series of articles about writing a perfect console application in .net core 2. Feel free… Continue reading Perfect console application in .net Core: set up dependency injection
This is one of the proof of concent that I did at work. The idea was to add another Service Bus application to an existing solution, instead of starting a whole new micro-service. It was a lot faster just to add another .net core console application, but setting up Service Fabric cluster always brings some unexpected… Continue reading Receive Service Bus messages in Service Fabric
Imagine you are a Junior .Net Developer and you just started your development career. You got your first job and you are given a task – write unit tests! Nothing to worry about, since you got me. I’ll show you how things are done and what are the best practices to follow. Introduction Writing unit… Continue reading Writing unit tests with NUnit and NSubstitute
I recently was developing a console application in .net core, where I had to use log4net logging. In the standard asp.net core approach we can use:
public void Configure(IApplicationBuilder app, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory)
But this is .net core console application, where I’m creating LoggerFactory on my own, so it would not work. In order to solve it, I had to implement… Continue reading Adding a log4Net provider in .net core console app
Recently I’m diving into Microsoft actor model implementation – Service Fabric Reliable Actors. Apart from Microsoft Orleans, is another one worth looking into. Let’s start from the beginning. What is Service Fabric? It is many things and can be compared to Kubernetes: Simplify microservices development and application lifecycle management Reliably scale and orchestrate containers and… Continue reading Service Fabric Reliable Actors – is it faster then a regular micro-service approach?
Microsoft Orleans is a developer-friendly framework for building distributed, high-scale computing applications. It does not require from developer to implement concurrency and data storage model. It requires developer to use predefined code blocks and enforces application to be build in a certain way. As a result Microsoft Orleans empowers developer with a framework with an… Continue reading Microsoft Orleans – is it fast?