WebUI4CSharp.Natives
2.5.0-beta.2
dotnet add package WebUI4CSharp.Natives --version 2.5.0-beta.2
NuGet\Install-Package WebUI4CSharp.Natives -Version 2.5.0-beta.2
<PackageReference Include="WebUI4CSharp.Natives" Version="2.5.0-beta.2" />
paket add WebUI4CSharp.Natives --version 2.5.0-beta.2
#r "nuget: WebUI4CSharp.Natives, 2.5.0-beta.2"
// Install WebUI4CSharp.Natives as a Cake Addin #addin nuget:?package=WebUI4CSharp.Natives&version=2.5.0-beta.2&prerelease // Install WebUI4CSharp.Natives as a Cake Tool #tool nuget:?package=WebUI4CSharp.Natives&version=2.5.0-beta.2&prerelease
WebUI4CSharp
WebUI4CSharp is a WebUI wrapper, which allows you to use any web browser as a GUI, with C# in the backend and HTML5 in the frontend.
WebUI allows you to link your console, WinForms or WPF application with a web app that runs in a web browser installed in the operating system. Originally WebUI was created to have all the UI code in the web browser and the rest of the code in your hidden C# application. However, you can also decide to have a visible C# application communicating with a HTML5 app. You can get web browser events in your desktop application, call C# functions from JS, call JS functions from C# code, execute JavaScript, etc.
WebUI4CSharp can be used console, WinForms or WPF applications for Windows.
WebUI doesn't embed a web browser in your application. It's used as a bridge between a desktop application and the web browser running an HTML5 app.
Features
- Fully Independent (No need for any third-party runtimes)
- Lightweight & Small memory footprint
- Fast binary communication protocol between WebUI and the browser (Instead of JSON)
- Multi-platform & Multi-Browser
- Using private profile for safety
- Original library written in Pure C
- XML documentation.
- Help file.
Minimal Example
using WebUI4CSharp;
WebUIWindow window = new WebUIWindow();
window.Show("<html><head><script src=\"webui.js\"></script></head> Hello World ! </html>");
WebUI.Wait();
Text editor
This text_editor is a lightweight and portable example written in C# and JavaScript using WebUI as the GUI.
Building
- Open the file WebUI4CSharp\WebUI4CSharp.sln.
- Press Control+Shift+B to build the solution
Links
Support
If you find this project useful, please consider making a donation.
You can also support this project with Patreon.
<a href="https://patreon.com/salvadordf"><img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Patreon donate button" /></a>
You can also support this project with Liberapay.
<a href="https://liberapay.com/salvadordf/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
Related projects
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
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.5.0-beta.2 | 51 | 11/6/2024 |
Initial Nuget release