[
  {
    "Id": "94580",
    "ThreadId": "28350",
    "Html": "Hi<br>\r\n<br>\r\nI have downloaded your library and try implement to my application (ASP.NET)<br>\r\n<br>\r\nHowever, I had no idea how to start and where should the lib stored at. <br>\r\nBesides, I don't know how to define it at the aspx pages at the first of the <br>\r\nbeginning. I use VB.NET, and sometimes C#, how to import the name space?<br>\r\n<br>\r\nI had tried the following<br>\r\n<br>\r\n&lt;%@ Import Namespace=&quot;System&quot; %&gt;<br>\r\n&lt;%@ Import Namespace=&quot;System.IO&quot; %&gt;<br>\r\n&lt;%@ Import Namespace=&quot;System.IO.Compression&quot; %&gt;<br>\r\n&lt;%@ Import Namespace=&quot;System.IO.Compression.DeflateStream&quot; %&gt;<br>\r\n&lt;%@ Import Namespace=&quot;Ionic.Utils.Zip&quot; %&gt;<br>\r\n<br>\r\nand put the lib in the root level of the webserver, however, the browser <br>\r\nreport the error like this<br>\r\n<br>\r\nDescription: An error occurred during the compilation of a resource required <br>\r\nto service this request. Please review the following specific error details <br>\r\nand modify your source code appropriately.<br>\r\n<br>\r\nCompiler Error Message: BC30002: Type 'ZipFile' is not defined.<br>\r\n<br>\r\nSource Error:<br>\r\n<br>\r\n<br>\r\nLine 722:        f = Server.MapPath(mypath &amp; myFile)<br>\r\nLine 723:<br>\r\nLine 724:        Dim zip As New ZipFile(&quot;c:\\xtest.zip&quot;, System.Console.Out)<br>\r\nLine 725:        Try<br>\r\nLine 726:            zip.AddFile(f, Server.MapPath(mypath))<br>\r\nLine 727:            'zip.AddFile(f, True)<br>\r\nLine 728:            'zip.Save()<br>\r\n<br>\r\n<br>\r\nWarning: BC40056: Namespace or type specified in the Imports <br>\r\n'Ionic.Utils.Zip' doesn't contain any public member or cannot be found. Make <br>\r\nsure the namespace or the type is defined and contains at least one public <br>\r\nmember. Make sure the imported element name doesn't use any aliases.<br>\r\nSource Error:<br>\r\n<br>\r\nLine 13: Option Explicit On<br>\r\nLine 14:<br>\r\nLine 15: Imports Ionic.Utils.Zip<br>\r\nLine 16: Imports Microsoft.VisualBasic<br>\r\nLine 17: Imports System<br>\r\n<br>\r\n<br>\r\nCan you kind to answer me how to use your lib?<br>\r\n<br>\r\nThanks and regards<br>\r\nHerbert<br>\r\n",
    "PostedDate": "2008-05-24T12:55:18.647-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "94581",
    "ThreadId": "28350",
    "Html": "Hi -<br>\r\nDeployment of the Ionic.Utils.Zip.dll into an ASP.NET application is the same as deployment of any DLL into an ASP.NET application.<br>\r\nCopy the DLL to the \\bin subdirectory in the ASP.NET application directory.<br>\r\n<br>\r\nRead this:<br>\r\n<a>http://msdn.microsoft.com/en-us/library/t990ks23.aspx</a><br>\r\n<br>\r\nAlso - This is the kind of question to ask on the Forums.<br>\r\n<br>\r\n-Dino<br>\r\n",
    "PostedDate": "2008-05-24T12:55:51.333-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]