maui/README.md

109 строки
4.9 KiB
Markdown
Исходник Обычный вид История

2020-09-22 19:57:12 +03:00
# Introducing .NET Multi-platform App UI (MAUI)
2020-09-22 19:57:12 +03:00
.NET MAUI is:
2020-09-22 19:57:12 +03:00
* Multi-platform native UI
* Deploy to multiple devices across mobile & desktop
* Using a single project, single codebase
* Evolution of [Xamarin.Forms](https://github.com/xamarin/xamarin.forms)
2020-10-02 22:05:08 +03:00
* Targeting .NET 6, previews end of year
2020-12-06 01:45:54 +03:00
## Current News
2020-12-06 01:45:54 +03:00
[![](Assets/poster-standup.png)](https://www.youtube.com/watch?v=5bK2ICHtMxo)
2020-12-06 01:45:54 +03:00
Watch our [December 2020 .NET Community Standup report](https://www.youtube.com/watch?v=5bK2ICHtMxo) for the latest information about our progress on .NET MAUI and .NET 6.
Additional live streams and presentations:
* September 19, 2020 - Shane Neuville at ReactiveUI Virtual Conference: [Dual Screen, .NET MAUI, and RxUI](https://www.youtube.com/watch?v=Rkz6Dkk1uWU)
* October 3, 2020 - James Clancey at Xamarin Expert Day: [.NET MAUI MVU](https://www.youtube.com/watch?v=9kwrgm_-FCk)
* October 3, 2020 - David Ortinau at Xamarin Expert Day: [Introducing .NET MAUI](https://youtu.be/qbHO8J3bId0)
* December 2, 2020 - Javier Suarez Ruiz at MonkeyConf: [.NET MAUI Handlers](https://youtu.be/o99qbIOc9X4?t=26040) (Spanish)
## Status: Active Development
While [Xamarin.Forms](https://github.com/xamarin/xamarin.forms) continues to be actively supported through November 2022, we are making evolutionary changes based on customer research of what would be most beneficial. Current areas of focus are:
* Porting renderers to handlers ([spec](https://github.com/dotnet/maui/issues/28))
* Adapting layouts for handlers
* WinUI 3 preview 3 early spike
* Mac Catalyst early evaluation
Active development is happening today to build Android and iOS SDKs against .NET 6. [Samples may be found here](https://github.com/xamarin/net6-samples).
2020-09-22 19:57:12 +03:00
### Goals
2020-09-22 19:57:12 +03:00
* Improve app performance
* Improve simplicity of control extensibility
* Improve simplicity of contributing
* Enable developer options to use Model-View-Update (MVU) and Blazor
2020-09-22 19:57:12 +03:00
### Roadmap
2020-09-22 19:57:12 +03:00
.NET MAUI and mobile SDK support will ship in concert with .NET 6. At present we do not have a shipping schedule for .NET 6.
2020-09-22 19:57:12 +03:00
### Milestones
2017-07-07 02:36:47 +03:00
2020-10-02 22:05:08 +03:00
* .NET MAUI previews Q4 2020 through Q3 2021
2020-09-22 19:57:12 +03:00
* [Renderer architecture revisions](https://github.com/dotnet/maui/issues/28)
* Source solution and project simplification
* Complete approved proposals
* Implement MVU
* .NET MAUI release candidate September 2021
* .NET MAUI general availability November 2021
2017-07-07 02:36:47 +03:00
2020-09-22 19:57:12 +03:00
## Xamarin.Forms vs .NET MAUI
2017-07-07 02:36:47 +03:00
2020-09-22 19:57:12 +03:00
| |Xamarin.Forms |.NET MAUI |
|---------|---------|---------|
|**Platforms** | | |
|Android |API 19+ |API 21+ |
|iOS |9-15 |10+ |
|Linux |Community |Community |
|macOS |Community |Microsoft |
2020-09-22 19:57:12 +03:00
|Tizen |Samsung |Samsung |
|Windows |UWP Microsoft<br/>WPF Community |Microsoft<sup>*</sup> |
2020-09-22 19:57:12 +03:00
|**Features** | | |
|Renderers |Tightly coupled to BindableObject |Loosely coupled, no Xamarin.Forms dependencies |
2020-12-08 01:21:49 +03:00
|App Models |MVVM |MVVM |
| |RxUI |RxUI |
| | |MVU <sup>**</sup> |
| | |Blazor <sup>**</sup> |
2020-09-22 19:57:12 +03:00
|Single Project |No |Yes |
|Multi-targeting |No |Yes |
|Multi-window |No |Yes |
|**Misc** | | |
|.NET |Xamarin.iOS, Xamarin.Android, Mono, .NET Framework, ... |.NET 6+ |
|XAML Hot Reload|Experimental: SDK 4.x & Visual Studio 2019 prior to version 16.9<br>Feature Complete: SDK 5.x & Visual Studio 2019 version 16.9 or newer|Yes|
|.NET Hot Reload|iOS/Android – No<br>UWP – Limited support for runtime edits using .NET “Edit & Continue”|Yes|
2020-09-22 19:57:12 +03:00
|Acquisition |NuGet & Visual Studio Installer |dotnet |
|Project System |Franken-proj |SDK Style |
|dotnet CLI |No |Yes |
|**Tools** | | |
|Visual Studio 2019 |Yes |Yes |
|Visual Studio 2019 for Mac |Yes |Yes |
2020-12-06 01:45:54 +03:00
|Visual Studio Code |No |Experimental<sup>***</sup> |
<sup>*</sup> The Windows implementation is expected to be WinUI 3, pending GA release.
<sup>**</sup> These app models are experimental.
<sup>***</sup> Visual Studio Code will work by virtue of .NET unification, however not all experiences that make .NET MAUI development delightful (intellisense for example) may be enabled at the time of .NET 6 release.
2020-09-22 19:57:12 +03:00
## FAQs
2020-09-22 19:57:12 +03:00
Do you have questions? Do not worry, we have prepared a complete [FAQ](https://github.com/dotnet/maui/wiki/FAQs) answering the most common questions.
2020-09-22 19:57:12 +03:00
## How to Engage, Contribute, and Give Feedback
2020-09-22 19:57:12 +03:00
Some of the best ways to [contribute](./CONTRIBUTING.md) are to try things out, file issues, join in design conversations,
and make pull-requests. Proposals for changes specific to MAUI can be found [here for discussion](../../issues).
2020-09-22 19:57:12 +03:00
See [CONTRIBUTING](./CONTRIBUTING.md)
2020-09-22 19:57:12 +03:00
## Code of conduct
2020-09-22 19:57:12 +03:00
See [CODE-OF-CONDUCT](./CODE-OF-CONDUCT.md)