BlazorWeather/README.md

1.0 KiB

Blazor Weather

A simple cross-platform weather app implemented using Blazor and .NET MAUI

Run the sample

Install .NET 6 and setup .NET MAUI,

Windows

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.

Android

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.

iOS

dotnet build BlazorWeather.Maui -t:Run -f net6.0-ios

Mac

dotnet build BlazorWeather.Maui -t:Run -f net6.0-maccatalyst