Latest Articles

Blazor
ASP.NET Core Blazor WebAssembly – Single-Page Applications mit C# vom 29.07.20 [Webinar]
Single-Page Applications (SPAs): bisher implementierte man sie vornehmlich mit JavaScript oder TypeScript, oft im Rahmen eines SPA Frameworks wie Angular oder React. Mittlerweile können nun durch den WebAssembly-Standard theoretisch beliebige Sprachen genutzt werden. Mit dem…
Christian Weyer
ASP.NET Core
ASP.NET Core Web API-Dokumentation mit Swagger vom 29.04.20 [Webinar]
Recording des ASP.NET Core API-Dokumentations-Webinars Inhalte Warum überhaupt Dokumentation? Wie dokumentiere ich eine ASP.NET Core Web API? Technische Details Was sonst? API Clients & Tests generieren Q&A Demo-Repository: https://github.com/thinktecture/tt-webinar-2020-openapi…
Sebastian Gingter
ASP.NET
ASP.NET Core 3.0 - Custom JsonConverter for the new System.Text.Json
With the introduction of ASP.NET Core 3.0 the default JSON serializer has been changed from Newtonsoft.Json to System.Text.Json. For projects and libraries switching to the new JSON serializer this change means more performance and the opportunity to rewrite our . Serialization…
Pawel Gerr
ASP.NET
ASP.NET Core - Update to Autofac 4.6.1 recommended - more than a bugfix release
If you are using Autofac in your ASP.NET Core application then I recommend to update Autofac to version 4.6.1. This bugfix release brought a change how child scope handle additional registrations so that some errors like just disappear. With additional registrations I mean the…
Pawel Gerr
ASP.NET
ASP.NET Core in production - Graceful shutdown and reacting to aborted requests
In the previous post "ASP.NET Core in production: Take back control of your web app" I mentioned that getting hold if the dependency injection (DI) is just one step of many to improve the architecture of your web applications. Today well will look into 2 other aspects that are…
Pawel Gerr
ASP.NET
ASP.NET Core in production - Take back control of your web app
With ASP.NET Core the setup of a new MVC or a Web API project is essentially a 2-liner. The standard setup you can find in most tutorials is ideal for demos, workshops or simple web apps but is insufficient for complex applications. The standard setup looks as follows: The rest…
Pawel Gerr
ASP.NET
ASP.NET Core - Beware - Singleton may not be singleton
If you register a type as a singleton then you expect just 1 instance of this type in your whole application. What you may not know is that ASP.NET Core is creating 2 instances of during building of the that may lead to 2 instance of your "singleton". This is the case if you…
Pawel Gerr
ASP.NET Core
ASP.NET Core Web API Performance - Throughput for Upload and Download
After working with the new ASP.NET Core server and the for a while in a number of projects I run into some performance issues. Actually, it was a throughput issue. It took me some time to figure out whether it is the server or the client responsible for the problems. And the…
Pawel Gerr
ASP.NET
ASP.NET Core with IIS - Setup Issues
If you are planing to run an ASP.NET Core application with IIS then this blog post might be worth a glance. These are a few issues I run into ... 1. Targets in .xproj-file If the project started with RC1 or earlier version of .NET Core then check for correct targets. Open the…
Pawel Gerr
ASP.NET
(ASP).NET Core Dependecy Injection - Disposing
After several years of using the same Dependency Injection (DI) framework like Autofac you may have a good understanding how your components, implementing the interface IDisposable, are going to be disposed. With the nuget package Microsoft.Extensions.DependencyInjection the new…
Pawel Gerr