c# - InMemoryMultiaprtFormDataStreamProvider and Azure file sizes -


i'm using solution post , it's working me image sizes when testing locally. when deploy azure cloud service can handle files 50k, larger , solution hangs.

i've attempted debug using remote azure debugger , code hanging on following line of code.

var provider = await request.content.readasmultipartasync<inmemorymultipartformdatastreamprovider>(new inmemorymultipartformdatastreamprovider()); 

i've found exception thrown of: first chance exception of type 'system.accessviolationexception' occurred in system.net.http.formatting.dll

as said, works fine locally in emulator not on azure platform..?

can provide insight this?

i've tried adding following web.config no luck...

<system.web>   <httpruntime targetframework="4.5" maxrequestlength="32768" /> </system.web>  <system.webserver>   <security>     <requestfiltering>       <requestlimits maxallowedcontentlength="4294967295" />     </requestfiltering>   </security> </system.webserver> 


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -