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 ...
ASP.NET Core 6 allows us to create APIs that include a bare minimum of files, features, and dependencies. Here’s how to test a minimal Web API. ASP.NET Core 6 introduces a simplified hosting model ...
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 ...
How to unit test view model validation, focusing on the controller when the model is bound to a controller action. Welcome to part 4 in the TDD for ASP.NET MVC series. This time, I'll cover how to ...
Sometimes what you want to test is how your Action method behaves when it's invoked through an AJAX call. Here's how to mock up that call using Moq. In an earlier column on using Moq to create unit ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results