Add MAUI hosting extension for generic host #177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new .NET MAUI example application to the repository, demonstrating how to use the
Extensions.Hosting.Mauilibrary for cross-platform app development. The changes include the addition of a fully structured MAUI sample app, platform-specific files for Android, MacCatalyst, and Windows, as well as integration with the hosting and dependency injection system.The most important changes are:
Addition of the MAUI Example Application:
Extensions.Hosting.Maui.Example.csprojtargeting Android, iOS, MacCatalyst, and Windows, with all necessary configuration for resources, dependencies, and build settings.App.xaml,App.xaml.cs,AppShell.xaml,AppShell.xaml.cs,MainPage.xaml,MainPage.xaml.cs) to define the app structure, navigation, and UI. [1] [2] [3] [4] [5] [6]Integration with Hosting and Dependency Injection:
MauiProgram.csto set up the host, register services and pages, and configure the MAUI context, demonstrating the use ofReactiveMarbles.Extensions.Hosting.Maui.ExampleMauiServiceimplementingIMauiServiceto show service registration and initialization.Platform-Specific Implementations:
AndroidManifest.xml,MainActivity.cs,MainApplication.cs, and resource files for colors and icons. [1] [2] [3] [4]AppDelegate.cs,Info.plist,Entitlements.plist, andProgram.cs. [1] [2] [3] [4]App.xaml.Minor Improvements:
IUiContextinterface documentation to generalize the application running state property.