Today, we are excited to announce that Microsoft Edge WebView2 is now generally available for use in production .NET 5, .NET Core, and .NET Framework Windows Forms and WPF applications on existing Windows versions! Additionally, we are thrilled to announce that WebView2’s Fixed Version Distribution mode is also generally available for production applications.
Previously, at Build, we introduced the .NET preview of WebView2, Microsoft’s latest browser control built on the new Chromium-based Microsoft Edge that renders web content (HTML / CSS / JavaScript) in .NET applications. In October, we announced that WebView2 would be generally available for Win32 C/C++ applications.
We want to thank all of our early users and developers that engaged with us throughout the WebView2 Preview period. The tremendous amount of support and enthusiasm we’ve received from the community has been unparalleled. Constant feedback, bug reports, and feature requests have helped shape the WebView2 product roadmap and we look forward to continuing to respond to the needs of the community.
To learn more check out our documentation, a history of .NET browser controls, our Win32 announcement, additional WebView2 resources, and watch the demo of the usage of the WebView2 control from the .NET Conf 2020 keynote below.
Going forward, we will continue updating the WebView2 SDK approximately every 6 weeks driven by your feedback. To keep up with the latest updates checkout our Release Notes and follow the WebView2 Announcements Repo.
Getting Started
To get started with WebView2, check out our getting started guides:
- Getting started guide for Windows Forms
- Getting started guide for WPF
- Getting started guide for WinUI 3.0
- Getting started guide for Win32
Give us your feedback
Your feedback is our main factor in creating the Roadmap and prioritizing work items. Please share your opinions, suggestions, and details on your scenarios in our feedback repo. We appreciate your help!
We can’t wait to see what you build!
Palak Goel, Program Manager, Microsoft Edge
Olia Gavrysh, Program Manager, .NET
Is there any plans on releasing the WebView2 Runtime per user install (i.e. doesn’t require run with elevation)?
So what’s the situation with WebView2 (Chromium Edge which is win32) and Xbox?
I’m a bit confused. Why is the GA version 1.0.664.37 less than the 1.0.674-prerelease that I have been using for WPF. And why does the nuget description for the GA version not say anything about WPF like the prereleases that I have been using. Is it really ready for WPF?
The version of the package is dependent on the version of the WebVIew2 Runtime required to run the package. The pre-release package requires the latest version of the WebView2 Runtime to work. Read more here: https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/versioning
Thank you for the response. I understand that. However, that did not answer my question.
Hello olia
i want to start programming
I don’t know what I must choose and wich one is better c++ , python or c# .
can you guide me
thanks
Silent deployment is great, why. Net5 doesn’t provide us with silent deployment mode…
When will be WebView2 for UWP available? I’m waiting for it …
It’s available now – see https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/winui
Thanks, but it is currently in alpha(preview) version. When it will be go live?
Sadly we probably can’t use it this year yet.
Does it support transparency in Winforms? If I put control behind it and the browser control has transparency page will I be able to see the control behind it and interact with it?
Anything that uses an HWND container will have airspace issues on XAML/DirectX-based frameworks and will necessarily be an incomplete user experience.
I would like to know the basics of how HwndHost.IsRedirected/CompositionMode was implemented, even though I don't consider it a final solution for Webview2. Maybe it's something we the community can build without official sanction or delay.
I would be shocked if the Chromium engine didn't support direct rendering to (or input from) an abstract interface, especially...
@Lior
There are known bugs with the z-order on WinForms and WPF: https://github.com/MicrosoftEdge/WebView2Feedback/issues/356. If you could try it out or better describe your scenario in the WebView2 Feedback repo linked in the article, the team would be happy to follow up.
I'm using it within WPF and it works very well. I like that devs are extremely actively listening to community requests. Changes to the cookie system has been a godsend so far and the devs got this very quickly implemented. I can only recommend everyone checking out the feedback repo. If there is anything you want to address, this is the perfect place.
The only thing I would wish for this project is that the necessary...
Olia, this is great news for something I work directly on. One thing I wonder though is there any way to modify the styling for the WebView2 in WPF? More specifically I need to change the scrollbar to match a certain style. Is there a way to do that or do I need to just make the whole WebView2 take up the whole document size it's displaying and then wrap it in a...
Why don't you just upvote the existing issue https://github.com/MicrosoftEdge/WebView2Feedback/issues/435 instead of replying your question to a blog post. But as you might read from the response to this issue, this likely won't ever happen. The WPF control is basically a native control hosted. The scrollbar is likely a native scrollbar. Thus you won't be able to style it. But again, upvote to show your interest. Otherwise it looks like nobody cares.
Thank you James for your feedback and Max for referencing the issue! That is exactly the place for following up on it, let’s move the discussion to the github issue.
Hi James,
Can you upvote and follow up on the existing GitHub issue? In general responding to the feedback repo is the best way to submit feedback, report bugs, and request feedback.