Skip to content

Azure website DNX Request limits #1272

@BernhardGlueck

Description

@BernhardGlueck

Hi !

I am running with ASP.NET Core 1.0 RC1 in an Azure Website
( 64 bit , 3

We need to support quite large uploads ( api use case ) and locally using Kestrel etc this works just fine.
However in azure website hosting, we run into its request size limits.

I have now tried to reconfigure the generated web.config during dnu publish to increase those request limits:

<configuration>
  <system.webServer>
   <security>
    <requestFiltering>
      <requestLimits  maxAllowedContentLength="300000000"/>
    </requestFiltering>
  </security>
    <handlers>
      <add name="httpplatformhandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" />
    </handlers>
    <httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="true" stdoutLogFile="..\logs\stdout.log">
    </httpPlatform>
  </system.webServer>
</configuration>

But the request limits are still there...
Any clues on how to achieve this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions