TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WebWindow, a cross-platform webview library for .NET Core

235 点作者 johns超过 5 年前

17 条评论

throwGuardian超过 5 年前
Alternatives:<p>1. Webview: <a href="https:&#x2F;&#x2F;github.com&#x2F;zserge&#x2F;webview" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;zserge&#x2F;webview</a><p>2. Lorca (Chrome): <a href="https:&#x2F;&#x2F;github.com&#x2F;zserge&#x2F;lorca" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;zserge&#x2F;lorca</a><p>3. Carlo (js&#x2F;Chrome): <a href="https:&#x2F;&#x2F;github.com&#x2F;GoogleChromeLabs&#x2F;carlo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;GoogleChromeLabs&#x2F;carlo</a>
评论 #21570064 未加载
评论 #21571584 未加载
评论 #21570340 未加载
slowenough超过 5 年前
This is very exciting, thanks for creating this! I&#x27;ve been hoping for a way to build native apps via web technologies without the bloat.<p>Please let this be it.<p>.NET is such a good runtime.
评论 #21598207 未加载
评论 #21571548 未加载
评论 #21570998 未加载
yodon超过 5 年前
This looks amazing - can you please add a license file so others can actually use it? (Hoping for MIT or if not then Apache 2.0 or BSD or whatever reflects your intent and preferences)
评论 #21569422 未加载
FlorianRappl超过 5 年前
I&#x27;m potentially the only one being skeptical. Don&#x27;t get me wrong, it&#x27;s nicely done (for an experiment), but we also did similar experiments several years ago.<p>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 &quot;I don&#x27;t want <i>any</i> browser - I want a browser that I know is capable of doing what I want&quot;.
评论 #21567020 未加载
评论 #21567370 未加载
fbelzile超过 5 年前
This looks like a nice solution to save some time for cross-platform developers on .NET Core. I&#x27;m sure we&#x27;re going to see a lot more of this once the new Chromium version of Edge is released mid Jan 2020 (which will include the new webview2 component).<p>If you don&#x27;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.<p>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: &lt;meta http-equiv=&quot;x-ua-compatible&quot; content=&quot;ie=edge&quot;&gt;<p>You can disable most non-native app behavior in JS (like scrolling or the default right click context menu using javascript). You&#x27;re then free to use whatever front end framework you want and pass data between the web-app and native code using JSON.
评论 #21570467 未加载
评论 #21570381 未加载
wayneftw超过 5 年前
Fabulous! Standalone app sizes look to be less than half that of Electron. Wish I had more C++&#x2F;Obj-C skills to help out...
pjmlp超过 5 年前
Nice work, although WebViews shouldn&#x27;t be used for anything beyond displaying HTML documents.<p>Either go native or go Web, hybrid apps always always feel worse than middleware frameworks.
josteink超过 5 年前
While this definitely sounds like a good alternative to everything bundling its own Electron, I do have some questions.<p>To make sure I understand how viable this solution is...<p>&gt; On Windows, WebWindow uses the <i>new Chromium-based Edge via webview2</i>, assuming you have that browser installed (it could fall back on older Edge if you don’t, but I haven’t implemented that)<p>So this will currently only work for those running the absolutely newest version of Windows 10?<p>(But if the user does, you get a reasonably up to date and capable web-engine, which sounds good)<p>&gt; On Mac, it uses the OS’s built-in WKWebView, which is the same technology behind Safari<p>Sounds decent, I guess?<p>&gt; On Linux, it uses WebKitGTK+2, which is yet again a WebKit-based technology<p>Isn&#x27;t WebKitGTK horribly outdated, or have things improved recently? Couldn&#x27;t that be a source of issues down the road?
thdrdt超过 5 年前
Has anyone experience with Blazor in production? I would like to jump into it but it still feels a little immature to me.
评论 #21569058 未加载
评论 #21566426 未加载
评论 #21566719 未加载
catchmeifyoucan超过 5 年前
My biggest problem is that WKWebview on Mac just seems so slow compared to Chrome. I have a canvas in my application and it just doesn&#x27;t seem to render as efficiently as it should or with ease as it does in Chrome. Does anyone experience similar issues?
评论 #21569177 未加载
评论 #21569466 未加载
gfodor超过 5 年前
this is really interesting! i&#x27;m wondering if there&#x27;s a variant of this project out there that still uses node&#x2F;javascript, but similarly avoids the chromium packaging and leans on the OS&#x27;s rendering engine.
评论 #21566517 未加载
评论 #21567522 未加载
评论 #21566940 未加载
lightdot超过 5 年前
This looks interesting, I&#x27;m looking forward to trying it out.
ryanthedev超过 5 年前
Beautiful MVP. I really love this idea.<p>I have been tinkering around with some enterprise solutions for delivering desktop native experience for web based apps.
xmichael999超过 5 年前
Very cool, I am hoping the project is in fact supported and maintained!
jcmontx超过 5 年前
This is fantastic. Another step in the right direction!
The_rationalist超过 5 年前
This is mostly obscoleted by <a href="https:&#x2F;&#x2F;github.com&#x2F;sentialx&#x2F;electron-global" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sentialx&#x2F;electron-global</a>
评论 #21570128 未加载
mscasts超过 5 年前
Looks very cool!