【问题标题】:Advice on mixing legacy ASP site with .NET 2.0关于将旧版 ASP 站点与 .NET 2.0 混合使用的建议
【发布时间】:2010-09-11 17:53:26
【问题描述】:

我们刚刚负责更新电子商务应用程序以使用 PayPal 的 PayFlow 产品。该网站最初是用经典的 ASP 编写的,但信用卡处理部分是一个 COM 组件。

我们的计划是用 .NET 2.0 组件替换 COM 组件。在我们出发之前,我正在寻找提示、问题等。

【问题讨论】:

    标签: asp.net com asp-classic e-commerce paypal


    【解决方案1】:

    我认为 Dan Bartels 的博客文章是关于 Replacing Old Classic ASP COM Componenets With .NET Assemblies 是您的正确起点。

    实现博文中描述的细节,您应该能够在经典 asp 中实例化您的对象并执行如下代码:

    Dim myObject
    Set myObject = Server.CreateObject("MyWebDLL.MyClass")
    Response.Write myObject.MyMethod("test")
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-14
      • 2011-05-02
      • 1970-01-01
      • 2011-09-28
      • 2011-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多