WebScene.Sdk.Uno
1.0.34
dotnet add package WebScene.Sdk.Uno --version 1.0.34
NuGet\Install-Package WebScene.Sdk.Uno -Version 1.0.34
<PackageReference Include="WebScene.Sdk.Uno" Version="1.0.34" />
<PackageVersion Include="WebScene.Sdk.Uno" Version="1.0.34" />
<PackageReference Include="WebScene.Sdk.Uno" />
paket add WebScene.Sdk.Uno --version 1.0.34
#r "nuget: WebScene.Sdk.Uno, 1.0.34"
#:package WebScene.Sdk.Uno@1.0.34
#addin nuget:?package=WebScene.Sdk.Uno&version=1.0.34
#tool nuget:?package=WebScene.Sdk.Uno&version=1.0.34
WebScene.Sdk.Uno
Subscribe to host.View.JavaScriptException and host.View.RuntimeFailed before
mounting to log page-initiated failures. Console capture remains optional via
host.View.ConsoleMessage. See Runtime diagnostics
for production logging, callback threading and opt-in failure UI.
WebSceneComponentHost is the reusable native Uno Platform host for WebScene
Component Profile 1 packages. It validates the package, runs compatibility
preflight, isolates declared assets behind a per-instance virtual origin,
installs the capability-gated host bridge, and owns mount/unmount/reload.
<Page xmlns:ws="using:WebScene.Sdk.Uno">
<ws:WebSceneComponentHost
x:Name="ComponentHost"
PackagePath="components/ComponentHost.Basic"
NativeLibraryPath="/absolute/path/to/libwebscene_native_engine.dylib" />
</Page>
Register application services before mounting:
ComponentHost.RegisterHostCapability(
new WebSceneDelegateCapabilityHandler(
WebSceneComponentCapabilities.Commands,
(method, arguments, cancellationToken) => HandleCommandAsync(
method, arguments, cancellationToken)));
await ComponentHost.MountAsync();
AutoMount defaults to true and follows the Uno control's loaded lifetime. Use
AutoMount="False" for explicit lifecycle control. StateChanged,
ComponentMounted, ComponentUnmounted, MountFailed, DiagnosticReported,
Diagnostics, and LastException provide host-level observability. The underlying
UnoNativeWebSceneView remains available through View for generated interop,
performance snapshots, and V8 Inspector sessions.
The Uno host requires an Uno Skia desktop target. The native engine path may also be
supplied through WEBSCENE_NATIVE_ENGINE_LIBRARY or by deploying its platform library
beside the application.
| 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
- AngleSharp (>= 1.5.2)
- AngleSharp.Css (>= 1.0.0)
- SkiaSharp (>= 3.119.2)
- SkiaSharp.HarfBuzz (>= 3.119.2)
- Svg.Skia (>= 5.1.1)
- Uno.WinUI (>= 6.5.153)
- Uno.WinUI.Graphics2DSK (>= 6.5.153)
- WebScene.Backend.Uno (>= 1.0.34)
- WebScene.Sdk (>= 1.0.34)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Adds generated ABI 3 codecs for external models, improves cross-platform web-font decoding, caches system-font probes and text shaping, and reduces CSS-variable resize recalculation while preserving dimension inheritance. Fixes detached DOM cleanup after memory-pressure collection and includes cross-platform runtime fixes.