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…)
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…)
Note: There's a MS Dev Show Episode where @ytechie, @carlschweitzer and I are talking about UWP and the Visual Studio Shell built as part of this post. You find it here on www.msdevshow.comUWP is the technology to build native applications for the Windows Platform. But there's still some stuff missing that is required by a typical line-of-business application for the classic desktop: TreeView, DataGrid, Validation, SqlClient and more. Some parts like a DataGrid are available as 3rd-party controls. Other parts like the TreeView are already in development, as you can see in the Windows Dev Platform Backlog. That backlog shows that Microsoft is working on a TreeView, which is awesome! And I'm pretty sure, at some point in the future we'll also get a DataGrid. This was the case for WPF and also for Silverlight. But let's see, the future will tell us and for today we've great 3rd-party DataGrids. But what else is required to build a classic desktop application? (more…)