Posts

Showing posts with the label .NETDevelopers

What's New in .NET MAUI for .NET 9: Exploring the New Controls

Image
The latest .NET MAUI 9 introduces two new exciting controls: HybridWebView and Titlebar for Windows. Let's explore these controls and how you can integrate them into your applications. Please, support my blog by clicking on our sponsors ad! HybridWebView The HybridWebView control allows you to host HTML, JavaScript, and CSS content in a web view, enabling communication between the code in the web view (JavaScript) and the hosting code (C#/.NET). For example, you can host an existing React JS app in a .NET MAUI native app and build the backend using C# and .NET. To create a .NET MAUI app using HybridWebView, you need: Static web content (HTML, JS, CSS, etc.) The HybridWebView control as part of the app UI (referenced in XAML) Code in both the web content and the C#/.NET side to send messages between components For more information, refer to the official HybridWebView documentation . T...