BogaNet.Avalonia.Browser 0.5.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package BogaNet.Avalonia.Browser --version 0.5.5                
NuGet\Install-Package BogaNet.Avalonia.Browser -Version 0.5.5                
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.5" />                
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.5                
#r "nuget: BogaNet.Avalonia.Browser, 0.5.5"                
#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.5

// Install BogaNet.Avalonia.Browser as a Cake Tool
#tool nuget:?package=BogaNet.Avalonia.Browser&version=0.5.5                

BogaNet.Avalonia.Browser

Browser-specific helpers for Avalonia development. This package is in experimental stage!

Main classes and usage

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":

export const exports = await dotnetRuntime.getAssemblyExports(config.mainAssemblyName);

Unfortunately, you have to manually copy the "boganet_bridge.js" to "wwwroot" since I don't know how to include it in the Nuget-package correctly... Tips are welcome! 😃 boganet_bridge.js

Nuget:

BogaNet.Avalonia.Browser

API:

https://www.crosstales.com/media/data/BogaNet/api/

GitHub:

https://github.com/slaubenberger/BogaNet/

Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 85 8/5/2024
0.6.1 49 7/31/2024
0.6.0 80 7/27/2024
0.5.8 84 7/26/2024
0.5.7 79 7/25/2024
0.5.6 79 7/25/2024
0.5.5 74 7/25/2024
0.5.4 73 7/25/2024
0.5.3 72 7/25/2024
0.5.2 72 7/25/2024
0.5.1 70 7/25/2024
0.5.0 75 7/25/2024

Initial release.