What is the classic way to check if for example a parameter value is
null? If you've developed with C# since a while, you might be familiar with this classic syntax:
WebView2. So, this was just the direction WinUI to Blazor.
But can you also call from the hosted Blazor app into your WinUI app?(more…)
WinUI 3.0 is Microsoft's upcoming UI framework to build modern, native Windows applications.
WinUI is developed open source on https://github.com/microsoft/microsoft-ui-xaml
Last week WinUI 3.0 alpha 2 came out, and Microsoft introduced a
WebView2 control that is based on Microsoft Edge Chromium. That means you can run all the modern, awesome web stuff in that
WebView2 control if you want.
Did you know that you can call Windows 10 WinRT APIs from your WPF and WinForms apps? In this blog post I'll show you how to display toast messages from a WPF application by using the Windows 10 ToastNotificationManager.(more…)
In this blog post, you will learn how to use XAML Islands to host the UWP MapControl in a .NET Core 3 Preview 4 WPF application.
XAML Islands is a technology that allows you to host modern UWP controls in your WPF, Windows Forms, and Win32 applications. You can use for example UWP's InkCanvas or the MapControl, or you can use your custom UWP Controls. This allows you to modernize your apps with Windows 10 features.(more…)
When you write simple properties in C#, like auto properties or readonly properties that have an expression body, always put them on a single line if the code is short enough for a good one-line statement.(more…)
Visual Studio 2019 has many fantastic new features. Some of these features like the new start window make the use of Git in Visual Studio 2019 way easier than in the previous versions. Do you want to learn how to use Git in Visual Studio 2019?
Check out my new Pluralsight course
In my new Pluralsight course Using Git for Source Control in Visual Studio 2019, you will learn how to use Git in Visual Studio 2019 while working on a .NET application in the context of a small team.(more…)