Skip to content

fvilches17/Blazor.WeatherMaster

Repository files navigation

Introduction

This is a project to demonstrate how Blazor can be used by .NET teams to boost their productivity when writing web applications

Moreover, this project is a PoC to try out Syncfusion Blazor Components

Getting Started (Run solution on local machine)

Pre-Requisites

  1. Install .Net5 on your machine. Download Link. This applies if you're using VSCode for Dev.
  2. Make sure you have the the latest version of Visual Studio. By downloading the latest, you get .Net5 automatically
  3. Add your Syncfusion key to the appsettings.Development.json file. In order to get a paid or trail key, check out Syncfusion getting started doc

Steps

  1. Clone the repository from here
  2. In Visual Studio, open the Solution (.sln file), choose WeatherMaster.csproj as your startup project, and hit CTRL+F5 or F5
  3. If using VSCode/CLI, run the dotnet run command inside the same folder as the WeatherMaster.csproj file
  4. That's it! the app will open up on your default browser

Build and Test

This app is deployed to Plexure's Azure Cloud. This repository has an Infrastructure folder containing all necessary files to automate deployment

  • ARM Templates
  • ARM Template parameters
  • YAML Pipeline file

Whenver there code push to the Main branch this CI / CD Pipeline will get automatically triggered.

The pipeline runs tests. So granted all tests are passing, the development environment will get deployed.

Environments

Blazor Learning Resources