XiaoFeng.Mvc
3.1.2
See the version list below for details.
dotnet add package XiaoFeng.Mvc --version 3.1.2
NuGet\Install-Package XiaoFeng.Mvc -Version 3.1.2
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.2" />
paket add XiaoFeng.Mvc --version 3.1.2
#r "nuget: XiaoFeng.Mvc, 3.1.2"
// Install XiaoFeng.Mvc as a Cake Addin #addin nuget:?package=XiaoFeng.Mvc&version=3.1.2 // Install XiaoFeng.Mvc as a Cake Tool #tool nuget:?package=XiaoFeng.Mvc&version=3.1.2
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.2
Package Manager
PM> Install-Package XiaoFeng.Mvc --version 3.1.2
PackageReference
<PackageReference Include="XiaoFeng.Mvc" Version="3.1.2" />
Paket CLI
> paket add XiaoFeng.Mvc --version 3.1.2
Script & Interactive
> #r "nuget: XiaoFeng.Mvc, 3.1.2"
Cake
// Install XiaoFeng.Mvc as a Cake Addin
#addin nuget:?package=XiaoFeng.Mvc&version=3.1.2
// Install XiaoFeng.Mvc as a Cake Tool
#tool nuget:?package=XiaoFeng.Mvc&version=3.1.2
XiaoFeng 类库包含库
命名空间 | 说明 | 包含功能 | 所属类库 | 开源状态 |
---|---|---|---|---|
XiaoFeng.Prototype | 扩展库 | ToCase 类型转换<br/>ToTimestamp,ToTimestamps 时间转时间戳<br/>GetBasePath 获取文件绝对路径,支持Linux,Windows<br/>GetFileName 获取文件名称<br/>GetMatch,GetMatches,GetMatchs,IsMatch,ReplacePatten,RemovePattern 正则表达式操作<br/> | XiaoFeng.Core | √ |
XiaoFeng.Net | 网络库 | XiaoFeng网络库,封装了Socket客户端,服务端(Socket,WebSocket),根据当前库可轻松实现订阅,发布等功能。 | XiaoFeng.Net | √ |
XiaoFeng.Http | 模拟请求库 | 模拟网络请求 | ||
XiaoFeng.Data | 数据库操作库 | 支持SQLSERVER,MYSQL,ORACLE,达梦,SQLITE,ACCESS,OLEDB,ODBC等数十种数据库 | XiaoFeng.Core | √ |
XiaoFeng.Cache | 缓存库 | 内存缓存,Redis,MemcachedCache,MemoryCache,FileCache缓存 | XiaoFeng.Core | √ |
XiaoFeng.Config | 配置文件库 | 通过创建模型自动生成配置文件,可为xml,json,ini文件格式 | XiaoFeng.Core | √ |
XiaoFeng.Cryptography | 加密算法库 | AES,DES,RSA,MD5,DES3,SHA,HMAC,RC4加密算法 | XiaoFeng.Core | √ |
XiaoFeng.Excel | Excel操作库 | Excel操作,创建excel,编辑excel,读取excel内容,边框,字体,样式等功能 | XiaoFeng.Excel | √ |
XiaoFeng.Ftp | FTP请求库 | FTP客户端 | XiaoFeng.Ftp | √ |
XiaoFeng.IO | 文件操作库 | 文件读写操作 | XiaoFeng.Core | √ |
XiaoFeng.Json | Json序列化,反序列化库 | Json序列化,反序列化库 | XiaoFeng.Core | √ |
XiaoFeng.Xml | Xml序列化,反序列化库 | Xml序列化,反序列化库 | XiaoFeng.Core | √ |
XiaoFeng.Log | 日志库 | 写日志文件,数据库 | XiaoFeng.Core | √ |
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.Memcached | √ |
XiaoFeng.Redis | Redis缓存库 | Redis中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Hash,Key,String,ZSet,Stream,Log,List,订阅发布,线程池功能; | XiaoFeng.Redis | √ |
XiaoFeng.Threading | 线程库 | 线程任务,线程队列 | XiaoFeng.Core | √ |
XiaoFeng.Mvc | 低代码WEB开发框架 | .net core 基础类,快速开发CMS框架,真正的低代码平台,自带角色权限,WebAPI平台,后台管理,可托管到服务运行命令为:应用.exe install 服务名 服务说明,命令还有 delete 删除 start 启动 stop 停止。 | XiaoFeng.Mvc | X |
XiaoFeng.Proxy | 代理库 | 开发中 | XiaoFeng.Proxy | √ |
XiaoFeng.TDengine | TDengine 客户端 | 开发中 | XiaoFeng.TDengine | √ |
XiaoFeng.GB28181 | 视频监控库,SIP类库 | 开发中 | XiaoFeng.GB28181 | √ |
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. |
.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.4.3)
-
net5.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 3.1.27)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.4.3)
-
net6.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 6.0.0)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.4.3)
-
net7.0
- Microsoft.Extensions.Hosting.WindowsServices (>= 7.0.0)
- QRCoder (>= 1.4.2)
- XiaoFeng (>= 3.4.3)
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 | 85 | 11/10/2024 |
5.1.6 | 88 | 11/3/2024 |
5.1.5 | 99 | 11/3/2024 |
5.1.3 | 109 | 10/17/2024 |
5.1.2 | 180 | 9/11/2024 |
5.1.1 | 143 | 5/20/2024 |
5.1.0 | 239 | 3/2/2024 |
5.0.1 | 176 | 2/19/2024 |
5.0.0 | 154 | 2/1/2024 |
3.5.0 | 268 | 11/20/2023 |
3.4.0 | 195 | 10/27/2023 |
3.3.0 | 246 | 9/26/2023 |
3.2.0 | 305 | 8/22/2023 |
3.1.5 | 273 | 5/16/2023 |
3.1.3 | 354 | 4/24/2023 |
3.1.2 | 387 | 3/15/2023 |
3.1.1 | 510 | 3/2/2023 |
3.1.0 | 426 | 2/6/2023 |
3.0.5 | 385 | 12/30/2022 |
3.0.3 | 397 | 12/12/2022 |
3.0.2 | 435 | 11/25/2022 |
3.0.1 | 409 | 11/15/2022 |
2.16.9 | 491 | 10/24/2022 |
2.16.8 | 503 | 9/26/2022 |
2.16.5 | 490 | 9/5/2022 |
2.16.2 | 575 | 7/19/2022 |
2.16.1 | 627 | 7/17/2022 |
2.16.0 | 707 | 7/13/2022 |
2.15.2 | 674 | 7/8/2022 |
2.15.1 | 678 | 7/3/2022 |
2.14.5 | 630 | 6/28/2022 |
2.14.3 | 722 | 6/16/2022 |
2.14.1 | 692 | 5/31/2022 |
2.11.2022.526 | 661 | 5/27/2022 |
2.9.2022.523 | 786 | 5/23/2022 |
2.8.2022.523 | 774 | 5/23/2022 |
2.7.2022.523 | 641 | 5/23/2022 |
1.5.64.605 | 844 | 6/5/2020 |
增加websocket.js验证websocket对象;优化组件中的html不能访问的bug;