Summary
In this chapter, we learned about basic navigation and Shell
. We used Shell
as the navigation framework in our app design. We explored the features of Shell
and explained how to use it in our app design.
After we completed most of the user interface design, we enhanced our model by making changes to two service interfaces: IDataStore
and IUserService
. We improved the login process after making changes in the view, view model, and service layers. In the service layer, we are still using the MockDataStore
class. However, we haven’t finalized the implementation in the IDataStore
service to perform the actual login activities yet. We will leave this to the next chapter.
In the next chapter, we will explain dependency injection in .NET MAUI, which is a major difference compared to Xamarin.Forms. We will learn how to register our services via dependency injection and how to initialize our service through constructor injection or property injection. We will also create...