473,508 Members | 2,249 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 1172
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
FileSystemObject.

"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 ComponentServices.

Willy.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
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
FileSystemObject.

"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**************@TK2MSFTNGP09.phx.gbl...
No, APS 3.0 means NT4, and COM+ is W2K or higher.
MTS (NT4) cannot accomodate .NET ComponentServices.

Willy.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
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
FileSystemObject.

"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*******@Atrevido.net> wrote in message
news:uc**************@TK2MSFTNGP11.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**************@TK2MSFTNGP09.phx.gbl...
No, APS 3.0 means NT4, and COM+ is W2K or higher.
MTS (NT4) cannot accomodate .NET ComponentServices.

Willy.

"Peter Rilling" <pe***@nospam.rilling.net> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
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
FileSystemObject.

"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
9577
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,...
18
6934
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...
1
3320
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...
13
2352
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....
9
4967
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...
8
2843
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...
21
4031
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...
5
3140
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...
3
3739
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...
0
2812
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...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7383
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4707
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...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1557
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.