Forum Discussion
Jacob_Persson
Nov 08, 2021Copper Contributor
Example code for Maui Shell
I am using the transition from Xamarin forms to Maui as an excuse to start using Shell as well. Since Shell has been in the Maui previews for a long time now, I thought it would be easy to get st...
- Nov 08, 2021You can find one such sample for making use of Shell made available in the GitHub repository https://github.com/egvijayanand/dotnet-maui-samples
jfversluis
Microsoft
Nov 08, 2021The Shell feature has been completed recently for .NET MAUI. I think the templates have to catch up to that. That is probably also the reason why there isn't a lot of content for it yet.
However, the API will be exactly the same between Xamarin.Forms and .NET MAUI. You should be able to learn about Shell in Forms and apply that to .NET MAUI. If you really want to do it in .NET MAUI right now, you might want to create a Forms one and see if you can convert that to .NET MAUI. Then you have also learned how to do that 😄
I get that it's not ideal right now, I hope the templates that you can use for this will be there soon.
BConr715
Jun 22, 2022Copper Contributor
What would be useful are Cookbook examples. Flutter has them and they make things a lot easier. Most people here know now to program the just need the basics of how something is supposed to work. MSDN examples were often that way. Trying to sort this out off someone's demo app code isn't quite so easy.