Service lifetimes in .NET (singleton, scoped, transient)

Last time I checked the lifetimes of different types of services and want to share with you my findings. Application Having such controller: and such startup (full repo address in the end of post) I queried each endpoint (singleton, scoped, transient) two times. Here are the results: Singleton first request second request Conclusion doesn’t matter […]

Port already in use but nothing in netstat

It was a bug I faced something like year ago, and I didn’t fixed that in the past. This time issue was exactly the same (though app was different). The problem ok let’s check whether anything is blocking the port. Let’s call netstat in cmd with admin rights: there is no service using that port… […]

DevOpsDays 2019 – notes

The end of the year is always full of conferences, isn’t it? 🙂 This time I attended DevOpsDays 2019 organized in Warsaw, Poland. Considering number of attendees (around 200-300) you can say that “DevOps” isn’t a hype word anymore. I will do my best to keep this post as short as possible and give you […]

.NET Developer Days 2019 – notes

A week ago I was on .NET Developer Days conference. There are lot of tips which I would like to share but I will present only a small portion of the key takeyways which subjetively seemed most intersting for me. Don’t hate me for my somewhat short explanation of topics here, the main purpose of […]

Debugging minikube secrets on windows

Lately I was working on implementing liveness probe in one application. During that task I was debugging minikube secrets on windows and checking why it does not work as expected. Process of setting up minikube was a little bit more complicated due to mixed environments in my system (other users were installing minikube and docker […]

9 indispensable rules of debugging

It was pretty long time ago when I read the book: Debugging: The 9 Indispensable Rules for Finding Even the Most Elusive Bugs by David J. Agans, and I am still fascinated how timeless and universal those rules are. As software engineers (and technicians in general) it is our everyday struggle to find the source […]

Useful features of Chrome dev tools

Google chrome dev tools are used by webdevs on a daily basis. I decided to pick its most used and useful features in a short list. Probably you know some/most of them but keep on reading maybe you will find at least one which you did not try. Changing name of file directly in DOM […]

Observables and duplicated request

Problem: Some time ago I was investigating the case where data shown in one dropdown loaded almost 5 seconds. It took unacceptably long time giving that dropdown contained (no to so long) list of names. Where to start? First check – network tab. When modal was opened 4 requests was sent, 2 OPTIONS and 2 […]

Installing RabbitMQ in 4 simple steps

1. Download and install Erlang While ago I spent some time installing RabbitMQ on my machine. Documentation is there but during installation you can face some problems. So to make your life easier I am sharing basic flow setup on Windows 10 system. Go to: https://www.erlang.org/downloads and click the link At first go to place […]

From Delegate to Func

Did you ever think why anonymous functions, lambdas, Func were introduced? Maybe they are somehow connected with each other? If you are interested, read on, I tried to answer this questions below in very concise examples. Delegate In the beginning was the delegate 🙂 Think about delegate as a kind of proxy which will take […]

Scroll to top