BogaNet.Avalonia.Browser
0.5.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package BogaNet.Avalonia.Browser --version 0.5.1
NuGet\Install-Package BogaNet.Avalonia.Browser -Version 0.5.1
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="BogaNet.Avalonia.Browser" Version="0.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BogaNet.Avalonia.Browser --version 0.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BogaNet.Avalonia.Browser, 0.5.1"
#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.
// Install BogaNet.Avalonia.Browser as a Cake Addin #addin nuget:?package=BogaNet.Avalonia.Browser&version=0.5.1 // Install BogaNet.Avalonia.Browser as a Cake Tool #tool nuget:?package=BogaNet.Avalonia.Browser&version=0.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
BogaNet.Avalonia.Browser
Browser-specific helpers for Avalonia development.
Main classes and usage
- WebPreferencesContainer: Preferences-container for web, for more see: BogaNet.Prefs.
Add the following line to "Program.cs" in the Browser-project:
public static AppBuilder BuildAvaloniaApp()
{
Preferences.Instance.Container = new WebPreferencesContainer();
return AppBuilder.Configure<App>();
}
To make it work in web-builds, please add the following line at the end of "main.js" under "wwwroot"s:
export const exports = await dotnetRuntime.getAssemblyExports(config.mainAssemblyName);
Nuget:
API:
https://www.crosstales.com/media/data/BogaNet/api/
GitHub:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-browser1.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-browser1.0
- BogaNet.Common (>= 1.2.4)
- BogaNet.Prefs (>= 1.2.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.