ViceSharp.Host
1.1.0
dotnet add package ViceSharp.Host --version 1.1.0
NuGet\Install-Package ViceSharp.Host -Version 1.1.0
<PackageReference Include="ViceSharp.Host" Version="1.1.0" />
<PackageVersion Include="ViceSharp.Host" Version="1.1.0" />
<PackageReference Include="ViceSharp.Host" />
paket add ViceSharp.Host --version 1.1.0
#r "nuget: ViceSharp.Host, 1.1.0"
#:package ViceSharp.Host@1.1.0
#addin nuget:?package=ViceSharp.Host&version=1.1.0
#tool nuget:?package=ViceSharp.Host&version=1.1.0
ViceSharp.Host
The composition boundary of ViceSharp: it owns emulator sessions and exposes them over a versioned gRPC host surface.
What it is
ViceSharp.Host is the hosting layer of ViceSharp, a C#/.NET 10 port of the VICE Commodore 64 emulator. It wires the core, chips, architectures, monitor, and protocol libraries into runnable emulator sessions and owns their lifecycle: media capture, video frames, input, settings, snapshots, and diagnostics. It surfaces these as ASP.NET Core gRPC services (Grpc.AspNetCore with server reflection), so UI shells talk to the host, never to core devices directly.
Install
dotnet add package ViceSharp.Host
Usage
Register the host services and map their gRPC endpoints in an ASP.NET Core app:
using ViceSharp.Host.Services;
builder.Services.AddViceSharpGrpcHost();
var app = builder.Build();
app.MapViceSharpGrpcHost();
app.Run();
AddViceSharpGrpcHost registers IEmulatorHost plus the media, video, input, settings, monitor, snapshot, capture, and diagnostics services and the host-owned emulation worker; MapViceSharpGrpcHost publishes their gRPC endpoints.
Notes
ViceSharp ships no Commodore ROMs. Point VICESHARP_ROM_PATH at a VICE data root (or put x64sc on PATH) so sessions can load KERNAL, BASIC, and character ROMs.
License: GPL-2.0-or-later (derivative of VICE). Part of the ViceSharp project: https://github.com/sharpninja/vice-sharp
| 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. |
-
net10.0
- Grpc.AspNetCore (>= 2.80.0)
- Grpc.AspNetCore.Server.Reflection (>= 2.80.0)
- ViceSharp.Core (>= 1.1.0)
- ViceSharp.Monitor (>= 1.1.0)
- ViceSharp.Protocol (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.