WebWindowNetCore 11.0.16-beta-16
See the version list below for details.
dotnet add package WebWindowNetCore --version 11.0.16-beta-16
NuGet\Install-Package WebWindowNetCore -Version 11.0.16-beta-16
<PackageReference Include="WebWindowNetCore" Version="11.0.16-beta-16" />
<PackageVersion Include="WebWindowNetCore" Version="11.0.16-beta-16" />
<PackageReference Include="WebWindowNetCore" />
paket add WebWindowNetCore --version 11.0.16-beta-16
#r "nuget: WebWindowNetCore, 11.0.16-beta-16"
#:package WebWindowNetCore@11.0.16-beta-16
#addin nuget:?package=WebWindowNetCore&version=11.0.16-beta-16&prerelease
#tool nuget:?package=WebWindowNetCore&version=11.0.16-beta-16&prerelease
WebWindowNetCore
A .NET 8 Webview Application for Windows and Linux similar to Electron. It uses a functional builder pattern to set up the application. To communicate between the .NET application and the web app there is a Javascript request interface. The web site can be hosted as .NET resource, of course alternatively via HTTP(s):// or file://.
WebWindowNetCore > version 11.0.0 is redesigned and has dropped included HTTP Server
WebViewNetCore.Linux and WebViewNetCore.Windows are now obsolete!
Features
WebWindowNetCore includes following features:
- Is built on .NET 8
- Functional approach with a builder pattern
- (almost) the same setup for Windows and Linux version
- Uses WebView2 on Windows and WebKitGtk-6.0 on Linux
- Can serve the web site via .NET resources (single file approach)
- Optional save and restore of window bounds
- Has an integrated event sink mechanismen, so you can retrieve javascript events from the .NET app
- Has an integrated Javascript WebView interface to serve requests from javascript to .NET app
- You can expand the Gtk Window (on Linux) with a custom header bar
- You can alternatively disable the Windows titlebar and borders, and you can build a title bar in HTML with standard Windows logic for closing, maximizing, restoring resizing, snap to dock, ...
Functional approach with webview builder:
new WebView()
.AppId("de.uriegel.test")
.InitialBounds(1200, 800)
.Title("Web Window Net Core 👍")
.ResourceIcon("icon")
.ResourceScheme()
.SaveBounds()
.DefaultContextMenuDisabled()
.AddRequest<Input, Contact>("cmd1", GetContact)
.AddRequest<Input2, Contact2>("cmd2", GetContact2)
#if DEBUG
.DevTools()
#endif
.Url("res://webroot/index.html")
.CanClose(() => true)
.OnStarted(action => action.ExecuteJavascript ("console.log('app started now ')"))
.Run();
For further description and tutorial see WebWindowNetCore description
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net8.0-windows7.0 is compatible. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Gtk4DotNet (>= 7.0.3-beta-3)
-
net8.0-windows7.0
- ClrWinApi (>= 2.5.0)
- CsTools (>= 7.23.0)
- Microsoft.Web.WebView2 (>= 1.0.2957.106)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on WebWindowNetCore:
| Package | Downloads |
|---|---|
|
WebWindowNetCore.Electron
Dependencies for Electron for package WebWindowNetCore. Please look there for further information. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.19-beta-19 | 207 | 2/26/2025 |
| 11.0.18-beta-18 | 172 | 2/25/2025 |
| 11.0.17-beta-17 | 168 | 2/24/2025 |
| 11.0.16-beta-16 | 144 | 2/24/2025 |
| 11.0.15-beta-15 | 171 | 2/23/2025 |
| 11.0.14-beta-14 | 163 | 2/17/2025 |
| 11.0.13-beta-13 | 161 | 2/15/2025 |
| 11.0.12-beta-12 | 195 | 2/14/2025 |
| 11.0.11-beta-11 | 180 | 2/13/2025 |
| 11.0.10-beta-10 | 157 | 2/12/2025 |
| 11.0.9-beta-9 | 178 | 2/11/2025 |
| 11.0.8-beta-8 | 194 | 2/10/2025 |
| 11.0.7-beta-7 | 161 | 2/8/2025 |
| 11.0.6-beta-6 | 135 | 2/8/2025 |
| 11.0.5-beta-5 | 150 | 2/8/2025 |
| 11.0.4-beta-4 | 160 | 2/8/2025 |
| 11.0.3-beta-3 | 157 | 2/7/2025 |
| 11.0.2-beta-2 | 186 | 2/7/2025 |
| 11.0.1-beta-1 | 151 | 2/7/2025 |
| 10.0.16 | 464 | 9/3/2024 |