XiaoFeng.Mvc
3.1.3
See the version list below for details.
dotnet add package XiaoFeng.Mvc --version 3.1.3
NuGet\Install-Package XiaoFeng.Mvc -Version 3.1.3
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.3" />
paket add XiaoFeng.Mvc --version 3.1.3
#r "nuget: XiaoFeng.Mvc, 3.1.3"
// Install XiaoFeng.Mvc as a Cake Addin #addin nuget:?package=XiaoFeng.Mvc&version=3.1.3 // Install XiaoFeng.Mvc as a Cake Tool #tool nuget:?package=XiaoFeng.Mvc&version=3.1.3
XiaoFeng.Mvc
Nuget:XiaoFeng.Mvc
QQ群号 | QQ群 | 公众号 |
---|---|---|
748408911 | ![]() |
![]() |
源码: https://github.com/zhuovi/xiaofeng
教程:https://www.eelf.cn
.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.3
Package Manager
PM> Install-Package XiaoFeng.Mvc --version 3.1.3
PackageReference
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.3" />
Paket CLI
> paket add XiaoFeng.Mvc --version 3.1.3
Script & Interactive
> #r "nuget: XiaoFeng.Mvc, 3.1.3"
Cake
// Install XiaoFeng.Mvc as a Cake Addin
#addin nuget:?package=XiaoFeng.Mvc&version=3.1.3
// Install XiaoFeng.Mvc as a Cake Tool
#tool nuget:?package=XiaoFeng.Mvc&version=3.1.3
XiaoFeng 类库包含库
命名空间 | 所属类库 | 开源状态 | 说明 | 包含功能 |
---|---|---|---|---|
XiaoFeng.Prototype | XiaoFeng.Core | ✅ | 扩展库 | ToCase 类型转换<br/>ToTimestamp,ToTimestamps 时间转时间戳<br/>GetBasePath 获取文件绝对路径,支持Linux,Windows<br/>GetFileName 获取文件名称<br/>GetMatch,GetMatches,GetMatchs,IsMatch,ReplacePatten,RemovePattern 正则表达式操作<br/> |
XiaoFeng.Net | XiaoFeng.Net | ✅ | 网络库 | XiaoFeng网络库,封装了Socket客户端,服务端(Socket,WebSocket),根据当前库可轻松实现订阅,发布等功能。 |
XiaoFeng.Http | XiaoFeng.Core | ✅ | 模拟请求库 | 模拟网络请求 |
XiaoFeng.Data | XiaoFeng.Core | ✅ | 数据库操作库 | 支持SQLSERVER,MYSQL,ORACLE,达梦,SQLITE,ACCESS,OLEDB,ODBC等数十种数据库 |
XiaoFeng.Cache | XiaoFeng.Core | ✅ | 缓存库 | 内存缓存,Redis,MemcachedCache,MemoryCache,FileCache缓存 |
XiaoFeng.Config | XiaoFeng.Core | ✅ | 配置文件库 | 通过创建模型自动生成配置文件,可为xml,json,ini文件格式 |
XiaoFeng.Cryptography | XiaoFeng.Core | ✅ | 加密算法库 | AES,DES,RSA,MD5,DES3,SHA,HMAC,RC4加密算法 |
XiaoFeng.Excel | XiaoFeng.Excel | ✅ | Excel操作库 | Excel操作,创建excel,编辑excel,读取excel内容,边框,字体,样式等功能 |
XiaoFeng.Ftp | XiaoFeng.Ftp | ✅ | FTP请求库 | FTP客户端 |
XiaoFeng.IO | XiaoFeng.Core | ✅ | 文件操作库 | 文件读写操作 |
XiaoFeng.Json | XiaoFeng.Core | ✅ | Json序列化,反序列化库 | Json序列化,反序列化库 |
XiaoFeng.Xml | XiaoFeng.Core | ✅ | Xml序列化,反序列化库 | Xml序列化,反序列化库 |
XiaoFeng.Log | XiaoFeng.Core | ✅ | 日志库 | 写日志文件,数据库 |
XiaoFeng.Memcached | XiaoFeng.Memcached | ✅ | Memcached缓存库 | Memcached中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Set,Add,Replace,PrePend,Append,Cas,Get,Gets,Gat,Gats,Delete,Touch,Stats,Stats Items,Stats Slabs,Stats Sizes,Flush_All,Increment,Decrement,线程池功能。 |
XiaoFeng.Redis | XiaoFeng.Redis | ✅ | Redis缓存库 | Redis中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Hash,Key,String,ZSet,Stream,Log,List,订阅发布,线程池功能; |
XiaoFeng.Threading | XiaoFeng.Core | ✅ | 线程库 | 线程任务,线程队列 |
XiaoFeng.Mvc | XiaoFeng.Mvc | ❌ | 低代码WEB开发框架 | .net core 基础类,快速开发CMS框架,真正的低代码平台,自带角色权限,WebAPI平台,后台管理,可托管到服务运行命令为:应用.exe install 服务名 服务说明,命令还有 delete 删除 start 启动 stop 停止。 |
XiaoFeng.Proxy | XiaoFeng.Proxy | ✅ | 代理库 | 开发中 |
XiaoFeng.TDengine | XiaoFeng.TDengine | ✅ | TDengine 客户端 | 开发中 |
XiaoFeng.GB28181 | XiaoFeng.GB28181 | ✅ | 视频监控库,SIP类库,GB28181协议 | 开发中 |
XiaoFeng.Onvif | XiaoFeng.Onvif | ✅ | 视频监控库Onvif协议 | XiaoFeng.Onvif 基于.NET平台使用C#封装Onvif常用接口、设备、媒体、云台等功能, 拒绝WCF服务引用动态代理生成wsdl类文件 , 使用原生XML扩展标记语言封装参数,所有的数据流向都可控。 |
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包后,启动项目即可。
作者介绍
- 网址 : http://www.fayelf.com
- QQ : 7092734
- EMail : jacky@fayelf.com
Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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. |
-
.NETStandard 2.1
- Microsoft.AspNetCore.Mvc.Core (>= 2.2.5)
- Microsoft.AspNetCore.StaticFiles (>= 2.2.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- XiaoFeng (>= 3.5.1)
-
net5.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 3.1.27)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.5.1)
-
net6.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 6.0.0)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.5.1)
-
net7.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 7.0.0)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.5.1)
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.2.1 | 143 | 12/31/2024 |
5.2.0 | 168 | 12/9/2024 |
5.1.9 | 161 | 11/26/2024 |
5.1.8 | 160 | 11/26/2024 |
5.1.7 | 141 | 11/10/2024 |
5.1.6 | 134 | 11/3/2024 |
5.1.5 | 143 | 11/3/2024 |
5.1.3 | 135 | 10/17/2024 |
5.1.2 | 201 | 9/11/2024 |
5.1.1 | 160 | 5/20/2024 |
5.1.0 | 253 | 3/2/2024 |
5.0.1 | 192 | 2/19/2024 |
5.0.0 | 165 | 2/1/2024 |
3.5.0 | 278 | 11/20/2023 |
3.4.0 | 207 | 10/27/2023 |
3.3.0 | 256 | 9/26/2023 |
3.2.0 | 316 | 8/22/2023 |
3.1.5 | 286 | 5/16/2023 |
3.1.3 | 363 | 4/24/2023 |
3.1.2 | 399 | 3/15/2023 |
3.1.1 | 520 | 3/2/2023 |
3.1.0 | 435 | 2/6/2023 |
3.0.5 | 400 | 12/30/2022 |
3.0.3 | 408 | 12/12/2022 |
3.0.2 | 448 | 11/25/2022 |
3.0.1 | 424 | 11/15/2022 |
2.16.9 | 508 | 10/24/2022 |
2.16.8 | 518 | 9/26/2022 |
2.16.5 | 504 | 9/5/2022 |
2.16.2 | 590 | 7/19/2022 |
2.16.1 | 645 | 7/17/2022 |
2.16.0 | 727 | 7/13/2022 |
2.15.2 | 691 | 7/8/2022 |
2.15.1 | 695 | 7/3/2022 |
2.14.5 | 648 | 6/28/2022 |
2.14.3 | 739 | 6/16/2022 |
2.14.1 | 711 | 5/31/2022 |
2.11.2022.526 | 678 | 5/27/2022 |
2.9.2022.523 | 801 | 5/23/2022 |
2.8.2022.523 | 795 | 5/23/2022 |
2.7.2022.523 | 659 | 5/23/2022 |
1.5.64.605 | 853 | 6/5/2020 |
增加代理后判断是否是https;增加注入json配置扩展ConfigureJsonSerializerOptions;