Announcing General Availability for Microsoft Edge WebView2 for .NET and Fixed Distribution Method

Olia Gavrysh

Olia

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

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

19 comments

Comments are closed. Login to edit/delete your existing comments

  • Avatar
    James Best

    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 ScrollViewer?

    • Avatar
      Max Mustermueller

      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.

  • Avatar
    Max Mustermueller

    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 runtime gets shipped with Windows Updates by default, so we don’t have to carry ~150mb “Edge runtime” with our application. I know that devs are working on this but please… let it be good and let it be “it just works”.

  • Lior Banai
    Lior Banai

    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?

    • Avatar
      switchdesktopwithfade@hotmail.com

      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 considering that it has to work on multiple platforms with different APIs. That’s really the way this should be done, not one-HWND-fits-all.

  • Avatar
    Byron Adams

    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?