简体   繁体   English

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

[英]How can I integrate Perl with ASP.NET Webforms?

I want to integrate some existing Perl code with ASP.NET. 我想将一些现有的Perl代码与ASP.NET集成在一起。 I see plenty examples of accessing Perl from .NET but nothing on the reverse. 我看到了很多从.NET访问Perl的示例,但反之则没有。 Has anyone had any experience attempting to do this or does everyone just recreate their existing Perl functionality in one fell swoop? 是否有人有尝试这样做的经验,还是每个人都一口气重新创建了他们现有的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. 有关更多详细信息,我已经在Perl中实现了一些功能,我们希望与在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). 与其重新实现.NET中的现有功能,我们不希望使门户的某些页面通过Perl呈现(允许它访问WebForm会话信息,而不必将其放入cookie)。 Going forward, all new code and updates to the Perl code will be implemented in .NET on a case by case basis. 展望未来,所有新代码和对Perl代码的更新都将根据具体情况在.NET中实现。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM