DotNetZip now can save directly to ASP.NET Response.OutputStream

Posted by: All About Interop, on 04 Jun 2008 | View original | Bookmarked: 0 time(s)

Did you ever want to zip up a file within an ASP.NET page, and then send it as a download for the requesting browser?  The DotNetZip lib works within ASP.NET, and a recent update, available in the v1.5 preview release, allows you to create a zip file and save it directly to Response.OutputStream, with no intermediate file i/o, no saving the zip file to a directory on the server, no memorystreams or byte arrays to cache the content. The code looks like this: public void btnGo_Click (Object sender,...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1762 | Hits: 147

Similar Posts

  • Don’t use Response.End() with OutputCache more
  • IIS 7 Error Pages taking over 500 Errors more
  • EOAST #4 Evolution of a software thingy Part 4 more
  • Cross domain request in Silverlight 2.0 beta 2 more
  • Firefox 3.0 and (ASP.NET) caching observations more
  • Code Based Repeater for ASP.NET MVC more
  • Load, Edit, Save & Convert Office 2007 Open XML Formats Documents more
  • the "it's free" problem: caching of images more
  • Charset Encoding in ASP.NET Response more
  • Understanding ASP.NET Response.Redirect more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD