this is really interesting! i'm wondering if there's a variant of this project out there that still uses node/javascript, but similarly avoids the chromium packaging and leans on the OS's rendering engine.
WebWindow, a cross-platform webview library for .NET Core
11–20 of 55 posts
Re: WebWindow, a cross-platform webview library for .NET Core
#12Has anyone experience with Blazor in production? I would like to jump into it but it still feels a little immature to me.
Re: WebWindow, a cross-platform webview library for .NET Core
#13Has anyone experience with Blazor in production? I would like to jump into it but it still feels a little immature to me.
It does not require Blazor. As the article says, you can use anything you want and the demo has vue.js
With Blazor you can also share your models and other code if needed.
Re: WebWindow, a cross-platform webview library for .NET Core
#14Re: WebWindow, a cross-platform webview library for .NET Core
#15At the fundamental level such an approach works, but it brings several issues that are not addressed with it (in contrast to, e.g., Electron). The most pressing one being "I don't want any browser - I want a browser that I know is capable of doing what I want".
Re: WebWindow, a cross-platform webview library for .NET Core
#16this is really interesting! i'm wondering if there's a variant of this project out there that still uses node/javascript, but similarly avoids the chromium packaging and leans on the OS's rendering engine.
Re: WebWindow, a cross-platform webview library for .NET Core
#17I'm potentially the only one being skeptical. Don't get me wrong, it's nicely done (for an experiment), but we also did similar experiments several years ago. At the fundamental level such an approach works, but it brings several issues that are not addressed with it (in contrast to, e.g., Electron). The most pressing one being "I don't want any browser - I want a browser that I know is capable of doing what I want".
Re: WebWindow, a cross-platform webview library for .NET Core
#18If you don't want to add an external library to do this, or your source is already platform dependent, just use the default web view component of each operating system (WebBrowser for Windows, WKWebView for macOS and WebKitGTK+2 for Linux) like this library does.
To work around some of the ugliness of the old IE rendering engine used in the current WebBrowser control on Windows, just add this meta tag to the HTML file to ensure it uses the new versions of IE to render the UI:
You can disable most non-native app behavior in JS (like scrolling or the default right click context menu using javascript). You're then free to use whatever front end framework you want and pass data between the web-app and native code using JSON.
Re: WebWindow, a cross-platform webview library for .NET Core
#19Re: WebWindow, a cross-platform webview library for .NET Core
#20Please let this be it.
.NET is such a good runtime.