How can i upload file size 1.25GB in ASP.NET MVC
<p>My client is uploading file more then 1 GB through application. I know i can only upload only 100mb using asp.net MVC application.</p>

<pre><code> public static byte[] ReadStream(Stream st)
     {
         st.Position = 0;
         byte[] data = new byte[st.Length];
         .
         .
         .        
         . 
}
</code></pre>

<p>i am getting error at <code>byte[] data = new byte[st.Length];</code> because  <code>st.Length=1330768612</code>
Error - "Exception of type 'System.OutOfMemoryException' was thrown."</p>

<p>Is there any way i can upload more then 1gb file? 
Why we can define maxRequestLength= 0 - 2097151 in webconfig,</p>
