• Stars
    star
    309
  • Rank 134,710 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created over 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This is a repository for creating a Blazor Server dashboard application following the principles of Clean Architecture

Clean Architecture With Blazor Server

Build CodeQL Nuget Nuget

This is a repository for creating a Blazor Server application following the principles of Clean Architecture. It has a nice user interface, and an efficient code generator that allows you to quickly build amazing web application with .net Blazor technology.

Live Demo

Screenshots and video

Everything Is AWESOME

Development Environment

  • Microsoft Visual Studio Community 2022 (64-bit)
  • Docker
  • .NET 7.0
  • Unit Test

image

Supported Databases

  • PostgreSQL (Provider Name: postgresql)
  • Microsoft SQL Server (Provider Name: mssql)
  • SQLite (Provider Name: sqlite)

How to select a specific Database?

  1. Open the appsettings.json file located in the src directory of the Blazor.Server.UI project.
  2. Change the setting DBProvider to the desired provider name (See Supported Databases).
  3. Change the ConnectionString to a connection string, which works for your selected database provider.

Docker compose https deployment

  • Create self-signed development certificates for the project
    • cmd: dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\Blazor.Server.UI.pfx -p Password@123
    • cmd: dotnet dev-certs https --trust
  • Manage User secrets to save the password
    • cmd: dotnet user-secrets init
    • cmd: dotnet user-secrets -p Blazor.Server.UI.csproj set "Kestrel:Certificates:Development:Password" "Password@123"

Code Generator Extension for visual studio.net 2022

2022.mp4

Install CleanArchitecture CodeGenerator For Blazor App

  • Open Manage Extensions Search with CleanArchitecture CodeGenerator For Blaozr App image
  • Download to Install

CleanArchitecture CodeGenerator For Blazor App Repo

How to install solution templates

  • install the project template
    • run CLI: dotnet new install ./
    • run CLI: dotnet new list
image
  • create a solution with the template

    • run CLI: dotnet new ca-blazorserver-sln or dotnet new ca-blazorserver-sln -n NewProjectName(root namesapces)
  • build a project template with nuget.exe

    • run CLI: .\nuget.exe add -Source .\ CleanArchitecture.Blazor.Solution.Template.1.0.0-preview.1.nupkg image
    • create a new project from Clean Architecture for Blazor Server Solution image

Why I chose Blazor Server

  • I hate switching between C# and JavaScript at the same time in order to develop a project, which is why I opted for Blazor Server.

Characteristic

  • Avoid repeating work

  • Focus on story implementation

  • Integration Hangfire dashboard

  • Implementation OCR image recognition

    image

  • org chart

    image

About

Coming up.

License

MIT License

More Repositories

1

RazorPageCleanArchitecture

This is a solution for creating the Razor Pages Application with ASP.NET Core(.net 7.0) following the principles of Clean Architecture
JavaScript
308
star
2

visitormanagement

helps in managing visitors visiting the institutions for various reasons. It allows visitors to check-in digitally to eliminate the tedious registeration and other paperwork. Additionally, it also keeps a track of every individual inside the campus and their timings. Institutions has guards who enter their detail in some notebooks to keep a log which are practically impossible to reconcile. It is really unpleasent and hectic for visitor to stand at the gate and give details about the visit. To ease the process of registeration, Entry-In, Entry-Out, time tracking and logging the history, this VMS can be of great use!!
C#
196
star
3

CleanArchitectureCodeGenerator

Generate the application features code class that conforms to the CQRS design pattern in the Application project - Visual Studio.net 2022 Extensions plugin
C#
166
star
4

smartadmin.core.urf

Domain Driven Design (DDD) lightweight development architecture(support .net 5.0)
Jupyter Notebook
106
star
5

abpvnextsmartcodegenerator

visual studio.net 2017 extension for abp vnext code generator archetype
C#
24
star
6

ctmswxapp

集装箱运输系统司机端微信小程序原型
JavaScript
19
star
7

iot_water

智慧水务物联网系统是用户单位基于智能水表(包含但不限于NB-lot水表等智能表)、智能消火栓、智能阀门、数据采集终端(RTU或PLC)及其他前置传感器和设备在供水方面的应用管理系统,由这些设备采集到监测点的各种数据
JavaScript
14
star
8

IntelliAlbum

IntelliAlbum - Intelligent Ablum With AI
C#
13
star
9

FacialRecognition

Facial Recognition With Blazor Server Application
C#
9
star
10

excelcompleximport

复杂格式excel转换,excel 转换成 xml
4
star
11

PdfGeneratorApi

This project is a Minimal APIs application built with ASP.NET Core and Playwright. It provides an API to generate PDFs from HTML content or URLs
C#
4
star
12

ctms

集装箱运输TMS系统,功能模块:订单管理,调度管理,机务管理,外部系统对接接口等常用功能,Demo http://221.224.21.30:2021/
JavaScript
4
star
13

csb-sdk.net

The CSB-SDK is a client-side invocation SDK for HTTP or Web Service API opened by the CSB (Cloud Service Bus) product. It is responsible for invoking the open API and signing the request information.
C#
3
star
14

mitms

无车承运人+TMS解决方案
3
star
15

wepyapp

食堂就餐微信小程序
JavaScript
3
star
16

SupplierBidder

该系统需求包括四个主要流程:导入、竞标、开标和交付/收货管理。操作员将询价 Excel 文件导入系统并向供应商发布询价单,供应商在截止日期前进行竞标并可进行重新报价。截止日期后,操作员审核竞标并确认中标供应商,系统通知中标供应商。在收到中标通知后,供应商将获胜标识 QR 码粘贴在包装箱外,并在收到货物时扫描 QR 码以确认产品信息和发票信息。系统还提供了查询功能和移动版本,特别授权的用户可以查看所有竞标信息但无法修改。系统界面应简单易用。
JavaScript
3
star
17

wmsrf-winceclient

C#
1
star
18

neozhu

my personal repository
1
star
19

co-worker-extension

co-worker information extension for edge
HTML
1
star
20

pegatronb2b

世硕B2B平台
JavaScript
1
star
21

Kaifa.B2B.Solution

Kaifa.B2B.Solution, BizTalk RosettaNet Project, ehub solution Data exchange with e2open, Seagate, vMIHub repository using Rosettanet protocol
HTML
1
star
22

mqtt_tutorial

mqtt with emq x broker publish/subscribe tutorial use weixin and vue client
JavaScript
1
star
23

authenticationTutorial

asp.net core authentication tutorial
C#
1
star
24

fulloflife

服务与地摊经济的微信小程序
JavaScript
1
star
25

mailscan

designed for scanning and sorting mail based on recipient information.
C#
1
star