简体   繁体   English

在.Net Core 6.0 中为 Crystal Reports web API 创建“反向代理”

[英]Creating 'ReverseProxy' for Crystal Reports web API in .Net Core 6.0

We have Crystal Reports on a old Web API, we are moving to.Net Core 6 wherever we can, i understand that Crystal Reports is not compatible with.Net Core and no immediate possibility of Crystal Reports being updated to do so.我们在旧的 Web API 上有 Crystal Reports,我们将尽可能迁移到 .Net Core 6,我知道 Crystal Reports 与.Net Core 不兼容,并且没有立即更新 Crystal Reports 的可能性。

I understand this, however in my research I found some users were able to create a ReverseProxy in a Seperate project that holds the Crystal Reports on a.Net 4.8 framework and the WebAPI being on.Net core 6. I however have not found any examples of doing so and how to accomplish this, and I personally have never created a proxy so not sure how to go about this and getting this to work for us(maybe).我理解这一点,但是在我的研究中,我发现一些用户能够在一个单独的项目中创建一个 ReverseProxy,该项目在 a.Net 4.8 框架上保存 Crystal Reports 并且 WebAPI 在.Net core 6 上。但是我没有找到任何示例这样做以及如何实现这一点,我个人从未创建过代理,所以不确定如何 go 关于这个并让它为我们工作(也许)。 Does anyone have any examples of setting up a reverse proxy for crystal reports?有没有人有任何为水晶报表设置反向代理的例子? or something that could help point me in the right direction to creating my own?或者可以帮助我指出创建自己的正确方向的东西?

Please refer to the below blog, it will inspire you.请参考下面的博客,它将对您有所启发。

Crystal Report to PDF Viewing with Angular and Asp.Net WebAPI 水晶报表到 PDF 使用 Angular 和 Asp.Net WebAPI 查看

If you want use reverse proxy, please setup IIS with URL Rewrite as a reverse proxy for real world apps .如果你想使用反向代理,请设置 IIS 和 URL Rewrite 作为现实世界应用程序的反向代理

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

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