Table of Contents

Namespace Codebelt.Extensions.Xunit.Hosting.AspNetCore.Http

The Codebelt.Extensions.Xunit.Hosting.AspNetCore.Http namespace contains types that provides a uniform way of doing unit testing that depends on ASP.NET Core and used in conjunction with Microsoft Dependency Injection. The namespace relates to the Microsoft.AspNetCore.Http namespace.

Availability: .NET 9 and .NET 8

Complements: Microsoft.AspNetCore.Http namespace 🔗

Classes

FakeHttpContextAccessor

Provides a unit test implementation of Microsoft.AspNetCore.Http.IHttpContextAccessor.