Tag: C#

Decoupling: Making Your C# Program More Testable

How and Why to Implement Decoupling Classes in Your Code Estimated reading time: 9 minutes 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. Contents How and Why to Implement Decoupling Classes in Your […]

Communicating Passion to a New Generation of Students

Teaching C# at Eastern Washington University Three adjunct professors from IntelliTect continue to teach tomorrow’s engineers industry-standard tooling and languages in the computer science program at Eastern Washington University (EWU). For the past three years, I, along with senior software architects Kevin Bost and Michael Stokesbary, have been teaching computer science at EWU, located just […]

Securing Web APIs in .NET Core 2.2

Microsoft Will Simplify Web API Authentication in a Soon-to-Be-Released Update! UPDATE: Michael Stokesbary spoke at the Spokane .NET Users Group about the now released update. Click here for the video. This week’s release of ASP.NET 2.2 gave us some performance enhancements, ability to do health checks on the application and code analyzers to help you […]

Video: Is Xamarin Forms the Right Choice for Your Next App?

Perks of Using Xamarin Forms Using Xamarin Forms is a quick win according to Kevin Bost, Xamarin certified senior developer at IntelliTect and C# instructor at Eastern Washington University. Xamarin is Microsoft’s platform for building mobile applications. Using a shared C# codebase, developers can build android and IOS apps at the same time using the […]

Interfacing With Multithreading Patterns Prior to TPL and C# 5.0

Legacy Version of C# Multithreading Multithreading patterns are used to address the multithreading complexities of monitoring an asynchronous operation, thread pooling, avoiding deadlocks, and implementing atomicity and synchronization across operations and data access. This is a thorough blog that combs through all you’d need to know about multithreading if you were working in a legacy […]

Using Tuples for Overriding Equality and GetHashCode

Overriding Objects The implementation of Equals() and GetHashCode() used to be complex, but with C# 7.0 Tuples, the actual code is boilerplate. For Equals(): It’s necessary to compare all the contained identifying data structures while avoiding infinite recursion or null reference exceptions. For GetHashCode(): It’s necessary to combine the unique hash code of each of […]