Skip to content

danroth27/BlazorWeather

Repository files navigation

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 2020 preview. You will also need to install the Single-project MSIX Packaging Tools Visual Studio extension.

Select the BlazorWeather.Maui project as the startup project. Also select Windows from the Run drop down menu. 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 in the Run button drop down menu. 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