EDN Admin
Well-known member
Hi C# Experts
Got C# 2.0 SDK to help ASP.NET 2.0 Web applications to make API calls, and managed to export C# 2.0 SDK to C# 1.1 COM in order to support Classic ASP applications to make API calls.
This was accomplished by doing the following COM specific implementations:
•Replacing Generics with the corresponding pre-Generics code
•Replacing static with non-static
•Defining Interfaces to implement the Classes and decorating with [ComVisibleAttribute(true)] attribute
•Replacing methods that have parameters with setters
•Replacing methods that return other than void with getters
•Building the C# 1.1 COM with Strong Name and Registering for COM Interop
Executing the following:
•Regasm CSSDKCOM.dll
•Regasm CSSDKCOM.dll /codebase
•Regasm CSSDKCOM.dll /tlb ◦gacutil/i CSSDKCOM.dll
The C# 1.1 COM and the Classic ASP work fine in the development platform with following setup:
•Windows 7
•IIS 7.5 (With IIS 6 enabled and ASP enabled)
•Visual Studio 2005/2003
•.NET Framework 2.0/1.1
Considering Classic ASP, the Client platform is most likely to have the following setup:
•Windows 2000 Server
•IIS 5
The crux of the issue is how to simulate the client environment?
I guess I got to install Global Assembly Cache (GAC) and also install .NET framework 1.1 in Windows 2000 Server.
I came across the Microsoft Windows Server 2003 R2 Enterprise Edition VHD in Microsoft Download Center:http://www.microsoft.com/en-us/download/details.aspx?id=19727
Is there a VHD for Windows 2000 Server?
I would like to know whether I missed something or is there a potential risk/flaw in my approach?
What about Windows 2000 Server Service Pack?
Please help.
Thanks
View the full article
Got C# 2.0 SDK to help ASP.NET 2.0 Web applications to make API calls, and managed to export C# 2.0 SDK to C# 1.1 COM in order to support Classic ASP applications to make API calls.
This was accomplished by doing the following COM specific implementations:
•Replacing Generics with the corresponding pre-Generics code
•Replacing static with non-static
•Defining Interfaces to implement the Classes and decorating with [ComVisibleAttribute(true)] attribute
•Replacing methods that have parameters with setters
•Replacing methods that return other than void with getters
•Building the C# 1.1 COM with Strong Name and Registering for COM Interop
Executing the following:
•Regasm CSSDKCOM.dll
•Regasm CSSDKCOM.dll /codebase
•Regasm CSSDKCOM.dll /tlb ◦gacutil/i CSSDKCOM.dll
The C# 1.1 COM and the Classic ASP work fine in the development platform with following setup:
•Windows 7
•IIS 7.5 (With IIS 6 enabled and ASP enabled)
•Visual Studio 2005/2003
•.NET Framework 2.0/1.1
Considering Classic ASP, the Client platform is most likely to have the following setup:
•Windows 2000 Server
•IIS 5
The crux of the issue is how to simulate the client environment?
I guess I got to install Global Assembly Cache (GAC) and also install .NET framework 1.1 in Windows 2000 Server.
I came across the Microsoft Windows Server 2003 R2 Enterprise Edition VHD in Microsoft Download Center:http://www.microsoft.com/en-us/download/details.aspx?id=19727
Is there a VHD for Windows 2000 Server?
I would like to know whether I missed something or is there a potential risk/flaw in my approach?
What about Windows 2000 Server Service Pack?
Please help.
Thanks
View the full article