Add New .NET MAUI Template with Syncfusion Toolkit Integration
This PR introduces a fully featured sample app as part of the new .NET MAUI project experience. When you choose to include the sample content in a new .NET MAUI project, you will find a fully functional to-do app that will bring balance to every .NET developer's life. You can create projects, and projects can have tasks. It uses controls from the new Syncfusion Toolkit for .NET MAUI to visualize the data. and to persist the data we use a local database based on SQLite. Furthermore, the sample app uses common patterns, like MVVM, and libraries that you will find in almost every .NET MAUI application.
The libraries that are included in the sample content are:
- Syncfusion Toolkit for .NET MAUI
- .NET MAUI Community Toolkit
- CommunityToolkit.Mvvm
- SQLite
We believe that this sample app will give you a flying start when you begin working with .NET MAUI.
When creating a new .NET MAUI project from Visual Studio, you can check the box to include all this sample code and get a sense of what an actual .NET MAUI project looks like. Also, dotnet new maui from the command line will now include this content. If you wish to opt-out you can do dotnet new maui --empty or, when using Visual Studio, you can uncheck the box.
Hey there @PaulAndersonS! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.
@dotnet-policy-service agree
Thanks @PaulAndersonS!
Everyone, please review and comment especially on the guidance and patterns this template provides.
Providing a more full featured sample in the templates is something we are often asked for by developers (often in their learning journey), while also retaining the empty template.
I notice no screenshots of Windows usage. Is Windows supported for this template or is it exclusively for mobile platforms?
I notice no screenshots of Windows usage. Is Windows supported for this template or is it exclusively for mobile platforms?
Windows is tested and supported. Someone could add some screenshots for completeness.
I notice no screenshots of Windows usage. Is Windows supported for this template or is it exclusively for mobile platforms?
Windows is tested and supported. Someone could add some screenshots for completeness.
Added Windows screenshots
I am surprised that a SyncFusion Toolkit integration is being waved through so easily into the official template (even though it is free).
Don't other commercial providers such as DevExpress or Telerik feel offended by this?
I don't care, but I just wanted to point it out.
Really like this but when it's in place can it be that the current empty template is the default and this new template that is awesome becomes an opt in or check box option.
Be nice if the template had some simple tests for testing the VM's and UI this seems to be where most projects struggle that I see in teams I help out with.
Really like this but when it's in place can it be that the current empty template is the default and this new template that is awesome becomes an opt in or check box option.
Be nice if the template had some simple tests for testing the VM's and UI this seems to be where most projects struggle that I see in teams I help out with.
I think it would be even better to have a check-box for each of the included toolkits, along with a '?' that links to the appropriate community landing page. For example,
- [ ] Syncfusion Toolkit for .NET MAUI
- [ ] .NET MAUI Community Toolkit
- [ ] CommunityToolkit.Mvvm
- [ ] SQLite
I am surprised that a SyncFusion Toolkit integration is being waved through so easily into the official template (even though it is free).
Don't other commercial providers such as DevExpress or Telerik feel offended by this?
I don't care, but I just wanted to point it out.
We welcome all contributions, and there are various ways. This is just one of them.
More context for this PR: https://devblogs.microsoft.com/dotnet/dotnet-maui-welcomes-syncfusion-open-source-contributions/
I think it would be even better to have a check-box for each of the included toolkits, along with a '?' that links to the appropriate community landing page. For example,
Yeh, that's something we could do in the future. There are other VS extensions that provide this kind of experience today.
@pictos I tracked some of your comments here https://github.com/dotnet/maui/issues/25515
Because I think they are useful to have a longer discussion about a few of these
This is great, but don't make it the default one. Maybe something like:
dotnet new maui --sf and series of prompts to include additional options specific to Syncfusion.
This is great, but don't make it the default one. Maybe something like:
dotnet new maui --sfand series of prompts to include additional options specific to Syncfusion.
It's not the default one anymore
Unless you're seeing something I missed?
https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10449958&view=results https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10450238&view=results https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10450239&view=results https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10450241&view=results