If ten different apps on a user’s machine use Evergreen WebView2, they all share the same set of binaries on the disk. This saves significant storage space compared to every app bringing its own "Fixed" version. How it Works: The Runtime and the Loader
Because the Evergreen runtime is shared across the entire operating system, multiple applications can use the same installation files. This reduces the overall disk footprint and optimizes memory usage on the client machine. Modern Web Standards
Implementing the Evergreen model involves ensuring the runtime is present and updating the SDK in your code. 1. Distributing the Runtime There are two main approaches for deploying the runtime: evergreen webview2
For newer systems, the Evergreen WebView2 Runtime is already included as part of the operating system.
Security is the biggest headache for developers using embedded browsers. In older frameworks (like the original WebView based on EdgeHTML or IE), developers had to wait for OS updates or manually bundle new engines to patch vulnerabilities. With Evergreen WebView2, as soon as Microsoft patches a security flaw in Edge, your application is protected without you having to lift a finger. 2. Reduced App Size If ten different apps on a user’s machine
: Implement robust handlers for runtime-process failures or exits to prevent your app from crashing if the underlying engine encounters an issue.
Instead of checking for a specific version number, use JavaScript feature detection to see if a new web API is available. Conclusion This reduces the overall disk footprint and optimizes
With cyber threats evolving, automatic updates ensure your application isn't vulnerable to publicly known security flaws in older Chromium versions.
Evergreen WebView2 is suitable for various use cases, including:
Microsoft’s solution to this demand is the . While WebView2 provides the framework, its true power lies in its default distribution model: Evergreen WebView2 .
For most modern desktop applications, the Evergreen model is the recommended choice. It offers distinct operational advantages. Continuous Security Patches