Calling REST web services from a classic asp page

前端 未结 7 1747
既然无缘
既然无缘 2020-12-01 01:16

I\'d like to start moving our application business layers into a collection of REST web services. However, most of our Intranet has been built using Classic ASP and most of

相关标签:
7条回答
  • 2020-12-01 01:53

    Another possible solution is to write a .NET DLL that makes the calls and returns the results (maybe wrap something like RESTSharp - give it a simple API customized to your needs). Then you register the DLL as a COM DLL and use it in your ASP code via the CreateObject method.

    I've done this for things like creating signed JWTs and salting and hashing passwords. It works nicely (while you work like crazy to rewrite the ASP).

    0 讨论(0)
提交回复
热议问题