- Loading...
-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.
-
Creating parameterised tests in xUnit with [InlineData], [ClassData], and [MemberData]
In this post I describe how to create parameterised tests using xUnit's [Theory], [InlineData], [ClassData], and [MemberData] attributes.…
-
Fixing the error "Program has more than one entry point defined" for console apps containing xUnit tests
In this post I'll describe how to fix the error "Program has more than one entry point defined" when you try and make a .NET Core test project a console app…
-
Running tests with dotnet xunit using Cake
In this post I show how you can run tests using the xUnit .NET CLI Tool "dotnet xunit" when building projects using Cake, by using the DotNetCoreTool alias.…
-
Creating and editing solution files with the .NET CLI
In this post, I show how to manage sln files with the .NET command line interface (CLI). See how to create sln files, and how to add, edit and list projects…
-
What is the NETStandard.Library metapackage?
In my last post I looked at the Microsoft.AspNetCore metapackage. In this post I take a look at NetStandard.Library, what it contains and what it is for.…
-
Supporting both LTS and Current releases for ASP.NET Core
In this post I discuss approaches to supporting both the current and LTS tracks of .NET Core as a library author.…