Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

October 2, 2007

Using Chilkat in ASP.NET using Only a Text Editor (w/out Visual Studio)

To get a bare-bones ASP.NET page up and running with Chilkat, all you need to do is create a .aspx source file with a text editor, and drop the ChilkatDotNet2.dll (for 2.0 Framework) or the ChilkatDotNet.dll (for 1.* Framework) in the bin directory, which should be located in the same directory as the .aspx file.

Here’s a "Hello World" .aspx that instantiates a Chilkat.Zip object and displays the Version property (helloWorld.aspx):

<%@ Page Language="C#" %>
<%@ Import Namespace="Chilkat" %>
	
<html>
<head>
<title>ASP.NET Hello World</title>
</head>
<body bgcolor="#FFFFFF">
	
<p>
<%
	Chilkat.Zip zip = new Chilkat.Zip();
	Response.Write(zip.Version);
%>
</p>
	
</body>
</html>

For clarification, the directory structure is like this:

wwwroot
  |
  --- HelloWorld.aspx
  |
  --- bin
      |
      --- ChilkatDotNet2.dll


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.