Russkyc.Fene
2.0.1
Prefix Reserved
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 Russkyc.Fene --version 2.0.1
NuGet\Install-Package Russkyc.Fene -Version 2.0.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="Russkyc.Fene" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Russkyc.Fene" Version="2.0.1" />
<PackageReference Include="Russkyc.Fene" />
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.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Russkyc.Fene, 2.0.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.
#:package Russkyc.Fene@2.0.1
#: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.1
#tool nuget:?package=Russkyc.Fene&version=2.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Web.WebView2 (>= 1.0.4022.49)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.