Compze.Typermedia.Hosting.Testing
0.2.0-alpha
This is a prerelease version of Compze.Typermedia.Hosting.Testing.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Compze.Typermedia.Hosting.Testing --version 0.2.0-alpha
NuGet\Install-Package Compze.Typermedia.Hosting.Testing -Version 0.2.0-alpha
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="Compze.Typermedia.Hosting.Testing" Version="0.2.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.Typermedia.Hosting.Testing" Version="0.2.0-alpha" />
<PackageReference Include="Compze.Typermedia.Hosting.Testing" />
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 Compze.Typermedia.Hosting.Testing --version 0.2.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Compze.Typermedia.Hosting.Testing, 0.2.0-alpha"
#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 Compze.Typermedia.Hosting.Testing@0.2.0-alpha
#: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=Compze.Typermedia.Hosting.Testing&version=0.2.0-alpha&prerelease
#tool nuget:?package=Compze.Typermedia.Hosting.Testing&version=0.2.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Compze.Typermedia.Hosting.Testing
Testing support for Compze Typermedia hosting.
What is Compze?
Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more
What's in this package?
Typermedia's plug-in for the testing endpoint host in Compze.Hosting.Testing, plus a remote test client:
DistributedTypermediaTestingEndpointHostFeature— wires the distributed Typermedia pipeline and transport into every endpoint aTestingEndpointHostregisters.TypermediaTestClient— a remote Typermedia client running in its own container, connecting to an endpoint's typermedia address over HTTP exactly as an external client application would.- Transport test wiring —
CurrentTestsTypermediaTransport()for endpoints,CurrentTestsTypermediaClientTransport()for clients.
Quick start
using var host = TestingEndpointHost.Create(new DistributedTypermediaTestingEndpointHostFeature());
var endpoint = host.RegisterEndpoint("MyEndpoint", endpointId, builder =>
{
builder.RegisterTypermediaHandlers.ForTuery((MyTuery tuery) => HandleTuery(tuery));
});
await host.StartAsync();
await using var client = await TypermediaTestClient.ConnectTo(endpoint.TypermediaAddress!, mapper => mapper.RegisterMyDomainTypeMappings());
var result = client.Navigator.Get(new MyTuery());
Installation
dotnet add package Compze.Typermedia.Hosting.Testing
Related packages
| Package | Description |
|---|---|
| Compze.Hosting.Testing | The testing endpoint host this feature plugs into |
| Compze.Typermedia | The Typermedia navigation model |
| Compze.Typermedia.Hosting.AspNetCore | ASP.NET Core hosting |
License
Apache-2.0
| Product | Versions 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.
-
net10.0
- Compze.Abstractions (>= 0.2.0-alpha)
- Compze.DependencyInjection (>= 0.7.0-alpha)
- Compze.Hosting (>= 0.2.0-alpha)
- Compze.Hosting.Testing (>= 0.2.0-alpha)
- Compze.Internals.SystemCE (>= 0.3.0-internal)
- Compze.Internals.Testing (>= 0.1.0-alpha)
- Compze.Internals.Transport (>= 0.2.0-alpha)
- Compze.Internals.Transport.AspNet (>= 0.2.0-alpha)
- Compze.TypeIdentifiers (>= 0.1.0-alpha)
- Compze.Typermedia (>= 0.2.0-alpha)
- Compze.Typermedia.Client (>= 0.2.0-alpha)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|