473,569 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.NET Class in ASP 3.0

Hello,

Is it possible to instantiate a .NET Class (DLL) in the
classic ASP 3.0?

Thanks in advance!
Jul 21 '05 #1
4 1175
Yes and no. The engine that processes ASP pages does not understand .NET,
so you cannot directly use .NET object. You can, however, create COM+
objects in .NET and expose the functionality through to the ASP page. Those
objects would be used just like any other COM object like the
FileSystemObjec t.

"Richard Cook" <ri************ @aspworld.com> wrote in message
news:0d******** *************** *****@phx.gbl.. .
Hello,

Is it possible to instantiate a .NET Class (DLL) in the
classic ASP 3.0?

Thanks in advance!

Jul 21 '05 #2
No, APS 3.0 means NT4, and COM+ is W2K or higher.
MTS (NT4) cannot accomodate .NET ComponentServic es.

Willy.

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
Yes and no. The engine that processes ASP pages does not understand .NET,
so you cannot directly use .NET object. You can, however, create COM+
objects in .NET and expose the functionality through to the ASP page. Those objects would be used just like any other COM object like the
FileSystemObjec t.

"Richard Cook" <ri************ @aspworld.com> wrote in message
news:0d******** *************** *****@phx.gbl.. .
Hello,

Is it possible to instantiate a .NET Class (DLL) in the
classic ASP 3.0?

Thanks in advance!


Jul 21 '05 #3
I thought ASP3 was what came with Windows 2000? At any rate, I don't think
COM+ is really needed, just simple COM interop.

-mike
MVP

"Willy Denoyette [MVP]" <wi************ *@pandora.be> wrote in message
news:eV******** ******@TK2MSFTN GP09.phx.gbl...
No, APS 3.0 means NT4, and COM+ is W2K or higher.
MTS (NT4) cannot accomodate .NET ComponentServic es.

Willy.

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
Yes and no. The engine that processes ASP pages does not understand ..NET, so you cannot directly use .NET object. You can, however, create COM+
objects in .NET and expose the functionality through to the ASP page.

Those
objects would be used just like any other COM object like the
FileSystemObjec t.

"Richard Cook" <ri************ @aspworld.com> wrote in message
news:0d******** *************** *****@phx.gbl.. .
Hello,

Is it possible to instantiate a .NET Class (DLL) in the
classic ASP 3.0?

Thanks in advance!



Jul 21 '05 #4
Michael,

My bad, asp 3.0 = IIS5 = W2K. Sorry for the mis-information.
And sure you don't need COM+ for this, just expose your .NET classes as COM
objects.
Willy.

"Michael Giagnocavo [MVP]" <mg*******@Atre vido.net> wrote in message
news:uc******** ******@TK2MSFTN GP11.phx.gbl...
I thought ASP3 was what came with Windows 2000? At any rate, I don't think COM+ is really needed, just simple COM interop.

-mike
MVP

"Willy Denoyette [MVP]" <wi************ *@pandora.be> wrote in message
news:eV******** ******@TK2MSFTN GP09.phx.gbl...
No, APS 3.0 means NT4, and COM+ is W2K or higher.
MTS (NT4) cannot accomodate .NET ComponentServic es.

Willy.

"Peter Rilling" <pe***@nospam.r illing.net> wrote in message
news:%2******** **********@tk2m sftngp13.phx.gb l...
Yes and no. The engine that processes ASP pages does not understand .NET, so you cannot directly use .NET object. You can, however, create COM+
objects in .NET and expose the functionality through to the ASP page.

Those
objects would be used just like any other COM object like the
FileSystemObjec t.

"Richard Cook" <ri************ @aspworld.com> wrote in message
news:0d******** *************** *****@phx.gbl.. .
> Hello,
>
> Is it possible to instantiate a .NET Class (DLL) in the
> classic ASP 3.0?
>
> Thanks in advance!



Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
9586
by: Fernando Rodriguez | last post by:
Hi, I need to traverse the methods defined in a class and its superclasses. This is the code I'm using: # An instance of class B should be able to check all the methods defined in B #and A, while an instance of class C should be able to check all methods #defined in C, B and A. #------------------------------------------------
18
6939
by: John M. Gabriele | last post by:
I've done some C++ and Java in the past, and have recently learned a fair amount of Python. One thing I still really don't get though is the difference between class methods and instance methods. I guess I'll try to narrow it down to a few specific questions, but any further input offered on the subject is greatly appreciated: 1. Are all of...
1
3327
by: Oplec | last post by:
Hi, I'm learning C++ as a hobby using The C++ Programming Language : Special Edition by Bjarne Stroustrup. I'm working on chpater 13 exercises that deal with templates. Exercise 13.9 asks for me to turn a previously made String class that deals with char's into a templated String class that uses the template parameter C instead of char. I...
13
2356
by: Bryan Parkoff | last post by:
I have created three classes according to my own design. First class is called CMain. It is the Top Class. Second class and third class are called CMemory and CMPU. They are the sub-classes. Two sub-classes have the relationship to communicate back and forth through this pointer. The pointer is responsible inside Top class for allocating...
9
4977
by: Banaticus Bart | last post by:
I wrote an abstract base class from which I've derived a few other classes. I'd like to create a base class array where each element is an instance of a derived object. I can create a base class pointer which points to an instance of a derived class, but when I pass that base class pointer into a function, it can't access the derived...
8
2846
by: Bryan Parkoff | last post by:
I find an interesting issue that one base class has only one copy for each derived class. It looks like that one base class will be copied into three base classes while derived class from base class is executed. It means that three derived classes are pointed to a separated copy of base class. I do not allow second and third copy of base...
21
4044
by: Jon Slaughter | last post by:
I have a class that is basicaly duplicated throughout several files with only members names changing according to the class name yet with virtually the exact same coding going on. e.g. class A { std::vector<B*> Bs; public:
5
3148
by: Andy | last post by:
Hi all, I have a site with the following architecture: Common.Web.dll - Contains a CommonPageBase class which inherits System.Web.UI.Page myadd.dll - Contains PageBase which inherits CommonPageBase - Contains myPage which inherits PageBase Each of these classes overrides OnInit and ties an event handler
3
3745
by: Hamilton Woods | last post by:
Diehards, I developed a template matrix class back around 1992 using Borland C++ 4.5 (ancestor of C++ Builder) and haven't touched it until a few days ago. I pulled it from the freezer and thawed it out. I built a console app using Microsoft Visual C++ 6 (VC++) and it worked great. Only one line in the header file had to be commented out....
0
2816
by: emin.shopper | last post by:
I had a need recently to check if my subclasses properly implemented the desired interface and wished that I could use something like an abstract base class in python. After reading up on metaclass magic, I wrote the following module. It is mainly useful as a light weight tool to help programmers catch mistakes at definition time (e.g.,...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7679
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6287
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2117
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1228
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.