WebWindowNetCore 10.0.16

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package WebWindowNetCore --version 10.0.16
                    
NuGet\Install-Package WebWindowNetCore -Version 10.0.16
                    
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="WebWindowNetCore" Version="10.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WebWindowNetCore" Version="10.0.16" />
                    
Directory.Packages.props
<PackageReference Include="WebWindowNetCore" />
                    
Project file
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 WebWindowNetCore --version 10.0.16
                    
#r "nuget: WebWindowNetCore, 10.0.16"
                    
#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 WebWindowNetCore@10.0.16
                    
#: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=WebWindowNetCore&version=10.0.16
                    
Install as a Cake Addin
#tool nuget:?package=WebWindowNetCore&version=10.0.16
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 172 2/26/2025
11.0.18-beta-18 141 2/25/2025
11.0.17-beta-17 137 2/24/2025
11.0.16-beta-16 119 2/24/2025
11.0.15-beta-15 143 2/23/2025
11.0.14-beta-14 130 2/17/2025
11.0.13-beta-13 129 2/15/2025
11.0.12-beta-12 159 2/14/2025
11.0.11-beta-11 150 2/13/2025
11.0.10-beta-10 134 2/12/2025
11.0.9-beta-9 143 2/11/2025
11.0.8-beta-8 154 2/10/2025
11.0.7-beta-7 131 2/8/2025
11.0.6-beta-6 114 2/8/2025
11.0.5-beta-5 134 2/8/2025
11.0.4-beta-4 136 2/8/2025
11.0.3-beta-3 123 2/7/2025
11.0.2-beta-2 159 2/7/2025
11.0.1-beta-1 126 2/7/2025
11.0.0-beta-0 124 2/7/2025
10.0.16 376 9/3/2024
10.0.15 180 9/3/2024
10.0.14 187 9/2/2024
10.0.13 183 8/31/2024
10.0.12 195 8/31/2024
10.0.11 195 8/31/2024
10.0.10 185 8/31/2024
10.0.9 208 8/29/2024
10.0.8 193 8/28/2024
10.0.7 192 8/27/2024
10.0.6 190 8/27/2024
10.0.5 198 8/27/2024
10.0.4 195 8/26/2024
10.0.3 162 8/26/2024
10.0.2 184 8/26/2024
10.0.1 195 8/26/2024
10.0.0 222 8/25/2024
10.0.0-beta-9 162 8/17/2024
10.0.0-beta-8 172 8/16/2024
10.0.0-beta-7 138 8/8/2024
10.0.0-beta-6 133 8/8/2024
10.0.0-beta-5 125 8/8/2024
10.0.0-beta-4 154 8/7/2024
10.0.0-beta-3 126 8/7/2024
10.0.0-beta-2 127 8/7/2024
10.0.0-beta-12 159 8/24/2024
10.0.0-beta-11 145 8/24/2024
10.0.0-beta-10 143 8/20/2024
9.6.7 274 7/29/2024
9.6.6 361 3/26/2024
9.6.5 244 3/10/2024
9.6.4 251 1/22/2024
9.6.3 203 1/20/2024
9.6.2 200 1/20/2024
9.6.1 227 1/13/2024
9.6.0 205 1/11/2024
9.5.0 217 1/7/2024
9.4.2 188 1/7/2024
9.4.1 242 12/26/2023
9.4.0 256 12/23/2023
9.3.0 295 12/22/2023
9.2.0 225 12/18/2023
9.1.1 203 12/15/2023
9.1.0 217 12/15/2023
9.0.0 205 12/14/2023
8.0.0 291 12/10/2023
7.2.0 205 11/29/2023
7.1.0 184 11/29/2023
7.0.0 263 11/20/2023
7.0.0-alpha 210 11/18/2023
6.9.2 202 11/18/2023
6.9.1 232 11/17/2023
6.9.0 173 11/17/2023
6.8.0 195 11/17/2023
6.7.0 175 11/17/2023
6.6.0 243 11/16/2023
6.5.4 221 11/16/2023
6.5.3 267 11/12/2023
6.5.2 224 11/12/2023
6.5.1 196 11/12/2023
6.5.0 213 11/11/2023
6.4.0 189 11/11/2023
6.3.0 256 10/30/2023
6.2.1 177 11/12/2023
6.2.0 260 10/29/2023
6.1.0 320 8/24/2023
6.0.0 286 8/10/2023
5.1.0 560 4/10/2023
5.0.0 349 4/8/2023
4.4.0 516 3/22/2023
4.3.3 380 3/21/2023
4.3.2 384 3/21/2023
4.3.1 407 3/19/2023
4.3.0 431 3/18/2023
4.2.0 452 3/13/2023
4.1.0 343 3/13/2023
4.0.0 438 3/12/2023
4.0.0-alpha.5 261 2/28/2022
4.0.0-alpha.4 246 2/27/2022
4.0.0-alpha.3 217 2/27/2022
4.0.0-alpha.2 236 2/27/2022
4.0.0-alpha.1 223 2/27/2022
3.2.1 723 4/9/2022
3.2.0 1,180 8/15/2020
3.1.3 653 8/8/2020
3.1.2 613 7/29/2020
3.1.1 591 7/29/2020
3.1.0 550 7/28/2020
3.0.2 695 5/3/2020
3.0.1 571 5/3/2020
3.0.0 575 5/3/2020
2.2.0 556 7/28/2020
2.1.3 644 5/2/2020
2.1.2 611 5/2/2020
2.1.1 768 3/4/2020
2.1.0 650 3/4/2020
2.0.0 1,143 2/29/2020
1.0.1 636 5/2/2020
1.0.0 642 2/23/2020
0.0.7 588 2/22/2020
0.0.6 546 2/22/2020
0.0.5 673 2/22/2020
0.0.4 705 2/22/2020
0.0.3 705 2/22/2020
0.0.2 687 2/21/2020
0.0.1 597 2/21/2020
0.0.1-alpha.14 176 3/12/2023
0.0.1-alpha.13 182 3/12/2023
0.0.1-alpha.12 164 3/12/2023
0.0.1-alpha.10 176 3/10/2023
0.0.1-alpha.9 172 3/10/2023
0.0.1-alpha.8 172 3/9/2023
0.0.1-alpha.7 168 3/3/2023
0.0.1-alpha.6 176 3/3/2023