Command Line Parser on .NET5

If you are used to command-line apps, passing arguments to other apps is a very common task. Yes, you can manually parse those values, but once you have multiple parameters it can be a very error-prone code (which is mostly boilerplate anyway). This seems like a problem that someone else might have fixed already, right? So of course we can find a NuGet library that helps us parse these arguments.

TL;DR: https://github.com/commandlineparser/commandline/wiki

Source: Command Line Parser on .NET5 | Windows Dev

Getting Ready for .NET 6 and .NET MAUI

David Ortinau (@davidortinau) writes:

With .NET 6 previews starting right around the corner, it is time to start getting excited for the new .NET Multi-platform App UI (MAUI) that was announced at BUILD 2020. This year of .NET has a lot of amazing things for client application developers.

.NET MAUI is the evolution of Xamarin.Forms, a cross-platform mobile first framework for Android, iOS, and UWP. Building upon 7 years of experience supporting customers from independent developers to some of the world’s largest companies, we are improving the core of the product, speeding up UI rendering, investing in consistent design systems, and extending from mobile to desktop.

Source: The New .NET Multi-platform App UI | Xamarin Blog

WinUI 3.0 Misconceptions – Nick’s .NET Travels

WinUI 3 is a new, cross-platform UI initiative from MS that has as a goal to separate the UWP UI/Application framework away from Windows.

Recently Nick came across a twitter thread talking about WinUI 3.0 (WinUI3) and how it failed to live up to expectations. Hopefully @JaykeBirdCoding won’t mind him going through his tweets and providing his thoughts. @JaykeBirdCoding!

Summary: You need to look into both Uno and outside the .NET ecosystem if you’re serious about cross platform.

Source: WinUI 3.0 Misconceptions – Nick’s .NET Travels

.NET 5 Networking Improvements

.NET 5 introduces networking features which includes improvements around HTTP, Sockets, networking-related security, and other primitives, such as

  • The ability to distinguish timeouts from cancellations
  • Consistent Cross-Platform Implementation
  • SocketsHttpHandler Extension Points
  • Sync API for HttpClient.Send
  • Multiple Connections with HTTP/2
  • HTTP/2 Configurable Ping
  • Preview of HTTP/3 and QUIC protocol
  • Better Cancellation Support
    … and lots more

Source: .NET 5 Networking Improvements | .NET Blog

.NET 5 Breaking Changes

Breaking changes in .NET 5

The final topic in our .NET 5 Breaking Changes series is WPF and Windows Forms. These desktop technologies were unavailable before .NET Core 3.0, as earlier versions of .NET Core focused on web-based applications via ASP.NET Core.

Source: .NET 5 Breaking Changes for WPF/Windows Forms

See also

First Steps with Blazor – Simple Talk

It is always fun to play with new toys! This article from Julio Sampaio introduces you to Blazor – Web pages done in C#.

Blazor stands for Browser + Razor, which gives you an idea of what’s behind the new framework. Razor is the ASP.NET programming syntax that Microsoft uses to create its C# (or VB.NET) dynamic pages. Now, you can create web applications using only C# and run them in a web browser.

Source: First Steps with Blazor – Simple Talk