04.11.24 – von Marius Schröder
An Adventue in Modern Web Hosting
Recently, we had the chance to dive into Blazor hosting models on .NET 9 to evaluate options for a new web appDon’t worry if you’re still on .NET 8 — the steps here are compatible with .NET 8 as well, but .NET 9 brings some nice WebAssembly enhancements that are worth noting.
Weiterlesen
14.10.24 – von Philipp Bauknecht
Using the Microsoft Information Protection SDK in a containerized .NET app
So if you want to use the Microsoft Information Protection SDK for .NET on a linux host, e.gin Azure App Service or any containerized environment you need to make sure to use the right linux version e.g. Ubuntu 2204 as base image. Here is a quick sample on how to get started with a new ASP.NET Core Web API app.
Weiterlesen
10.10.24 – von Benjamin Abt
Use ServiceCollection in Unit Tests with .NET
A popular unit test — and also a necessary test — is the correct registration of interfaces and their implementation with dependency injectionAnd a common mistake is that the associated IServiceCollection interface is used for mocks that lead to faulty tests.
Weiterlesen