Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Response.TransmitFile in ASP.Net and alternative

Response.TransmitFile in ASP.Net and alternative

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netcomwindows-adminperformance
3 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adnanrafiq
    wrote on last edited by
    #1

    Hi All, Recently i came here to discuss the issue, how to secure files (pdf), the recomendation was httphandelers, it works absolutely great.But now an new issue has been arrived. What i did , i registerd ISAPI extension (.pdf) in IIS 6.0,to let process the request to ASP.Net runtime, there i used context.response.transmitfile to send the file to the browser, as client will be viewing file in browser not downloading, but in case when file is bigger than 20 MB ,(file can be upto 100MB), it takes time, obviously it should take. But when we redirect or request pdf file without registering ISAPI extension, browser starts showing file, means you see instantly first page or few pages while other are downloading, how to achive this kind of performance, and this kind of behaviour, with letting asp.net runtime process the request. I hope you guys get my question & if any explaination needed please ask. Note: Same issue with uploading files with .Net uploader control, even after we change machine.config file size attribute, i want suggestion about better performance, when many users are doing both uploading, and viewing files from repository. Thanks in advance for sharing your wise suggestions with me. Many Thanks, Adnan

    Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

    A 1 Reply Last reply
    0
    • A adnanrafiq

      Hi All, Recently i came here to discuss the issue, how to secure files (pdf), the recomendation was httphandelers, it works absolutely great.But now an new issue has been arrived. What i did , i registerd ISAPI extension (.pdf) in IIS 6.0,to let process the request to ASP.Net runtime, there i used context.response.transmitfile to send the file to the browser, as client will be viewing file in browser not downloading, but in case when file is bigger than 20 MB ,(file can be upto 100MB), it takes time, obviously it should take. But when we redirect or request pdf file without registering ISAPI extension, browser starts showing file, means you see instantly first page or few pages while other are downloading, how to achive this kind of performance, and this kind of behaviour, with letting asp.net runtime process the request. I hope you guys get my question & if any explaination needed please ask. Note: Same issue with uploading files with .Net uploader control, even after we change machine.config file size attribute, i want suggestion about better performance, when many users are doing both uploading, and viewing files from repository. Thanks in advance for sharing your wise suggestions with me. Many Thanks, Adnan

      Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

      A Offline
      A Offline
      adnanrafiq
      wrote on last edited by
      #2

      Can you guys help me on this thread, Many thanks,adnan

      Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

      A 1 Reply Last reply
      0
      • A adnanrafiq

        Can you guys help me on this thread, Many thanks,adnan

        Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

        A Offline
        A Offline
        adnanrafiq
        wrote on last edited by
        #3

        heloo, will you guys comment on this thread....?

        Many Thanks, Adnan Rafiq muhammadadnanrafiq@gmail.com

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups