MibFileManagementMicroServiceServerConfig
Introduction
This configuration is intended for File Management
micro service.
Keys - Default Section
MibAuthUrl
(string)
Indicates whether the service is enabled for MIB users. Default value:
false
ApiClientId
(number)
ApiClient id to obtain permissions in MibAuthorization (API_CLIENTS.ID)
OauthClientId
(number)
OauthClient id to obtain permissions in MibAuthorization (API_CLIENTS.ID.OAUTH_CLIENT_ID)
UserCacheTime
(number)
Maximum time to cache user data. (default = 0)
PermissionCacheTime
(number)
PermissionCacheTime: Maximum time to cache user permissions. (default = 0)
ImageFileExtensions
(string[])
List of file extensions classified as images. Through this information, the microservice can identify whether the file contained in the upload is an image. (default is empty)
ForceCheckMd5OnUploadComplete
(boolean)
If true, requires validation of the MD5 hash of files at the end of the upload process. (default = false)
MaxRequestBodySize
(number)
The maximum allowed size of any request body in bytes. (default = 0, the default value of ASP.NET Core will be assumed.)
AllowSynchronousIO
(boolean)
The
AllowSynchronousIO
flag is a configuration that controls whether synchronous I/O operations (such asStream.Read
orStream.Write
) are allowed on the server.
Note
When adjusting the MaxRequestBodySize
request size, it is important to remember that it will be necessary to increase the timeout of the MibServer3 and MibApi applications. For more information see the Timeout setting in MibCoreConfig.