Maui / Blazor
.NET Multi-platform App UI (MAUI) is the next evolution of cross-platform UI solution for .NET developers,
.NET MAUI simplifies the choices for .NET developers, providing a single stack that supports all modern workloads: Android, iOS, macOS, and Windows. The native features of each platform and UI control are within reach in a simple, cross-platform API for you to deliver no-compromise user experiences while sharing even more code than before. (Scott Hunter)
MVVM
Model-View-ViewModel (MVVM) and XAML, the predominant pattern. Support both the existing MVVM and XAML patterns as well as future capabilities like Model-View-Update (MVU) with C#, or even Blazor.
MVU
In addition, we are enabling developers to write fluent C# UI and implement the increasingly popular Model-View-Update (MVU) pattern. Code-first development experience that rapidly updates the UI by applying only the changes necessary.
BLAZOR
Interactive web UI with C# - BLAZOR
Blazor lets you build interactive web UIs using C# instead of JavaScript. Blazor apps are composed of reusable web UI components implemented using C#, HTML, and CSS. Both client and server code is written in C#, allowing you to share code and libraries.
Steve Sanderson
Run on WebAssembly or the server
Blazor can run your client-side C# code directly in the browser, using WebAssembly. Because it's real .NET running on WebAssembly, you can re-use code and libraries from server-side parts of your application.
Alternatively, Blazor can run your client logic on the server. Client UI events are sent back to the server using SignalR - a real-time messaging framework. Once execution completes, the required UI changes are sent to the client and merged into the DOM (Document Object Model) Document that represents all elements on a HTML page as nodes in a tree structure. Using the DOM elements can be updated, added and removed from the page
Your C# code can easily call JavaScript APIs and libraries.
Comments
Post a Comment