Creating Components for ASP

You can create ActiveXÖ components for use in a variety of Internet and intranet scenarios. For example, you might create a component that determines if a customer placing an order through the Internet has sufficient credit to make a purchase. In an intranet environment you might create a component that managers could use to update employee records in the company database. This document describes the special event methods and interfaces available to components running on a Web server that supports Active Server Pages (ASP).

You can use any language that supports Automation to develop your component. The choice of language involves many considerations: your familiarity with it, tools support, run-time performance, threading models, code complexity, and the size of the compiled code. Languages and products that can be used to write Automation components include Microsoft® Visual C++®, Microsoft Visual Basic®, and Java.

This section contains:

To make best use of this document, you should be familiar with the Microsoft Component Object Model (COM). For information on COM, see COM Concepts. For a step-by-step tutorial on building components with Visual Basic and Visual J++, see Writing Active Server Components in Web Applications. For similar instruction on building a transactional component, see Developing Applications for Microsoft Transaction Server with Visual Basic.


© 1997 by Microsoft Corporation. All rights reserved.