A
Alan Silver
Hello,
In Classic ASP, you could whip up a DLL in VC++, VB, etc and register it
on the server somewhere (anywhere actually). Once registered, any ASP in
any web site could use it by doing ...
Set objMyObj = Server.CreateObject("MyDLL.MyClass")
How do I do a similar thing in ASP.NET?
I have an e-commerce package that is currently written in Classic ASP
and VB6. I am looking at rewriting it in ASP.NET. One of the strong
features of the current package is that all of the relevant code is
housed in a single DLL which all sites use. If I fix any bugs or make
improvements, I only need to update the one DLL and all sites see the
benefit immediately.
As far as I can see, ASP.NET only looks in the /bin directory for DLLs.
Does that mean I have to have a copy of the DLL in the /bin directory of
every web site that uses the package? That sounds very inefficient. I'm
sure there's a much better way to do this.
TIA for any help.
In Classic ASP, you could whip up a DLL in VC++, VB, etc and register it
on the server somewhere (anywhere actually). Once registered, any ASP in
any web site could use it by doing ...
Set objMyObj = Server.CreateObject("MyDLL.MyClass")
How do I do a similar thing in ASP.NET?
I have an e-commerce package that is currently written in Classic ASP
and VB6. I am looking at rewriting it in ASP.NET. One of the strong
features of the current package is that all of the relevant code is
housed in a single DLL which all sites use. If I fix any bugs or make
improvements, I only need to update the one DLL and all sites see the
benefit immediately.
As far as I can see, ASP.NET only looks in the /bin directory for DLLs.
Does that mean I have to have a copy of the DLL in the /bin directory of
every web site that uses the package? That sounds very inefficient. I'm
sure there's a much better way to do this.
TIA for any help.