Learn when static methods can’t be unit tested and how to use wrapper classes and the Moq and xUnit frameworks to unit test them when they can When building or working in .NET applications you might ...
Several classes in the .NET Framework Base Class Library (BCL) provide both synchronous and asynchronous method signatures. Because a synchronous method call can create a delay in program flow, an ...
The static keyword in the C# programming language allows you to define static classes and static members. A static class is similar to a class that is both abstract and sealed. The difference between ...
Extension methods provide a great way for extending a class functionality -- but it's interfaces that let you use those methods anywhere you want. Extension methods let you add functionality to an ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
In a previous column, I showed how to create a "Hello, World" application that integrated JavaScript functions and C# Blazor methods. However, my Blazor-world and JavaScript-world code didn't interact ...