Added max file size upload option. Switched from stream upload to multipart form content file upload

This commit is contained in:
2025-03-07 13:31:30 +01:00
parent 9fb1667bf0
commit f23320eb1c
5 changed files with 36 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ public class AppConfiguration
public AuthenticationConfig Authentication { get; set; } = new();
public DevelopmentConfig Development { get; set; } = new();
public ClientConfig Client { get; set; } = new();
public KestrelConfig Kestrel { get; set; } = new();
public class ClientConfig
{
@@ -48,4 +49,9 @@ public class AppConfiguration
{
public bool EnableApiDocs { get; set; } = false;
}
public class KestrelConfig
{
public int UploadLimit { get; set; } = 100;
}
}