Working with .NET Standard is a pleasure. It’s fun, it’s short, it’s amazingly readable and concise. As a developer, I would like to work only with .NET Core or .NET Standard code. However, sometimes you need to support the old .Net Framework as well. How to create a NuGet package, that can be used by… Continue reading How to create a NuGet package targeting multiple frameworks
Category: Uncategorized
What I learned from $2500 Udi Dahan course
Around the beginning of April 2020 Udi Dahan, owner of Particular Software, released his course in a form of online videos, for free. The big deal is that Udi is one of the world’s foremost experts on Service-Oriented Architecture, Distributed Systems, and Domain-Driven Design. This was a trigger for me and my whole team to… Continue reading What I learned from $2500 Udi Dahan course
ASP.NET Core in .NET 5 – sending a request
Sending a request in ASP.NET Core in .NET 5 is a standard operation that can be achieved pretty easily. However, details matter in this case and I’ll show you the best practice available. We will also take a look at some advanced features to get the full scope. Using a real available API In this… Continue reading ASP.NET Core in .NET 5 – sending a request
ASP.NET Core in .NET 5 – pass parameters to actions
Passing parameters to actions is an essential part of building RESTful Web API. ASP.NET Core released as a part of .NET 5 offers multiple ways to pass parameters to methods, that represent your endpoints. Let’s see what they are. Pass parameter as a part of an URL When passing a parameter in a URL, you… Continue reading ASP.NET Core in .NET 5 – pass parameters to actions
Set up a SQL Server in a docker container
You might wonder, why would I do need to create a docker image with SQL Server? If I were to set up the infrastructure for test or production environment, I would set up a SQL Server in Azure. To automate this process I would follow infrastructure as a code a pattern, creating terraform script and… Continue reading Set up a SQL Server in a docker container
OData as a flexible data feed for React search
In this post, I’d like to show you a scenario, where OData makes perfect sense. This will be a React application with .Net Core 3.1 back-end with just a single endpoint serving filtered results. What is OData OData is a convention of building REST-ful interfaces, that define how resources should be exposed and how should… Continue reading OData as a flexible data feed for React search
Entity Framework Core health check
Health check are important, both of our selves, but also of ourrrrr micro-services. This is something I came across lately – a health check of your connection to a database via EF Core context. Let’s check this out! To add a health check to EF Core you need a project: WebAPI with .Net Core, I’m… Continue reading Entity Framework Core health check
12 things you need to know about .Net Core
.Net Core is an exciting framework to work with and if you’re wondering what is this fuss about, I’ll explain everything in just 12 statements. Let’s not wait anymore and start! 1. .Net Core is a completely new framework .Net Framework and .Net Core are completely separate frameworks. But why Microsoft decided to create something… Continue reading 12 things you need to know about .Net Core
Pimp your repo with GitHub Actions!
Do you have a GitHub account with a repository? Improve it with GitHub Actions! GitHub Actions lets you build your own workflows triggered by all kinds of events from your repositories. If you go and check this website, it looks very promising. Let’s start with a build To start working with GitHub Actions, just go… Continue reading Pimp your repo with GitHub Actions!
ASP.Net Core 3 – configuration
In this chapter, we will cover how we can use configuration in ASP.Net Core 3. But before diving in, let’s see for a moment how it looked in plain old ASP.Net Configuration before .Net Core In old ASP.Net configuration was handled typically in only one XML file – Web.config. It was a place where everything… Continue reading ASP.Net Core 3 – configuration