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.1 80 5/20/2024
5.1.0 177 3/2/2024
5.0.1 125 2/19/2024
5.0.0 99 2/1/2024
3.5.0 223 11/20/2023
3.4.0 159 10/27/2023
3.3.0 199 9/26/2023
3.2.0 241 8/22/2023
3.1.5 232 5/16/2023
3.1.3 301 4/24/2023
3.1.2 345 3/15/2023
3.1.1 435 3/2/2023
3.1.0 392 2/6/2023
3.0.5 351 12/30/2022
3.0.3 353 12/12/2022
3.0.2 394 11/25/2022
3.0.1 368 11/15/2022
2.16.9 452 10/24/2022
2.16.8 458 9/26/2022
2.16.5 444 9/5/2022
2.16.2 531 7/19/2022
2.16.1 589 7/17/2022
2.16.0 656 7/13/2022
2.15.2 627 7/8/2022
2.15.1 625 7/3/2022
2.14.5 575 6/28/2022
2.14.3 666 6/16/2022
2.14.1 641 5/31/2022
2.11.2022.526 611 5/27/2022
2.9.2022.523 727 5/23/2022
2.8.2022.523 713 5/23/2022
2.7.2022.523 599 5/23/2022
1.5.64.605 820 6/5/2020

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