YourWeather
June 28, 2023 · View on GitHub
English | 简体中文
Blazor cross-platform entry-level Demo, sharing one Rcl (Razor Class Library) for multiple projects, obtains current weather and weather forecasts through weather APIs, has multiple weather sources, and can also select weather from specified locations.
Blazor WebAssembly / Blazor Server / MAUI / Winform / WPF / Photino Blazor
Characteristics
- Multiple weather sources
- AMap
- OpenWeather
- QWeather
- SeniverseWeather
- VisualCrossing
- Positioning
- Through Darnton. Blazor. DeviceInterop Implementation
- Location permission reference in Maui Blazor Maui BlazorPermissionsExample
- Persistence storage
- Using LocalStorage in Blazor WebAssembly and Blazor Server
- Using the preferences provided by Maui in Maui Blazor
- Using LocalStorage in Winform、WPF
- Using LocalStorage in Photino
- Theme switching
- By MASA. Blazor Provide
- Additional support for following system theme
- Additional support for changing the color of Maui's status bar/title bar
- Additional support for Winform、WPF title bar dark mode
- Additional support for Photino Windows title bar dark mode
- Opening external links using default browser
- Creating
<a>tag through JavaScript
- Creating
Screenshot
| Blazor WebAssembly | Blazor Server | MAUI Android |
| Winform | WPF | |
| MAUI Windows | Photino Linux ( Deepin ) | |
Related technologies
- Front end framework: Blazor
- UI component library: Masa Blazor
- Cross platform UI framework: Maui
- Desktop UI framework: Winform, WPF
- Lightweight cross platform framework
Project structure
For details ./YourWeather/README.md
Supported Platforms
- Web
- Blazor WebAssembly
- Blazor Server
- Windows
- Maui Blazor
- Winform (Blazor Hybrid)
- WPF (Blazor Hybrid)
- Photino Blazor
- Linux
- Photino Blazor
If unable to run on Linux, please refer to here
- Android
- Maui Blazor
- iOS
- Maui Blazor
- Mac
- Maui Blazor
- Photino Blazor
Thank you for the following open source projects
- .NET MAUI
- AreaCity-JsSpider-StatsGov
- ASP.NET Core
- Blazored.LocalStorage
- Darnton.Blazor.DeviceInterop
- MASA.Blazor
- Masa.Template
- MauiBlazorPermissionsExample
- MauiBlazorToolkit
- P/Invoke
- Photino.Blazor
- QWeather Icons
The above rankings are in no particular order