Category: .Net

LEGACY: Manipulate Threads with System.Threading

Using an older .NET framework? Check out these system.threading tips to directly manipulate threads without the task abstraction. While writing the 7th edition of Essential C# 8.0, I realized that it was time to pull out the content on system.threading- focusing instead on Parallel Extensions (System.Threading.Tasks). Parallel Extensions is generally preferred because it allows you […]

Migrating an Existing Application to ASP.NET Core 3.1 (VIDEO)

Discover how to get from an ASP.NET Core 2.1 project to the newest version of ASP.NET Core 3 in this video from the November 2019 Spokane .NET Users Group meetup. In this talk, I uncover the basic changes required to convert an existing application from ASP.NET Core 2.1 to ASP.NET Core 3.1. After the initial […]

Microsoft Development Technologies Demystified

Watch our free videos for a crash course on current development technologies. Last month, we held an event to provide updates and training on the latest development technologies from Microsoft. We’d like to share the content. Click the links for videos and repos designed to keep you on top of the technology curve. Visual Studio […]

Xamarin.Forms 4 and Its Time-saving New Features (Video)

What’s new and available for mobile applications like Xamarin.Forms 4? Oh, so much! Shell, Hot Reload, Hot Restart and Visual are just four of the new features in Xamarin.Forms 4 that will simplify and drastically reduce development time. Check out my full talk on Xamarin at IntelliTect’s 2019 event. Xamarin is Microsoft’s arm for mobile […]

Essential .NET: .NET Reunified – Microsoft’s Plans for .NET 5 (MSDN)

When Microsoft announced .NET 5 at Microsoft Build 2019 in May, it marked an important step forward for developers working across desktop, Web, mobile, cloud and device platforms. In fact, .NET 5 is that rare platform update that unifies divergent frameworks, reduces code complexity and significantly advances cross-platform reach. This is no small task. Microsoft […]

Decoupling – Making Your C# Program More Testable

 How and Why to Implement Decoupling Classes in Your Code Decoupling is a strategy for writing testable code when dealing with hard-to-test classes and it can be an incredibly powerful tool to help you write clean, effective and bug-free code. What Is Decoupling? Decoupling is a coding strategy that involves taking the key parts of […]

Essential .NET: Parse the Command Line with System.CommandLine (MSDN)

Going all the way back to. NET Framework 1.0, I’ve been astounded that there’s been no simple way for developers to parse the command line of their applications. Applications start execution from the Main method, but the arguments are passed in as an array (string[] args) with no differentiation between which items in the array […]