MicroCloud.Pack.Systems
8.0.1.8
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MicroCloud.Pack.Systems --version 8.0.1.8
NuGet\Install-Package MicroCloud.Pack.Systems -Version 8.0.1.8
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="MicroCloud.Pack.Systems" Version="8.0.1.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicroCloud.Pack.Systems --version 8.0.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MicroCloud.Pack.Systems, 8.0.1.8"
#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 MicroCloud.Pack.Systems as a Cake Addin #addin nuget:?package=MicroCloud.Pack.Systems&version=8.0.1.8 // Install MicroCloud.Pack.Systems as a Cake Tool #tool nuget:?package=MicroCloud.Pack.Systems&version=8.0.1.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MicroCloud 文件模块
说明
MicroCloud 文件模块,封装基于 MicroCloud 文件组件的功能实现。
用法
可按照如下配置方式使用:
- 通过nuget引用
MicroCloud.Pack.File
程序集
Install-Package MicroCloud.Pack.File
- 在
appsettings.json
中添加如下配置节点
{
"File": {
"Root": "D:\MyStaticFiles", //根目录。这应该是一条绝对的道路。例如:D:\MyStaticFiles
"RequestPath": "/StaticFiles", //映射到静态资源的相对请求路径。例如:/StaticFiles
"AllowOrigin": true, //是否允许跨域
"VersionEnabled": true, //是否启用版本管理(启用后删除、修改前的文件将作为历史版本归档)
"StoreMode": "Physical", //存储方式:DataBase-数据库、Physical-物理存储、DataStoreSvc-数据存储服务
"StoreSvcConnectionString": "", //数据存储服务连接字符串:例如:Azure Blob Storage {"DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=yyy"}
"StoreGroup": "ByYearMonth", //存储分组:NoGroup-不分组、ByYear-按年度分组、ByYearMonth-按年度月度分组、ByYearMonthDay-按年月日分组、ByExts-按扩展类型分组
"FileSizeLimit": 1073741824, //文件大小限制:0为不限制
"PermittedExts": ".txt,.png,.docx", //允许的上传类型:*为允许所有,多类型用“,”分隔
"DisallowedExts": ".exe,.bat", //阻止的上传类型:*为不限制,多类型用“,”分隔
}
}
3.解决文件上传大小限制,在项目中添加web.config文件
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="1073741824" />
</requestFiltering>
</security>
</system.webServer>
</configuration>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- MicroCloud.AutoMapper (>= 8.0.1.8)
- MicroCloud.EntityFrameworkCore (>= 8.0.1.8)
- MicroCloud.Systems (>= 8.0.1.8)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MicroCloud.Pack.Systems:
Package | Downloads |
---|---|
MicroCloud.Api.Identity
MicroCloud 身份认证模块API,封装基于 MicroCloud 身份认证模块的WebApi实现。 |
|
MicroCloud.Api.Systems
MicroCloud 系统公共API,封装图形验证码、模块信息等公共WebApi实现。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.3.1 | 131 | 9/9/2024 |
8.0.2.9 | 125 | 9/5/2024 |
8.0.2.8 | 118 | 8/31/2024 |
8.0.2.7 | 118 | 8/31/2024 |
8.0.2.6 | 142 | 8/21/2024 |
8.0.2.5 | 138 | 8/21/2024 |
8.0.2.4 | 121 | 8/12/2024 |
8.0.2.3 | 126 | 8/8/2024 |
8.0.2.2 | 117 | 7/14/2024 |
8.0.2.1 | 122 | 6/7/2024 |
8.0.1.9 | 128 | 6/6/2024 |
8.0.1.8 | 111 | 6/6/2024 |
8.0.1.7 | 98 | 5/15/2024 |
8.0.1.6 | 75 | 5/15/2024 |
8.0.1.5 | 101 | 5/15/2024 |
8.0.1.4 | 93 | 5/14/2024 |
8.0.1.3 | 123 | 5/10/2024 |
8.0.1.2 | 148 | 5/8/2024 |
8.0.1.1 | 122 | 5/7/2024 |
8.0.0.9 | 129 | 5/1/2024 |
8.0.0.8 | 112 | 5/1/2024 |
8.0.0.7 | 145 | 4/30/2024 |
7.2.0.1 | 307 | 10/26/2023 |
7.1.2.9 | 146 | 11/7/2023 |
7.1.2.8 | 160 | 10/19/2023 |
7.1.2.7 | 128 | 10/19/2023 |
7.1.2.6 | 123 | 10/18/2023 |
7.1.2.5 | 158 | 9/20/2023 |
7.1.2.4 | 162 | 9/13/2023 |
7.1.2.3 | 141 | 9/13/2023 |
7.1.2.2 | 167 | 9/12/2023 |
7.1.2.1 | 167 | 9/4/2023 |
7.1.1.9 | 178 | 8/31/2023 |
7.1.1.6 | 205 | 8/29/2023 |
7.1.1.5 | 180 | 8/25/2023 |
7.1.1.4 | 179 | 8/25/2023 |
7.1.1.3 | 172 | 8/25/2023 |
7.1.1.2 | 159 | 8/24/2023 |
7.1.1.1 | 176 | 8/24/2023 |
7.0.3.1 | 187 | 8/24/2023 |