简体   繁体   English

在 dot net core 上处理 asmx 请求

[英]Serving a asmx request on dot net core

I'm trying to create a small website to host the output from MadCap Flare using ASP .Net Core (1.1).我正在尝试创建一个小型网站来使用 ASP .Net Core (1.1) 托管 MadCap Flare 的输出。 The MadCap Flare project uses an asmx service to provide some server side search functionality. MadCap Flare 项目使用 asmx 服务来提供一些服务器端搜索功能。 Everything runs fine locally (ie starting chrome and navigating to MadCap Flare content).一切都在本地运行良好(即启动 chrome 并导航到 MadCap Flare 内容)。

However, when I try to access the MadCap pages via Kestrel, I start getting 404's while trying to serve requests containing the asmx service eg但是,当我尝试通过 Kestrel 访问 MadCap 页面时,在尝试处理包含 asmx 服务的请求时,我开始收到 404,例如

Request starting HTTP/1.1 GET http://localhost:48784/Documentation/[ProductName]/Service/Service.asmx/GetSubsystems
dbug: The request path /Documentation/[ProductName]/Service/Service.asmx/GetSubsystems does not match a supported file type

Any thoughts or suggestions on how to tackle this would be greatly appreciated.关于如何解决这个问题的任何想法或建议将不胜感激。

您需要通过防火墙打开端口 48784,然后使用正在运行的机器的实际 IP 而不是 localhost。

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

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