XiaoFeng.Mvc 3.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package XiaoFeng.Mvc --version 3.0.2
NuGet\Install-Package XiaoFeng.Mvc -Version 3.0.2
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.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XiaoFeng.Mvc --version 3.0.2
#r "nuget: XiaoFeng.Mvc, 3.0.2"
#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.0.2

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

XiaoFeng.Mvc

fayelf

Nuget Downloads Nuget Nuget (with prereleases)

Nuget:XiaoFeng.Mvc

QQ群号:748408911

QQ群二维码:

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

Package Manager

PM> Install-Package XiaoFeng.Mvc

PackageReference

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

使用方法

一、初始化

Program.cs 文件改成下面代码

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

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

启动成功后,直接在地址栏输入 http://localhost:8001/Admin 即可进行后台登录界面 帐号 为 admin 密码为 admin123456

项目启动后会在根目录自动生成Config,Log文件夹 Log文件夹是项目日志文件存储目录 Config是当前项目的配置文件 这些配置文件在后台都可以管理

作者介绍

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 was computed.  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 is compatible. 
.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 85 5/20/2024
5.1.0 178 3/2/2024
5.0.1 125 2/19/2024
5.0.0 99 2/1/2024
3.5.0 224 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 346 3/15/2023
3.1.1 436 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 454 10/24/2022
2.16.8 459 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 657 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 728 5/23/2022
2.8.2022.523 713 5/23/2022
2.7.2022.523 599 5/23/2022
1.5.64.605 824 6/5/2020

优化上传插件;优化控制器变量传到XML中,通过PageData传输;