Do you do threads? If you do, you need to master the appropriate ways to sync data between them.
Choosing the right synchronization mechanisms when working with threads, thread-pools, and I/O Completion ports to create high performance asynchronous servers in C++
Source: Synchronization with Visual C++ and the Windows API – CodeProject
Neat example of what is possible with Blazor!
How to develop a Blazor server application dynamically and generate UI from Entity Framework using open-source Platz.SqlForms including master-details data entry
Source: Microsoft Blazor – Rapid Development with SQL Forms Open-source Platz.SqlForms – CodeProject
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.
Source: Command Line Parser on .NET5 | Windows Dev
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 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
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
Culled from reams of Microsoft documentation, here’s a high-level summary of what’s new for performance, networking, diagnostics and more, along with links to the nitty-gritty details for those wanting to dig in more.
Source: Here’s a One-Stop Shop for .NET 5 Improvements — Visual Studio Magazine
Microsoft have documented design patterns for building reliable, scalable, secure applications in the cloud.
Source: Cloud design patterns – Azure Architecture Center | Microsoft Docs
.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
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
You must be logged in to post a comment.