如何将Perl与ASP.NET Webforms集成?

时间:2022-12-02 11:00:09

I want to integrate some existing Perl code with ASP.NET. I see plenty examples of accessing Perl from .NET but nothing on the reverse. Has anyone had any experience attempting to do this or does everyone just recreate their existing Perl functionality in one fell swoop?

我想将一些现有的Perl代码与ASP.NET集成。我看到很多从.NET访问Perl的例子,但反之则没有。有没有人有尝试这样做的经验,或者每个人都只是一举重建他们现有的Perl功能?

For more detail, I have some functionality already implemented in Perl that we want to integrate with a larger portal that we implemented in ASP.NET webforms. Rather than re-implementing the existing functionality in .NET, we want to have some pages of the portal render through Perl (allowing it to access WebForm session information without having to put it into a cookie). Going forward, all new code and updates to the Perl code will be implemented in .NET on a case by case basis.

有关更多详细信息,我已经在Perl中实现了一些功能,我们希望将它们与我们在ASP.NET webforms中实现的更大的门户集成。我们希望通过Perl渲染门户网站的一些页面(允许它访问WebForm会话信息而不必将其放入cookie中),而不是重新实现.NET中的现有功能。展望未来,Perl代码的所有新代码和更新都将在.NET中逐个实现。

1 个解决方案

#1


2  

The easy way would be to get your perl code to call your asp pages, and then use Request.QueryString on the asp side to pull those variables in.

简单的方法是让你的perl代码调用你的asp页面,然后在asp端使用Request.QueryString来提取这些变量。

#1


2  

The easy way would be to get your perl code to call your asp pages, and then use Request.QueryString on the asp side to pull those variables in.

简单的方法是让你的perl代码调用你的asp页面,然后在asp端使用Request.QueryString来提取这些变量。