NetDimension.NanUI
1.0.109.23
See the version list below for details.
dotnet add package NetDimension.NanUI --version 1.0.109.23
NuGet\Install-Package NetDimension.NanUI -Version 1.0.109.23
<PackageReference Include="NetDimension.NanUI" Version="1.0.109.23" />
paket add NetDimension.NanUI --version 1.0.109.23
#r "nuget: NetDimension.NanUI, 1.0.109.23"
// Install NetDimension.NanUI as a Cake Addin #addin nuget:?package=NetDimension.NanUI&version=1.0.109.23 // Install NetDimension.NanUI as a Cake Tool #tool nuget:?package=NetDimension.NanUI&version=1.0.109.23
WinFormium
Easily buid powerful WinForm applications with HTML, CSS and JavaScript.
About
WinFormium is a open source framework on .NET platform for creating user interface of WinForm Applicaitons using HTML5, CSS3, and JavaScript. It is based on the Xilium.CefGlue project, which is a .NET wrapper around the Chromium Embedded Framework.
If you are looking for a framework for creating a WinForm application with a modern user interface, WinFormium is a good choice. you can use HTML, CSS, and JavaScript to create a user interface, and use C# to write the business logic of the application.
Platform
This is a Windows Only framework, it can not run on Linux or Mac OS.
The minimum supported Windows is Windows 7 Service Pack 1, and some features (such as DirectComposition Offscreen Rendering) are not supported on Windows 7.
Requirements
For Development
- .NET Framework 4.6.2 or higher / .NET 5.0 or higher
- Visual Studio 2019 or heigher (VS2022 is recommended)
For Deployment
- Microsoft Windows 7 Service Pack 1 or higher
- .Net Framework 4.6.2 or higher
- .NET 5.0/6.0 for Windows 7 and above.
- .NET 7.0/8.0 for Windows 10 and above.
Getting Started
Create a simple WinFormium application with the following steps:
1. Create a WinForm Application by default template
2. Install WinFormium NuGet Package
Open the NuGet Package Manager to install or use NuGet Package Manager Console, and run the following command to install WinFormium nuget package:
PM> Install-Package NetDimension.NanUI
Install the dependencies of Chromium Embedded Framework that WinFormium depends on:
PM> Install-Package NetDimension.NanUI.Runtime
3. A basic WinFormium application requires the following code:
Modify the code in the Program.cs file as follows:
using WinFormium;
class Program
{
[STAThread]
static void Main(string[] args)
{
var builder = WinFormiumApp.CreateBuilder();
builder.UseWinFormiumApp<MyApp>();
var app = builder.Build();
app.Run();
}
}
Create a class implements WinFormiumStartup for configuring the application:
using WinFormium;
class MyAPP : WinFormiumStartup
{
protected override MainWindowCreationAction? UseMainWindow(MainWindowOptions opts)
{
// Configure the main window of this application
return opts.UseMainFormium<MyWindow>();
}
protected override void WinFormiumMain(string[] args)
{
// The codes in Main function should be here, this function only runs in Main process. So it can prevent the codes in Main process running in sub-processes.
ApplicationConfiguration.Initialize();
}
protected override void ConfigurationChromiumEmbedded(ChromiumEnvironmentBuiler cef)
{
// Configure the Chromium Embedded Framework here
}
protected override void ConfigureServices(IServiceCollection services)
{
// Configure the services of this application here
}
}
Create a class implements Formium for configuring the main window of the application:
using WinFormium;
using WinFormium.Forms;
class MyWindow : Formium
{
public MyWindow()
{
Url = "https://www.google.com";
}
protected override FormStyle ConfigureWindowStyle(WindowStyleBuilder builder)
{
// Configure the style of the window here or leave it blank to use the default style
var style = builder.UseSystemForm();
style.TitleBar = false;
style.DefaultAppTitle = "My first WinFomrim app";
return style;
}
}
4. Build and run your WinFormium application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net7.0-windows7.0 is compatible. net8.0-windows was computed. |
.NET Framework | net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
-
.NETFramework 4.6.2
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
.NETFramework 4.7
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
.NETFramework 4.7.1
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
.NETFramework 4.7.2
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
.NETFramework 4.8
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
.NETFramework 4.8.1
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
net6.0-windows7.0
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
-
net7.0-windows7.0
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- SharpGen.Runtime (>= 2.0.0-beta.13)
- SharpGen.Runtime.COM (>= 2.0.0-beta.13)
- SkiaSharp (>= 2.88.6)
- System.Net.Http (>= 4.3.4)
- System.Text.Json (>= 7.0.3)
- Vanara.PInvoke.DwmApi (>= 3.4.16)
- Vanara.PInvoke.Gdi32 (>= 3.4.16)
- Vanara.PInvoke.SHCore (>= 3.4.16)
- Vanara.PInvoke.User32 (>= 3.4.16)
- Vanara.PInvoke.UxTheme (>= 3.4.16)
- Vortice.Direct2D1 (>= 2.4.2)
- Vortice.Direct3D11 (>= 2.4.2)
- Vortice.DirectComposition (>= 2.4.2)
- Vortice.DXGI (>= 2.4.2)
- Vortice.Mathematics (>= 1.4.26)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NetDimension.NanUI:
Package | Downloads |
---|---|
ClayMini
My package description. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.109.309 | 333 | 9/5/2024 | |
1.0.109.230 | 497 | 6/19/2024 | |
1.0.109.207 | 201 | 5/27/2024 | |
1.0.109.206 | 68 | 5/26/2024 | |
1.0.109.182 | 214 | 5/1/2024 | |
1.0.109.181 | 46 | 5/1/2024 | |
1.0.109.149 | 222 | 3/30/2024 | |
1.0.109.132 | 144 | 3/13/2024 | |
1.0.109.129 | 80 | 3/10/2024 | |
1.0.109.127 | 83 | 3/8/2024 | |
1.0.109.23 | 917 | 11/25/2023 | |
1.0.109.1 | 326 | 11/3/2023 | |
1.0.109 | 125 | 11/2/2023 | |
0.9.109.59 | 1,332 | 10/6/2023 | |
0.9.109.9 | 1,161 | 8/17/2023 | |
0.9.109.7 | 682 | 8/15/2023 | |
0.9.109.6 | 545 | 8/13/2023 | |
0.9.109.5 | 588 | 8/12/2023 | |
0.9.109.2 | 578 | 8/9/2023 | |
0.9.109.1 | 660 | 8/9/2023 | |
0.9.100.16 | 773 | 8/3/2023 | |
0.9.100 | 803 | 7/18/2023 | |
0.9.90.519 | 1,562 | 5/22/2023 | |
0.9.90.518 | 625 | 5/22/2023 | |
0.9.90.501 | 891 | 5/5/2023 | |
0.9.90.429 | 1,827 | 2/21/2023 | |
0.9.90.428 | 738 | 2/20/2023 | |
0.9.90.427 | 802 | 2/19/2023 | |
0.9.90.426 | 667 | 2/19/2023 | |
0.9.90.425 | 722 | 2/17/2023 | |
0.9.90.424 | 682 | 2/17/2023 | |
0.9.90.374 | 967 | 12/29/2022 | |
0.9.90.327 | 1,364 | 11/12/2022 | |
0.9.90.317 | 918 | 11/1/2022 | |
0.9.90.312 | 833 | 10/28/2022 | |
0.9.90.193 | 2,380 | 6/30/2022 | |
0.9.90.130 | 1,617 | 4/28/2022 | |
0.9.90.129 | 955 | 4/28/2022 | |
0.9.90.76 | 1,604 | 3/6/2022 | |
0.9.90.74 | 1,118 | 3/4/2022 | |
0.9.90.67 | 1,222 | 2/25/2022 | |
0.9.90.53 | 1,184 | 2/11/2022 | |
0.9.90.28 | 1,270 | 1/17/2022 | |
0.9.90.27 | 1,165 | 1/15/2022 | |
0.9.90.26 | 1,948 | 1/13/2022 | |
0.8.80.518 | 1,345 | 12/1/2021 | |
0.7.77.5 | 3,286 | 4/24/2020 | |
0.6.3239.4 | 1,970 | 1/7/2020 | |
0.6.2987.13 | 2,033 | 4/2/2018 |