A simple cross-platform weather app implemented using Blazor and .NET MAUI
Install .NET 6 and setup .NET MAUI,
To run the Windows version of the app, open the solution in the latest Visual Studio preview.
Select the "BlazorWeather.Maui.WinUI3 (Package)" project as the startup project and make sure the x64 platform is selected.
Run the app using F5 or Ctrl+F5.
Start the Android emulator first, and then run:
dotnet build BlazorWeather.Maui -t:Run -f net6.0-android
To run from Visual Studio, select the BlazorWeather.Maui as the startup project, and select Android Emulator in the Run button drop down. Run the app using F5 or Ctrl+F5.
dotnet build BlazorWeather.Maui -t:Run -f net6.0-ios
dotnet build BlazorWeather.Maui -t:Run -f net6.0-maccatalyst
- Referencing scoped CSS bundles isn't working properly yet.
- Workaround: Reference the scope bundle directly
- Configuring a root component for a
BlazorWebView
from a different project has some issues.- Workaround: Wrap the root component in another component in the .NET MAUI project.