# Blazor-Code-Gen **Repository Path**: csm12s/Blazor-Code-Gen ## Basic Information - **Project Name**: Blazor-Code-Gen - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-11 - **Last Updated**: 2025-04-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **Blazor-Code-Gen** **Blazor Web 系统代码生成器** [Gitee](https://gitee.com/csm12s/Blazor-Report-Editor.git) [Github](https://github.com/csm12s/Blazor-Report-Editor.git) **Generate Web system based on DB** **根据DB生成Web系统** ・Server服务器:C# .Net, Entity Framework, RazorEngine ・Client客户端:C# .Net, Blazor/WPF, And Design UI ・环境:Windows、SQL Server **Document 文档** This project is based on Gardener v1, for document and latest Gardener v3, check url: https://gitee.com/hgflydream/Gardener Tables 添加数据库表: ![1](https://github.com/csm12s/Blazor-Web-App-Code-Generation/assets/64699457/9ef0fd28-dd7f-444c-aa75-afb62c364e94) Edit 编辑: ![2 edit](https://github.com/csm12s/Blazor-Web-App-Code-Generation/assets/64699457/98d72c67-c7fc-4944-a5e1-2b7ab7074169) Edit Column Details 编辑表的列信息: ![3 setting](https://github.com/csm12s/Blazor-Web-App-Code-Generation/assets/64699457/f81de584-197e-4599-b242-7ea3afbd3a67) **Generated Files 生成的文件** 1,Server:Model、Controller、Service、API Controller、Locale Files... 2,Client:Web Page、API Controller... 3,Other Files:VisualStudio Project File、Json Config... ![NKl2mjMLdJ](https://github.com/csm12s/Blazor-Code-Gen/assets/64699457/101313d5-0334-4a64-afa8-78a4d4fe403f) DB Table Locale 数据库表多语言文件: ![Ym2hWo4bC0](https://github.com/csm12s/Blazor-Code-Gen/assets/64699457/49cc4309-407c-47a7-beb8-66dfff4b2421) **RazorEngine Source Code 代码生成模版** Model Template: ![model temp](https://github.com/csm12s/Blazor-Code-Gen/assets/64699457/14601a36-d545-4a11-93d4-b045ba0835ac) View Page Template: ![view temp](https://github.com/csm12s/Blazor-Code-Gen/assets/64699457/7d2651d9-a2e0-48b7-ba0a-a67317f7da6f) Other Files Templates (SQL, XML, Json...): ![FAkPWYmxvf](https://github.com/csm12s/Blazor-Code-Gen/assets/64699457/288e25f5-5af2-4af1-b12d-40d82cb8be96) End