Share via


Building COM Components for ASP

You can develop components for use in a variety of Internet and intranet scenarios to implement business logic. In an Internet environment, for example, you might create a component that determines if a customer placing an order 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 section describes the event methods and interfaces available to components running on a Web server that supports Active Server Pages (ASP) in the following topics:

To make best use of this section, you should be familiar with the Microsoft Component Object Model (COM). For information about COM, see COM+ Programmer's Reference and COM+ (Component Services) in the COM+ software developer kit (SDK) or at MSDN Online.

You can use any language that supports Automation to develop your component such as script components, Microsoft Visual Basic, Microsoft Visual J++, and Microsoft Visual C++. The choice of language involves many considerations: your level of familiarity, tool support, run-time performance, threading models, code complexity, and the size of the compiled code.

Security should always be a primary consideration when developing components. See MS Press - Writing Secure Code for more information.

For step-by-step instructions about building components with Visual Basic and Visual J++, see the ASP Tutorial.