Comments (5)
Maybe you need install webview2 run time, As this webview depend on it?
from desktoploveblazorweb.
@gismofx maybe your can try the work in progress branch which focus on wpf&webview2, https://github.com/congzhangzh/desktoploveblazorweb/tree/wpf_wip
from desktoploveblazorweb.
@congzhangzh I tried wpf_wip branch. I think I got it to work, but maybe not as intended.... I started IIS Express and two windows opened. One completely blank and another my Chrome tab with the application. This works, but with an extra window.
If I run BlazorBrowserNativeStyle, I get just one blank window. No UI. When I publish and run the exe, I get the same result as running BlasorBrowserNativeStyle. A completely blank window.
from desktoploveblazorweb.
@congzhangzh both branches work after installing webview2 runtime! Thank you! Does this work on MacOS?
from desktoploveblazorweb.
@gismofx
first, the wpf version support fixed version webview2, you can put webview2 fixed version directly in WebView2 directory alongside with you app, it will be very usefull when you deploy you application in the future, as edge chromium & webview2 runtime is somelevel of new stuff!
Does this work on MacOS?
Not now, but should work in the future by three possible way:
- use webview way, this should works across all the branch, but it does not work on my Mac book now, I do not know why!
- use webview2 way, I fell Microsoft will make WebView2 support Windows/Linux/Mac in the future
- use webview way, https://github.com/SteveSandersonMS/WebWindow/tree/master/src/WebWindow.Native
I think WebView2 wil be the best solution in the future, but if you need cross platform support now, you may need split out of WebWindow.Native, and just use it, as Microsoft soft is really fat and slow!
For the future of WebWindow, you can see SteveSandersonMS/WebWindow#86
from desktoploveblazorweb.
Related Issues (9)
- 身边暂时没有 windows 想问一下:这种壳装网页的程序用新版 net 如果打包成 exe 会有多大? HOT 4
- MacOS UI Empty/No Display HOT 11
- Access Inspector on MacOS? HOT 3
- Migration from webview_csharp to Photino.NET HOT 2
- [design] mix ui thread and asp.net server thread
- [free time to do] publish as dotnet new template
- [free time to do] add multi run mode like Pure Server Mode/Maui Blazor and even Gtk、WPF support
- Unable to run on Linux HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktoploveblazorweb.