WebWindowNetCore 10.0.7
See the version list below for details.
dotnet add package WebWindowNetCore --version 10.0.7
NuGet\Install-Package WebWindowNetCore -Version 10.0.7
<PackageReference Include="WebWindowNetCore" Version="10.0.7" />
paket add WebWindowNetCore --version 10.0.7
#r "nuget: WebWindowNetCore, 10.0.7"
// Install WebWindowNetCore as a Cake Addin #addin nuget:?package=WebWindowNetCore&version=10.0.7 // Install WebWindowNetCore as a Cake Tool #tool nuget:?package=WebWindowNetCore&version=10.0.7
WebWindowNetCore
A .NET 8 Webview Application for Windows and Linux similar to Electron. It uses a functional builder pattern to set up the application. It has an integrated Asp.NET (Kestrel) server which can be used to host the app and to communicate between the .NET application and the web app. The web site can be hosted as .NET resource, of course alternatively via HTTP(s):// or file://.
WebWindowNetCore > version 10.0.0 is completely redesigned and programmed in F#, so that it is "F# friendly". Of course C# is supported as well. Unlike the older versions, there is no other Nuget packet required other than this.
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 .NET Kestrel Server (optional) to serve requests from .NET app to javascript
- 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. |
-
net8.0
- FSharp.Core (>= 8.0.102)
- FSharpTools (>= 10.2.2)
- Giraffe (>= 7.0.0)
- GiraffeTools (>= 1.0.0)
- Gtk4DotNet (>= 6.5.3)
-
net8.0-windows7.0
- ClrWinApi (>= 2.4.1)
- FSharp.Core (>= 8.0.102)
- FSharpTools (>= 10.2.2)
- Giraffe (>= 7.0.0)
- GiraffeTools (>= 1.0.0)
- Microsoft.Web.WebView2 (>= 1.0.2592.51)
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 |
---|---|---|
10.0.16 | 158 | 9/3/2024 |
10.0.15 | 98 | 9/3/2024 |
10.0.14 | 106 | 9/2/2024 |
10.0.13 | 104 | 8/31/2024 |
10.0.12 | 107 | 8/31/2024 |
10.0.11 | 100 | 8/31/2024 |
10.0.10 | 108 | 8/31/2024 |
10.0.9 | 108 | 8/29/2024 |
10.0.8 | 104 | 8/28/2024 |
10.0.7 | 94 | 8/27/2024 |
10.0.6 | 109 | 8/27/2024 |
10.0.5 | 93 | 8/27/2024 |
10.0.4 | 114 | 8/26/2024 |
10.0.3 | 104 | 8/26/2024 |
10.0.2 | 107 | 8/26/2024 |
10.0.1 | 106 | 8/26/2024 |
10.0.0 | 135 | 8/25/2024 |
10.0.0-beta-9 | 95 | 8/17/2024 |
10.0.0-beta-8 | 101 | 8/16/2024 |
10.0.0-beta-7 | 100 | 8/8/2024 |
10.0.0-beta-6 | 85 | 8/8/2024 |
10.0.0-beta-5 | 86 | 8/8/2024 |
10.0.0-beta-4 | 87 | 8/7/2024 |
10.0.0-beta-3 | 81 | 8/7/2024 |
10.0.0-beta-2 | 87 | 8/7/2024 |
10.0.0-beta-12 | 106 | 8/24/2024 |
10.0.0-beta-11 | 97 | 8/24/2024 |
10.0.0-beta-10 | 96 | 8/20/2024 |
9.6.7 | 128 | 7/29/2024 |
9.6.6 | 232 | 3/26/2024 |
9.6.5 | 144 | 3/10/2024 |
9.6.4 | 161 | 1/22/2024 |
9.6.3 | 122 | 1/20/2024 |
9.6.2 | 120 | 1/20/2024 |
9.6.1 | 126 | 1/13/2024 |
9.6.0 | 124 | 1/11/2024 |
9.5.0 | 131 | 1/7/2024 |
9.4.2 | 94 | 1/7/2024 |
9.4.1 | 152 | 12/26/2023 |
9.4.0 | 159 | 12/23/2023 |
9.3.0 | 196 | 12/22/2023 |
9.2.0 | 142 | 12/18/2023 |
9.1.1 | 120 | 12/15/2023 |
9.1.0 | 146 | 12/15/2023 |
9.0.0 | 126 | 12/14/2023 |
8.0.0 | 184 | 12/10/2023 |
7.2.0 | 168 | 11/29/2023 |
7.1.0 | 123 | 11/29/2023 |
7.0.0 | 180 | 11/20/2023 |
7.0.0-alpha | 125 | 11/18/2023 |
6.9.2 | 151 | 11/18/2023 |
6.9.1 | 154 | 11/17/2023 |
6.9.0 | 125 | 11/17/2023 |
6.8.0 | 136 | 11/17/2023 |
6.7.0 | 131 | 11/17/2023 |
6.6.0 | 175 | 11/16/2023 |
6.5.4 | 162 | 11/16/2023 |
6.5.3 | 179 | 11/12/2023 |
6.5.2 | 164 | 11/12/2023 |
6.5.1 | 131 | 11/12/2023 |
6.5.0 | 153 | 11/11/2023 |
6.4.0 | 128 | 11/11/2023 |
6.3.0 | 171 | 10/30/2023 |
6.2.1 | 131 | 11/12/2023 |
6.2.0 | 177 | 10/29/2023 |
6.1.0 | 225 | 8/24/2023 |
6.0.0 | 198 | 8/10/2023 |
5.1.0 | 414 | 4/10/2023 |
5.0.0 | 252 | 4/8/2023 |
4.4.0 | 393 | 3/22/2023 |
4.3.3 | 277 | 3/21/2023 |
4.3.2 | 283 | 3/21/2023 |
4.3.1 | 289 | 3/19/2023 |
4.3.0 | 332 | 3/18/2023 |
4.2.0 | 337 | 3/13/2023 |
4.1.0 | 250 | 3/13/2023 |
4.0.0 | 331 | 3/12/2023 |
4.0.0-alpha.5 | 169 | 2/28/2022 |
4.0.0-alpha.4 | 141 | 2/27/2022 |
4.0.0-alpha.3 | 126 | 2/27/2022 |
4.0.0-alpha.2 | 130 | 2/27/2022 |
4.0.0-alpha.1 | 135 | 2/27/2022 |
3.2.1 | 588 | 4/9/2022 |
3.2.0 | 1,037 | 8/15/2020 |
3.1.3 | 513 | 8/8/2020 |
3.1.2 | 459 | 7/29/2020 |
3.1.1 | 445 | 7/29/2020 |
3.1.0 | 412 | 7/28/2020 |
3.0.2 | 538 | 5/3/2020 |
3.0.1 | 426 | 5/3/2020 |
3.0.0 | 421 | 5/3/2020 |
2.2.0 | 421 | 7/28/2020 |
2.1.3 | 478 | 5/2/2020 |
2.1.2 | 469 | 5/2/2020 |
2.1.1 | 627 | 3/4/2020 |
2.1.0 | 489 | 3/4/2020 |
2.0.0 | 1,015 | 2/29/2020 |
1.0.1 | 485 | 5/2/2020 |
1.0.0 | 496 | 2/23/2020 |
0.0.7 | 452 | 2/22/2020 |
0.0.6 | 414 | 2/22/2020 |
0.0.5 | 532 | 2/22/2020 |
0.0.4 | 552 | 2/22/2020 |
0.0.3 | 557 | 2/22/2020 |
0.0.2 | 531 | 2/21/2020 |
0.0.1 | 452 | 2/21/2020 |
0.0.1-alpha.14 | 96 | 3/12/2023 |
0.0.1-alpha.13 | 90 | 3/12/2023 |
0.0.1-alpha.12 | 94 | 3/12/2023 |
0.0.1-alpha.10 | 93 | 3/10/2023 |
0.0.1-alpha.9 | 92 | 3/10/2023 |
0.0.1-alpha.8 | 101 | 3/9/2023 |
0.0.1-alpha.7 | 100 | 3/3/2023 |
0.0.1-alpha.6 | 99 | 3/3/2023 |