Request limit for content works in local machine but not working after deployment to azure -


i have requirement upload image 20mb azure storage. had exposed api controller receive image base64 string. had set maxallowedcontentlength 20 mb in web.config. works fine in local machine once push azure test mobile services not working expected throwing model entity error. below in config changes used

  <system.web>         <httpcookies httponlycookies="true" requiressl="true"/>        <httpruntime targetframework="4.5" executiontimeout="9000" enableversionheader="false" maxrequestlength="20000000"/>     <compilation debug="true" targetframework="4.5"/>   </system.web>    <system.webserver>     <security>       <requestfiltering removeserverheader ="true">         <requestlimits maxallowedcontentlength="20000000"></requestlimits>       </requestfiltering>    </system.webserver> 

could please give me solution fix issue.

regards

endeavour


Comments

Popular posts from this blog

python - Setting ctypes.Structure default values -

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -