Russkyc.Fene 2.0.3

Prefix Reserved
dotnet add package Russkyc.Fene --version 2.0.3
                    
NuGet\Install-Package Russkyc.Fene -Version 2.0.3
                    
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="Russkyc.Fene" Version="2.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Russkyc.Fene" Version="2.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Russkyc.Fene" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Russkyc.Fene --version 2.0.3
                    
#r "nuget: Russkyc.Fene, 2.0.3"
                    
#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.
#:package Russkyc.Fene@2.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Russkyc.Fene&version=2.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Russkyc.Fene&version=2.0.3
                    
Install as a Cake Tool

Fene - Slim WebView2 Desktop Wrapper for .NET 10

A specialized, ultra-lean WebView2 desktop wrapper for .NET 10. Built directly on top of native Win32 bindings via CsWin32, Fene provides a raw Windows container to build lightweight web apps without the overhead of heavy UI frameworks.

Key Features

  • Zero Layout Overhead: Skips heavy UI frameworks for a minimal memory footprint.
  • Fluent Window Builder: Configure borders, dark mode, sizes, and locations easily.
  • Blazor & ASP.NET Core Ready: Seamlessly host local Blazor Server or web hosts as desktop applications.
  • Native Platform Utilities: Zero-dependency access to native Win32 file/folder dialogs and system font discovery.
  • JavaScript Interop: Secure bidirectional JSON and string messaging pipelines.

Quick Start (Pure C# Setup)

using System.Drawing;
using Russkyc.Fene;

var prefersDark = Platform.IsSystemInDarkMode();
var windowManager = WindowManager.Shared;

var window = WindowBuilder
    .Create("App Window 1", 1000, 700)
    .WithStartPosition(WindowStartPosition.CenterScreen)
    .UseDarkMode(prefersDark)
    .WithBackgroundColor(prefersDark ? ColorTranslator.FromHtml("#202020") : Color.White)
    .MapVirtualHost("app.local", Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "wwwroot"))
    .Build();

windowManager.RunDesktop(window, "http://app.local/index.html");

Blazor Integration Example

using Russkyc.Fene;
// ... standard ASP.NET Core builder setup ...

// Add this line to register Fene services for Blazor integration
builder.Services.AddFeneServices();

var app = builder.Build();

// ... map assets and components ...

// Create a Fene window for the Blazor app
var mainWindow = WindowBuilder.Create("Blazor Desktop App")
    .WithSize(800, 600)
    .UseDarkMode()
    .Build();

// Replace the default app.Run() with app.RunDesktop() to launch the Blazor app in a Fene window
app.RunDesktop(mainWindow);

Complete documentation and additional examples: Fene GitHub repository

License

Licensed under the MIT License.

Product 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. 
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
2.0.3 93 7/11/2026
2.0.2 89 7/11/2026
2.0.1 94 7/8/2026
2.0.0 91 7/5/2026
1.1.0 92 7/4/2026
1.0.1 93 7/4/2026
1.0.0 90 7/4/2026