Creating Windows applications, UI controls are bound to the UI thread. .NET made it to different iterations with different patterns dealing with asynchronous programming. .NET 4.0 introduced the Task Parallel Library (TPL) and C# 5 added the async and await keywords. Together with these enhancements of .NET, and the synchronization context, invoking methods that make use of different threads has becoming a lot easier. Continue reading What’s the SynchronizationContext used for?
The new edition of my book is available – covering .NET, C#, WinUI, ASP.NET Core, EF Core, and more! Compared to the previous edition, it not only covers the newest editions of C# and .NET, you don’t have to carry a book with 1500 pages – the number of pages have been reduced – but I made sure that all the important topics are covered, you shouldn’t miss anything important topics needed to develop applications with .NET, C#, and Microsoft Azure. Continue reading Professional C# and .NET – 2021 Edition
This Microsoft Build 2020 conference was very different from all the previous ones as a digital experience event because of the COVID-19 Coronavirus. Microsoft made it a great experience – with announcements on Microsoft Azure, .NET 5, Windows, and more.
Here’s my view with a summary of announcements. Continue reading Microsoft Build 2020 – Highlights
This time the Thrive Conference in Slovenia celebrates 10 years! This time the conference is located in Postojna, at a … Continue reading .NET Core at the Thrive Conference in Slovenia
UWP controls can be used in WPF applications using XAML islands. Continue reading Desktop Applications with XAML. Part 3: XAML Islands
With the article series I try to explain what the options are – and how you can decide to chose your best way going forward creating desktop applications with XAML and C#. Continue reading Desktop Applications with XAML. Part 1: UWP
The DI container Microsoft.Extensions.DependencyInjection disposes registered services automatically. It’s just the question when the dispose takes place. Automatic dispose of transient and scoped services happen at the end of a scope. With ASP.NET Core applications, scopes are created with every HTTP request – after the request, services are disposed. This article shows creating and using DI scopes with XAML-based applications. Continue reading Disposing Injected Services (or: Using Dependency Injection Scopes)
Seeing that the TextBox in focus doesn’t update the bound object? The reason might be that the focus is not … Continue reading Binding to Source Updates not happening with TextBox and AppBarButton
My book Professional C# 7 and .NET Core 2.0 contains a sample to show different cultures and their information in … Continue reading TreeView Control with Windows Apps