VOOZH about

URL: https://www.nuget.org/packages/MicroCloud.Systems/

⇱ NuGet Gallery | MicroCloud.Systems 8.0.3.1




👁 Image
MicroCloud.Systems 8.0.3.1

dotnet add package MicroCloud.Systems --version 8.0.3.1
 
 
NuGet\Install-Package MicroCloud.Systems -Version 8.0.3.1
 
 
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.Systems" Version="8.0.3.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MicroCloud.Systems" Version="8.0.3.1" />
 
Directory.Packages.props
<PackageReference Include="MicroCloud.Systems" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MicroCloud.Systems --version 8.0.3.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MicroCloud.Systems, 8.0.3.1"
 
 
#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.
#:package MicroCloud.Systems@8.0.3.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MicroCloud.Systems&version=8.0.3.1
 
Install as a Cake Addin
#tool nuget:?package=MicroCloud.Systems&version=8.0.3.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MicroCloud 系统组件

说明

MicroCloud 系统组件,封装基于Web的文件管理,字典管理等功能。

用法

可按照如下配置方式使用:

  1. 通过nuget引用 MicroCloud.Systems 程序集
Install-Package MicroCloud.Systems
  1. appsettings.json 中 的 MicroCloud 节点下添加如下配置节点
{
 //静态资源配置
 "File": {
 "Root": ".\\StaticFiles", //资源实际存放的磁盘根路径。例如:D:\\StaticFiles 或 .\\StaticFiles
 "RequestPath": "/files", //映射到静态资源的相对请求路径。例如:/files
 "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 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows 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 MicroCloud.Systems:

Package Downloads
MicroCloud.Pack.Systems

MicroCloud 系统模块,封装基于 MicroCloud 文件、字典组件的功能实现。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.3.1 276 9/9/2024
8.0.2.9 245 9/5/2024
8.0.2.8 243 8/31/2024
8.0.2.7 245 8/31/2024
8.0.2.6 249 8/21/2024
8.0.2.5 261 8/21/2024
8.0.2.4 237 8/12/2024
8.0.2.3 254 8/8/2024
8.0.2.2 227 7/14/2024
8.0.2.1 239 6/7/2024
8.0.1.9 243 6/6/2024
8.0.1.8 214 6/6/2024
8.0.1.7 238 5/15/2024
8.0.1.6 203 5/15/2024
8.0.1.5 233 5/15/2024
8.0.1.4 223 5/14/2024
8.0.1.3 229 5/10/2024
8.0.1.2 254 5/8/2024
8.0.1.1 255 5/7/2024
8.0.0.9 245 5/1/2024
Loading failed