An open API service indexing awesome lists of open source software.

https://github.com/draud-egomann/blazorrazdentemplate

Template for Blazor Web App using the Radzen Blazor Components Library V. 4.31.3
https://github.com/draud-egomann/blazorrazdentemplate

asp-net-core blazor blazor-server radzen-blazor-components web-app-template

Last synced: over 1 year ago
JSON representation

Template for Blazor Web App using the Radzen Blazor Components Library V. 4.31.3

Awesome Lists containing this project

README

          

# Blazor Radzen Web App Template

This is a template for a Blazor Web App using the Radzen Blazor Components Library. The project is configured to run with a Docker Compose configuration also splitting the database and the application.

## Prerequisites

- [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- [Docker Engine](https://docs.docker.com/engine/install/)
- [Docker Desktop (optional)](https://www.docker.com/products/docker-desktop/)

## Project Configurations

### Web

The `Web` project contains the Blazor Web App. The project is configured to use the Radzen Blazor Components Library. The project is also configured to use the `Data` project as the database context.

- Radzen Blazor Components Library NuGet Package **Version 4.31.3**

### docker-compose

The `docker-compose` project contains two start profiles, `docker-compose` and 'DB only'. The `docker-compose` profile will start the application and the database, while the 'DB only' profile will only start the database.

## Create Migrations

To create a migration the Data Directory must be the current Project Directory, then a migration can be created normally with

```bash
Add-Migration [Name]
```

## Project Structure

| Directory | Description |
| --- | --- |
| Data | Contains the models, interfaces and database context for the application. |
| docker-compose | Contains the configuration for the Docker containers. |
| Web | Contains the UI / Frontend of the application. |
| Tests | Contains the unit and integration tests for the application. |

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.