Category: .NET

Microservices vs. Micro Frontends: What's the Difference?
Microservices vs. Micro Frontends: What’s the Difference?
Blog Posts

In the ever-evolving landscape of software development, two groundbreaking architectural styles, microservices, and micro frontends, have emerged as transformative paradigms. These methodologies have been redefining the way modern applications are built and deployed. Embracing the principles of modularity, scalability, and flexibility, both microservices and micro frontends have become favored choices among development teams worldwide. Whether… READ MORE

Building a gRPC Client in .NET
Building a gRPC Client in .NET
Blog Posts

Introduction In this article, we will take a look at how to create a simple gRPC client with .NET and communicate with a server. This is the final post of the blog series where we talk about building gRPC services. Motivation This is the fifth part of an articles series on gRPC. If you didn’t… READ MORE

Customising ASP.NET
Customising ASP.NET
Ebooks

This chapter looks at how to customise ASP.NET Core Identity. You will learn how to customize the basic implementation of the ASP.NET Core Identity UI and how to add custom information to IdentityUser. The chapter will cover the following points: Introducuing ASP.NEt Core Identity Customizing IdentityUser Customising the Identity Views Purchase the full book here.… READ MORE

What Is Razor - ASP.NET
What Is Razor – ASP.NET
Blog Posts

Razor is a markup syntax that flows seamlessly between Hypertext Markup Language (HTML) and C# and Visual Basic syntax, with C# being the most commonly used. When looking at an ASP.NET solution, Razor files will have extensions of .cshtml, .vbhtml, or .razor. The compiled artifact of Razor is executable code that writes HTML to the HTTP response. The… READ MORE

Why model binding to JObject from a request doesn’t work anymore in ASP.NET Core 3.1 and what’s the alternative ?
Why model binding to JObject from a request doesn’t work anymore in ASP.NET Core 3.1 and what’s the alternative ?
Blog Posts

Introduction Json.Net (NewtonSoft) has been for a long time the most used JSON serializer in .NET world. Since .NET Core 3 and ASP.NET Core 3 Microsoft introduced a new one named System.Text.Json. JObject is a class that belongs to Json.Net (NewtonSoft) and if this latest is replaced by System.Text.Json, in this case you should expect that using JObject will no longer work. Unfortunately I have had… READ MORE

Exploring the code behind IHttpClientFactory in depth
Exploring the code behind IHttpClientFactory in depth
Blog Posts

Exploring the code behind IHttpClientFactory in depth. In this post I take a look at the code in the default implementation of IHttpClientFactory in ASP.NET Core—DefaultHttpClientFactory. We’ll see how it ensures that HttpClient instances created with the factory prevent socket exhaustion, while also ensuring that DNS changes are respected. This post assumes you already have a general idea of IHttpClientFactory and what it’s… READ MORE