Table of Contents

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

The Codebelt.Extensions.Xunit.Hosting.AspNetCore.Http.Features 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.Features namespace.

Availability: .NET 9 and .NET 8

Complements: Microsoft.AspNetCore.Http.Features namespace 🔗

Classes

FakeHttpRequestFeature

Represents a way to support some default values for Request context..

FakeHttpResponseFeature

Represents a way to trigger Microsoft.AspNetCore.Http.Features.HttpResponseFeature.OnStarting(System.Func<System.Object, System.Threading.Tasks.Task>, System.Object).