GithubHelp home page GithubHelp logo

Comments (5)

congzhangzh avatar congzhangzh commented on June 13, 2024 1

Maybe you need install webview2 run time, As this webview depend on it?

from desktoploveblazorweb.

congzhangzh avatar congzhangzh commented on June 13, 2024 1

@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.

gismofx avatar gismofx commented on June 13, 2024

@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.

gismofx avatar gismofx commented on June 13, 2024

@congzhangzh both branches work after installing webview2 runtime! Thank you! Does this work on MacOS?

from desktoploveblazorweb.

congzhangzh avatar congzhangzh commented on June 13, 2024

@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:

  1. 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!
  2. use webview2 way, I fell Microsoft will make WebView2 support Windows/Linux/Mac in the future
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.