Esatto.Win32.HVSocket.KestrelListener
3.0.22
dotnet add package Esatto.Win32.HVSocket.KestrelListener --version 3.0.22
NuGet\Install-Package Esatto.Win32.HVSocket.KestrelListener -Version 3.0.22
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="Esatto.Win32.HVSocket.KestrelListener" Version="3.0.22" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Esatto.Win32.HVSocket.KestrelListener" Version="3.0.22" />
<PackageReference Include="Esatto.Win32.HVSocket.KestrelListener" />
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 Esatto.Win32.HVSocket.KestrelListener --version 3.0.22
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Esatto.Win32.HVSocket.KestrelListener, 3.0.22"
#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 Esatto.Win32.HVSocket.KestrelListener@3.0.22
#: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=Esatto.Win32.HVSocket.KestrelListener&version=3.0.22
#tool nuget:?package=Esatto.Win32.HVSocket.KestrelListener&version=3.0.22
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Esatto Hyper V Kestrel Listener
Provides a binding and transport to allow HyperV communication across VM boundaries without network connections using Hyper-V Sockets.
Example Server (running on guest or hypervisor):
using Esatto.Win32.HVSocket;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddHyperVSocketListener(Guid.Parse("C7240163-6E2B-4466-9E41-FF74E7F0DE47"));
var app = builder.Build();
// Example Minimal API route
app.MapGet("/", () => "Hello!");
app.Run();
Notes:
- Replace
C7240163-6E2B-4466-9E41-FF74E7F0DE47with the service ID you register in the registry (see Example Hypervisor Service Registration.reg). When developing a new app, the service ID should be unique and generated specifically for that application.- Register your service ID in the hypervisor registry
- Enable "Guest Services" in the VM settings under "Integration Services"
- See Esatto.Win32.HVSocket.HttpClient for the client side of this server.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-windows7.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.