![]() ![]() NET UI shell and a WebView canvas, while taking advantage of all of Chromium’s UI capabilities. If you’re prepared to build only for Windows, then you can do a lot more through a. WebView 2 lets Web code access native APIs directly, rather than working through a PWA’s cross-platform APIs. Microsoft describes these as hybrid applications, mixing native code with Web where necessary. With WebView 2 you can use a snippet of Web code to handle a specific UI case or wrap an entire website as an application, building your own. WebView 2 is an important piece of the modern application platform, providing a framework for embedding HTML, JavaScript, and CSS in your code as part of a hybrid app, somewhere on the spectrum between a native app and a Progressive Web App (PWA). With Microsoft pushing regular builds through multiple channels, you can be ready for new features before you ship code to your users. The new WebView release builds on the current Chromium-based Edge browser releases, offering the same features using the same process and resource model. Although you could use feature detection to work your way around CSS issues, more complex features required more code for fallbacks to lower specifications. Relying on the Windows install for support ensured that you were tied to using the lowest common denominator set of features. That meant it was limited to Windows feature updates for updates to HTML and JavaScript, with security fixes as part of Patch Tuesday. The original WebView used the EdgeHTML engine to embed HTML content in your applications. One of the first new controls to get a release is an update to the familiar WebView. ![]() ![]() Microsoft is changing its delivery model, no longer updating with Windows but as technologies change and as new features are developed. At heart it’s a decoupling of controls from APIs, a new method for both how they’re shipped and how you can package them with your code. Microsoft’s move to a new set of Windows controls as part of the WinUI 3 libraries is one sign of its rethinking how the Windows SDKs are developed and delivered.
0 Comments
Leave a Reply. |