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

Think small: Raspberry Pi Pico

A low cost (less than £4), high-performance microcontroller board built around Raspberry Pi’s very own chip – the RP2040.

  • Dual-core ARM Cortex M0+ processor, flexible clock running up to 133 MHz
  • 264kB of SRAM, and 2MB of on-board Flash memory
  • Castellated module allows soldering direct to carrier boards
  • USB 1.1 Host and Device support
  • Low-power sleep and dormant modes
  • Drag & drop programming using mass storage over USB
  • 26 multi-function GPIO pins
  • 2×SPI, 2×I2C, 2×UART, 3×12-bit ADC, 16×controllable PWM channels
  • Accurate clock and timer on-chip
  • Temperature sensor
  • Accelerated floating point libraries on-chip
  • 8×Programmable IO (PIO) state machines for custom peripheral support

Source: Raspberry Pi Pico – Pimoroni

.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