0

How can i upload video files of large size more than 4GB in web server using web service written in c# under visual studio 2005, without going for the silverlight concepts and framework 4.0. I need to make available this service within 2008, because my server is configured to 2008. I cant use silverlight which is present in visual studio 2012.

Any suggestions for implementing this concept is welcomed.

John Saunders
  • 160,644
  • 26
  • 247
  • 397
Azhar
  • 41
  • 1
  • 7
  • 2
    Visual studio 2008 is not the same as windows server 2008. Windows server can handle framework 4.0. Further, Silverlight is a client language, so that's really what your users can handle. For uploading large files check out this answer: http://stackoverflow.com/questions/1935040/how-to-handle-large-file-uploads-via-wcf – Prescott Nov 14 '12 at 06:36
  • ASMX web services are not efficient with large files. There will be times when the complete message resides in memory two or even four times. Upgrade to VS2010 or 2012 and use WCF, which allows for true streaming. – John Saunders Nov 14 '12 at 09:35
  • If I'm using visual studio 2008 (c# web service), what is the maximum file(video) size can be uploaded. – Azhar Nov 14 '12 at 13:21

1 Answers1

1

Check out this post for the current IIS size limit and this post for additional timeout settings and this article for some suggestions on how to do what you want with a custom client app, I don't think it would work directly from the browser. Here is a summary of the IIS limits and the most popular browsers.


Based on the above I think the safest thing you can do is impose a limit to the end user; something like 500 megs per file sounds reasonable.


On a similar note, apparently Apache has removed this kind of limitations in 2005 ...

Community
  • 1
  • 1
user1416420
  • 498
  • 2
  • 7