webview2 / edgesharp Goto Github PK
View Code? Open in Web Editor NEWBuild .NET Win32/WinForms/WPF WebView2 HTML5 Desktop Apps
License: MIT License
Build .NET Win32/WinForms/WPF WebView2 HTML5 Desktop Apps
License: MIT License
Is it possible to access embedded resources of the assembly itself instead of local folders?
I just want to package it into a single-file application
Are you planning that also for Linux and Mac? Since "TryPhotino" has finished the support for Blazor and otherwise seems to be dead, that would be a good alternative to bypassing the restrictions (notifications, patented codecs) from CEF. Since the "Blazor Desktop" was killed by Microsoft with .NET MAUI (they wanted too much, the "Eierlegendewollmilchsau", do not know the English term) this project would be a really good alternative for Blazor developers.
Hi, this is a awsome project.
I want to use it in my work, but i found that it cannot used in .net framework's wpf project.
So i forked it and add net461 to TargetFrameworks.
This is my commit.
I changed a few lines of code to compile and passed testcase.
It passed unittests but I don't konw if there is some other problems when i use it in .net framework.
If there is no major problem, Could i create a pr for this?
I want to push messages from winform to html5(React or VUE), but how to do?
I have tried to do like in Chromely. But it doesn't seems to be the way to go. Because _config.DevToolsUrl
doesn't exist. And I don't find a way to access to the ICoreWebView2 in order to call the OpenDevToolsWindow()
in WebView2.
1、How to customize the size of the main form?
2、How can I set the main form to have no borders?
3、How to set the main form icon?
4、How to customize the main form Minimize Maximize and Close?
@mattkol, I want to use newest stable version of webview2, how can I do that? Do I just have to provide a fixed version of it using this option? https://github.com/edgesharp/EdgeSharp/blob/af12bba0377510dddc6d4a2f68201afd262a4aad/src/EdgeSharp.Core/Configuration/WebView2CreationOptions.cs#L53
I tried and couldn't realize it. I looked at the source code and it seems that it doesn't support it.
I have set WebView2CreationOptions.AreDefaultContextMenusEnabled = false;
in SampleEdgeSharpConfig.cs
to disable the right click. I am based on the Win32 sample. The problem is between the window creation and the render of the webview. During this interval the right click (so the context menu) can be trigger. But when the page is loaded and displayed by the web view, the context menu no longer works as expected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.