UltralightNet.Bundle
2.1.0
See the version list below for details.
dotnet add package UltralightNet.Bundle --version 2.1.0
NuGet\Install-Package UltralightNet.Bundle -Version 2.1.0
<PackageReference Include="UltralightNet.Bundle" Version="2.1.0" />
<PackageVersion Include="UltralightNet.Bundle" Version="2.1.0" />
<PackageReference Include="UltralightNet.Bundle" />
paket add UltralightNet.Bundle --version 2.1.0
#r "nuget: UltralightNet.Bundle, 2.1.0"
#:package UltralightNet.Bundle@2.1.0
#addin nuget:?package=UltralightNet.Bundle&version=2.1.0
#tool nuget:?package=UltralightNet.Bundle&version=2.1.0
UltralightNet.Bundle
A single-package .NET binding for the Ultralight HTML rendering engine.
This package bundles everything needed to embed Ultralight in a .NET application:
UltralightNet- managed bindings for the Ultralight C APIUltralightNet.AppCore- managed bindings for AppCore (windowing, font loader, file system, default logger)- Native binaries for
win-x64,linux-x64, andosx-x64(Ultralight, UltralightCore, WebCore, AppCore)
It targets .NET 10.
Install
dotnet add package UltralightNet.Bundle
Quick start
using UltralightNet;
using UltralightNet.AppCore;
AppCoreMethods.SetPlatformFontLoader();
AppCoreMethods.ulEnablePlatformFileSystem("./assets");
AppCoreMethods.ulEnableDefaultLogger("./ultralight.log");
using var renderer = ULPlatform.CreateRenderer(new ULConfig());
using var view = renderer.CreateView(1280, 720, new ULViewConfig());
view.URL = "https://example.com";
while (!view.IsLoading)
{
renderer.Update();
renderer.Render();
}
The native binaries are deployed automatically into runtimes/<rid>/native/ when your project builds.
Supported runtimes
| RID | Libraries |
|---|---|
win-x64 |
Ultralight.dll, UltralightCore.dll, WebCore.dll, AppCore.dll |
linux-x64 |
libUltralight.so, libUltralightCore.so, libWebCore.so, libAppCore.so |
osx-x64 |
libUltralight.dylib, libUltralightCore.dylib, libWebCore.dylib, libAppCore.dylib |
Build & pack locally
dotnet pack -c Release
Output: bin/Release/UltralightNet.Bundle.<version>.nupkg (and .snupkg).
License
Source code in this repository is licensed under MPL-2.0.
The bundled Ultralight native binaries are redistributed under the Ultralight Free License - review their terms before shipping a commercial product.
| 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
- 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.