You can use Docker to push packages to a NuGet feed. This blog post shows how to release a NuGet package to Amazon CodeArtifact via Docker. Source code can be found at https://github.com/NikiforovAll/docker-release-container-sample.
Concurrency with TPL is fairly simple. In this blog post, I will reiterate over fundamentals and share with you some common patterns that you could use to compose your solutions. …
We’ll focus on the extensibility points of the C# compiler to customize the behavior of async methods and task-like types. As result, we will be able to write linear, concise, and composable code with the possibility to have control over task scheduling. 🤓
In this blog post, I would like to show you how easy is to publish your docker images to GitHub Container Registry. This topic is relevant because Docker Hub has changed retention limits, so might want to consider other players on the market.
To publish an image to ghcr:
Quite often, in my day-to-day workflow, I want to wrap up some code sections in a well-known code snippet. I hate these moments. Usually, you want to cut and paste some code, and after that formatting goes wrong and all of that 😱. So…
I prefer reading books from cover to cover and taking notes quite frequently. At the same, I tend to have multiple items on my reading list. It feels frustrating to get back to an awesome book and realize I need to revision it all over again. So I decided to…
Introduction to System.IO.Pipelines. See Reference section for stuff you might find useful to delve in.
System.IO.Pipelines is a library that is designed to make it easier to do high-performance IO shipped in .NET Standard 2.1 as a first class BCL API.
Provides programming model to perform high-performance parsing of streaming…
I would share with you something fun. The right way to write interactive documentation — Try .NET. It is an awesome project maintained by Microsoft. It allows you to embed C# code inside your markdown documentation and run it locally. The absolute best way to learn it is to use it. So I encourage you to fork https://github.com/NikiforovAll/intro-to-algorithms and play with it.
All you need to do is to navigate to the root directory and run:
dotnet tool install -g dotnet-trydotnet try
On the demo below you can find an implementation of standard sorting algorithms with C# 8 and
Non-interactive version: https://github.com/NikiforovAll/intro-to-algorithms/blob/master/docs/Sorting.md
Originally published at https://nikiforovall.github.io.
Yes, you might say that blogging about design patterns is boring. But what about an interactive version with live examples and Try .NET? Let’s delve into it.
Defines a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it…