Home > Software design >  .NET 5 - web.config for uploading large files - Azure App Services
.NET 5 - web.config for uploading large files - Azure App Services

Time:10-11

To allow large file uploads, the below config is required as a minimum in web.config.

.NET 5/Core doesn’t have a web.config at the time of development.

Is there any way to write the below config to web.config via Azure Pipelines in any automated way?

Direct configuration in the Azure App Service is not an option as we deploy the code multiple times per week.

<configuration>
    <system.webServer>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="500000000" />
          </requestFiltering>
        </security>
    <system.webServer>
</configuration>    

CodePudding user response:

To edit your web.config in your CI/CD pipeline, I would recommend taking a look at the enter image description here

  • Related