<system.web> <httpRuntime executionTimeout="100000" maxRequestLength="214748364" /> </system.web> <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="214748364" /> </requestFiltering> </security> </system.webServer>
int fileLength = uploadedFile.ContentLength; byte buffer = new byte[fileLength]; uploadedFile.InputStream.Read(buffer, 0, fileLength); string base64String = Convert.ToBase64String(buffer, 0, buffer.Length); Image im = new Image(); im.ImageUrl = "data:image/png;base64," + base64String;
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.