关于将旧版 ASP 站点与 .NET 2.0 混合使用的建议

发布于 2024-07-05 14:18:01 字数 151 浏览 3 评论 0原文

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

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

We've just been tasked with updating an e-commerce application to use PayPal's PayFlow product. The site was originally written in classic ASP except for the credit card processing portion which was a COM component.

Our plan is to replace the COM component with a .NET 2.0 component. I'm looking for tips, gotcha, etc. before we embark.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事与诗 2024-07-12 14:18:01

我认为 Dan Bartels 的博客文章是关于
用 .NET 程序集替换旧的经典 ASP COM 组件 是您的正确起点。

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

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

I think Dan Bartels' blog post about
Replacing Old Classic ASP COM Componenets With .NET Assemblies is the right starting point for you.

Implementing the details described in the blog post, you should be able to instantiate your objects in classic asp and execute code like this:

Dim myObject
Set myObject = Server.CreateObject("MyWebDLL.MyClass")
Response.Write myObject.MyMethod("test")
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文