.Net Core

.NET Core with NGINX on Linux

Having .NET Core with NGINX on Linux is easier that you might imagine. In this article I will talk about my experience related to NGINX and what it takes to configure it for the first time. If you come from an IIS/Windows world like me, where you know everything by…

.NET API as a Linux Service

.NET API as a Linux Service is just one of the many options when it comes to hosting. One thing I love about .NET Core is that it runs everywhere. Running .NET APIs as Linux services, allows different organizations to reduce some costs by maybe reusing infrastructure. Before .NET Core,…

Extending EF Core DbContext

Entity Framework allows you to extend the DbContext class to add your own entities, extend existing entities, and customize them at runtime. All of these in a clean and simple manner, if you are willing to do so. It doesn’t even matter if those entities don’t have a table representation. You can do that by leveraging C# partial classes and method.

Worker Service in .Net Core 3.0

What is a Worker Service, what is solves? Sometimes our business scenarios need long-running tasks that run in the background, to watch something or compute something. This kind of scenario was impossible before .Net Core 2.1. A lot of functionalities were ‘ported’ or re-written from the old version, but this…