Table of Contents

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

Assembly: Cuemon.Extensions.Xunit.Hosting.AspNetCore.dll

The Cuemon.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 8, .NET 7 and .NET 6

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).