XiaoFeng.Mvc
3.1.5
See the version list below for details.
dotnet add package XiaoFeng.Mvc --version 3.1.5
NuGet\Install-Package XiaoFeng.Mvc -Version 3.1.5
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.5" />
paket add XiaoFeng.Mvc --version 3.1.5
#r "nuget: XiaoFeng.Mvc, 3.1.5"
// Install XiaoFeng.Mvc as a Cake Addin #addin nuget:?package=XiaoFeng.Mvc&version=3.1.5 // Install XiaoFeng.Mvc as a Cake Tool #tool nuget:?package=XiaoFeng.Mvc&version=3.1.5
XiaoFeng.Mvc
Nuget:XiaoFeng.Mvc
QQ群号 | QQ群 | 公众号 |
---|---|---|
748408911 |
源码: 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.5
Package Manager
PM> Install-Package XiaoFeng.Mvc --version 3.1.5
PackageReference
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.5" />
Paket CLI
> paket add XiaoFeng.Mvc --version 3.1.5
Script & Interactive
> #r "nuget: XiaoFeng.Mvc, 3.1.5"
Cake
// Install XiaoFeng.Mvc as a Cake Addin
#addin nuget:?package=XiaoFeng.Mvc&version=3.1.5
// Install XiaoFeng.Mvc as a Cake Tool
#tool nuget:?package=XiaoFeng.Mvc&version=3.1.5
v 3.1.5 2023-05-06
1.修复后台路径改变后,设置桌面快捷方式路径问题;
2.修复从本路跳到外站检查bug;
3.优化跳出本站外网站的过滤;layui升级到2.8.2;
4.修复layui中控件部分bug;
5.增加替换默认json解析器到XiaoFeng.json;
6.优化API,Admin Json配置为空是使用默认配置;
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包后,启动项目即可。
作者介绍
- 网址 : https://www.eelf.cn
- QQ : 7092734
- Email : jacky@eelf.cn
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. |
.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.2)
-
net5.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 3.1.27)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.5.2)
-
net6.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 6.0.0)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.5.2)
-
net7.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 7.0.0)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.5.2)
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.7 | 103 | 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 |
修复后台路径改变后,设置桌面快捷方式路径问题;修复从本路跳到外站检查bug;优化跳出本站外网站的过滤;layui升级到2.8.2;修复layui中控件部分bug;增加替换默认json解析器到XiaoFeng.json;优化API,Admin Json配置为空是使用默认配置;