Top 5 new features of C# 8 (My take)

C# 8 was recently released with .Net Core 3.0. These two were released simultaneously in .Net Conf 2019. There are a lot of new features are released as a part of C# 8. Some of them are very interesting. Whereas some not so. C# 8 Top 5 Features Below are the 5 features, which stands … Read more

Microservice resilience – Circuit Breaker using polly in .Net Core

In a microservices environment, usually, multiple services talk to each other either. Some cases through HTTP calls, whereas in other cases using an event bus or queues. Circuit Breaker is an important pattern which helps to make microservices more resilient in these communication patterns. When services communicate with each other through HTTP calls, there is … Read more

Auto retry with Polly

Building distributed and micro-services is incomplete without the implementation of Circuit breaker and auto-retry. This post takes a stab on Auto retry with Poly. While building microservices and distributed systems, usually multiple services talk to each other. In some cases through reactive channels, like a stream or queue. For other cases through HTTP calls. In … Read more

NLog with Splunk in Docker

Logging is a crucial part of any application. In this blog, I will walk through using NLog and Splunk for application logging. Traditionally we used to use file-based logging. But with container-based application saving logs to a file is not a good strategy. In enterprise, there is the use of log collectors, which is provided … Read more

Using Memcached as Distributed Cache in .NET Core

Using a distributed cache is key for building a high performant distributed system. Most of the time going to a distributed in-memory cache is better than hitting a centralized database. However, there are multiple options to choose from. But arguably the most popular ones are Memcached and Redis. In this post, I will explore using … Read more

Autofac as IoC Container for .NET Core

In my last blog post https://dotnetcorecentral.com/blog/dependency-injection-in-net-core-console-application/, I have explored using Dependency Injection in .NET Core console application. But, in this blog post, I will explore using Autofac as the Dependency Injection container for .NET Core Console application. What is Autofac Autofac is an Inversion Of Control (IoC) container for .NET Framework and .NET Core. I … Read more

Dependency Injection in .NET Core Console Application

In this blog post, I will write about Dependency Injection in .NET Core Console Application. I will start from where I left in my last blog https://dotnetcorecentral.com/blog/docker-running-background-thread/. What is Dependency Injection? In Dependency Injection, dependencies of an object are sent from outside. Meaning, the dependencies of an object are not created inside of the class. … Read more

Docker running background thread

Welcome back to .NET Core Central. Today I am going to pick up the application I build in the last blog: https://dotnetcorecentral.com/blog/docker-container-for-net-core/. I will update the application to demonstrate docker running background thread in a .NET Core console application. Problem statement for Docker running a background thread If we create a project which runs a … Read more

Docker Container for .NET Core

Welcome back to .NET Core Central. Today I am going to write an introductory blog on docker containers. In this blog, I will create a sample .NET Core Console application and run in docker. Very basic implementation with just a Console.Write statement. In my future blogs, I will dig deeper into some complex implementation and … Read more

NUnit – Unit Testing in .Net Core

When doing the YouTube video for the last blog https://dotnetcorecentral.com/blog/sqlite-for-unit-testing-in-net-core/, I mentioned that I might do a post in NUnit. Hence, here it is, an introduction to NUnit as I dig through some of the features. What is NUnit? NUnit is a unit testing framework for .Net. It is probably the most popular unit testing … Read more