XiaoFeng.Mvc 3.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package XiaoFeng.Mvc --version 3.1.1                
NuGet\Install-Package XiaoFeng.Mvc -Version 3.1.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XiaoFeng.Mvc --version 3.1.1                
#r "nuget: XiaoFeng.Mvc, 3.1.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XiaoFeng.Mvc as a Cake Addin
#addin nuget:?package=XiaoFeng.Mvc&version=3.1.1

// Install XiaoFeng.Mvc as a Cake Tool
#tool nuget:?package=XiaoFeng.Mvc&version=3.1.1                

XiaoFeng.Mvc

fayelf

Nuget Downloads Nuget Nuget (with prereleases)

Nuget:XiaoFeng.Mvc

QQ群号 QQ群 公众号
748408911 QQ 群 畅聊了个科技

源码: https://github.com/zhuovi/xiaofeng

教程:https://www.yuque.com/fayelf/xiaofeng.mvc

.net core 基础类,快速开发CMS框架,真正的低代码平台,自带角色权限,WebAPI平台,后台管理,可托管到服务运行命令为:应用.exe install 服务名 服务说明,命令还有 delete 删除 start 启动 stop 停止。

XiaoFeng

XiaoFeng generator with XiaoFeng.

Install

.NET CLI

$ dotnet add package XiaoFeng.Mvc --version 3.1.1

Package Manager

PM> Install-Package XiaoFeng.Mvc --version 3.1.1

PackageReference

<PackageReference Include="XiaoFeng.Mvc" Version="3.1.1" />

Paket CLI

> paket add XiaoFeng.Mvc --version 3.1.1

Script & Interactive

> #r "nuget: XiaoFeng.Mvc, 3.1.1"

Cake

// Install XiaoFeng.Mvc as a Cake Addin
#addin nuget:?package=XiaoFeng.Mvc&version=3.1.1

// Install XiaoFeng.Mvc as a Cake Tool
#tool nuget:?package=XiaoFeng.Mvc&version=3.1.1

XiaoFeng.Mvc

操作说明

打开Program.cs入口文件

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();

app.MapGet("/", () => "Hello World!");

app.Run();

把上边代码替换成

await XiaoFeng.Mvc.ApplicationManager.Load(args).RunAsync(() => XiaoFeng.Mvc.WebHost.Create(args, services =>
{
/*可配置services*/
}, app =>
{
/*
可配置app
引用中间件
配置路由
*/
}, endpoint =>
{
/*
配置路由
*/
}, true));

最后一个参数 init:false|true 这个参数是是否初始化数据库及配置,如果是true每次启动都会初始化数据库,如果数据库存在则更新,不存在则生成,如果是false是不会初如化数据库 接下来引用 System.Data.Sqlite 因为当前项目默认数据库用的是sqlite所以要引用,引用sqlite包后,启动项目即可。

作者介绍

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on XiaoFeng.Mvc:

Package Downloads
XiaoFeng.Mvc.AdminWinDesk

后台模板

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.1.9 103 11/26/2024
5.1.8 112 11/26/2024
5.1.7 107 11/10/2024
5.1.6 101 11/3/2024
5.1.5 110 11/3/2024
5.1.3 115 10/17/2024
5.1.2 182 9/11/2024
5.1.1 145 5/20/2024
5.1.0 241 3/2/2024
5.0.1 178 2/19/2024
5.0.0 156 2/1/2024
3.5.0 270 11/20/2023
3.4.0 197 10/27/2023
3.3.0 248 9/26/2023
3.2.0 307 8/22/2023
3.1.5 275 5/16/2023
3.1.3 356 4/24/2023
3.1.2 389 3/15/2023
3.1.1 512 3/2/2023
3.1.0 428 2/6/2023
3.0.5 391 12/30/2022
3.0.3 399 12/12/2022
3.0.2 437 11/25/2022
3.0.1 411 11/15/2022
2.16.9 493 10/24/2022
2.16.8 505 9/26/2022
2.16.5 492 9/5/2022
2.16.2 577 7/19/2022
2.16.1 629 7/17/2022
2.16.0 714 7/13/2022
2.15.2 676 7/8/2022
2.15.1 680 7/3/2022
2.14.5 632 6/28/2022
2.14.3 724 6/16/2022
2.14.1 694 5/31/2022
2.11.2022.526 663 5/27/2022
2.9.2022.523 788 5/23/2022
2.8.2022.523 776 5/23/2022
2.7.2022.523 643 5/23/2022
1.5.64.605 846 6/5/2020

增加是否开启超级管理员配置;修复文件夹属性;增加皮肤配置;修复视图优先查找资源问题;修复上传压缩图片质量为100时不压缩的bug;优化后台可以配置Header头;优化主题;增加系统配置项;