CK.Testing.AspNetServer 23.0.2

dotnet add package CK.Testing.AspNetServer --version 23.0.2
                    
NuGet\Install-Package CK.Testing.AspNetServer -Version 23.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CK.Testing.AspNetServer" Version="23.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CK.Testing.AspNetServer" Version="23.0.2" />
                    
Directory.Packages.props
<PackageReference Include="CK.Testing.AspNetServer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CK.Testing.AspNetServer --version 23.0.2
                    
#r "nuget: CK.Testing.AspNetServer, 23.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CK.Testing.AspNetServer@23.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CK.Testing.AspNetServer&version=23.0.2
                    
Install as a Cake Addin
#tool nuget:?package=CK.Testing.AspNetServer&version=23.0.2
                    
Install as a Cake Tool

Starts a configured ASP.NET Core application on a random port and hands back a running server with a client available on it.

A real server on a real port, not an in-memory test handler - which is what lets a test exercise cookies over the wire. The helper calls CKBuild, so the request monitor and the error guard are in place, and it throws rather than returning a failure.

The client is not a browser and is deliberately minimal: it speaks only HTTP, follows no redirect, and must not be used concurrently. Its cookie handling carries a partial fix for a long-standing CookieContainer path bug. The WebSocket tests build their own host.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CK.Testing.AspNetServer:

Package Downloads
CK.Testing.AspNetServer.Auth

Starts a real ASP.NET Core server with WebFrontAuth already wired, so a test can log in on its first line.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
23.0.2 10 12/1/2026
23.0.1 148 10/8/2026
23.0.0 112 10/7/2026
22.0.0 128 9/25/2026
21.1.1 127 9/23/2026
21.1.0 137 9/20/2026
21.0.4 133 9/11/2026
21.0.3 149 9/4/2026
21.0.2 137 9/1/2026
21.0.1 177 5/28/2026
21.0.0 147 4/21/2026
20.1.1 317 11/28/2025
20.1.0 326 11/14/2025
20.0.0 301 10/7/2025
19.0.1 225 9/27/2025
19.0.0 321 9/11/2025
18.0.0 252 7/4/2025
17.1.0 406 4/10/2025
17.0.1 305 3/19/2025
17.0.0 275 3/17/2025
Loading failed