Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danroth27/BlazorWeather
Blazor Weather
https://github.com/danroth27/BlazorWeather
Last synced: 2 months ago
JSON representation
Blazor Weather
- Host: GitHub
- URL: https://github.com/danroth27/BlazorWeather
- Owner: danroth27
- License: mit
- Created: 2019-09-18T10:57:22.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-04-22T14:18:57.000Z (over 2 years ago)
- Last Synced: 2024-04-13T21:47:16.708Z (9 months ago)
- Language: C#
- Homepage: https://aka.ms/blazorweather
- Size: 2.08 MB
- Stars: 245
- Watchers: 20
- Forks: 57
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazor - Blazor Weather - ![stars](https://img.shields.io/github/stars/danroth27/BlazorWeather?style=flat-square&cacheSeconds=604800) ![last commit](https://img.shields.io/github/last-commit/danroth27/BlazorWeather?style=flat-square&cacheSeconds=86400) A Blazor Weather sample app that shows the current weather for your current location and a collection of pinned locations. Demonstrated at .NET Conf 2019 by Daniel Roth. [Demo](https://aka.ms/blazorweather). (Sample Projects / Others)
README
# Blazor Weather
A simple cross-platform weather app implemented using Blazor and .NET MAUI
## Run the sample
Install [.NET 6](https://dotnet.microsoft.com/download/dotnet/6.0) and setup [.NET MAUI](https://docs.microsoft.com/dotnet/maui/get-started/installation),
### Windows
To run the Windows version of the app, open the solution in the latest [Visual Studio 2020 preview](https://visualstudio.com/preview). You will also need to install the [Single-project MSIX Packaging Tools](https://marketplace.visualstudio.com/items?itemName=ProjectReunion.MicrosoftSingleProjectMSIXPackagingToolsDev17) 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
```