Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
Imports System.IO Imports Ionic.Zip Public Class Handler1 Implements System.Web.IHttpHandler Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest context.Response.ContentType = "application/zip" Dim myZipFile As New ZipFile Dim strText As String = "This is some sample text" myZipFile.AddEntry("default.htm", "\", strText) myZipFile.AddFile(context.Request.PhysicalApplicationPath & "logos\myLogo.jpg", "\") Dim outStream As New MemoryStream myZipFile.Save(outStream) context.Response.Write(outStream) End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.