gpt4 book ai didi

iis - 在 AppHarbor 上托管 WCF Web API 应用程序?

转载 作者:行者123 更新时间:2023-12-04 06:47:13 25 4
gpt4 key购买 nike

我已经实现了一个示例应用程序,例如 here .这是一个非常基本的应用程序,只是为了开始。在我的本地机器上的 IIS 中一切正常,我也让它在我的 IIS Express 上运行,但现在是棘手的部分。我确实想在 AppHarbor 上主持这个,但我收到 404 错误。我已经开始了 discussion在 AppHarbor 的支持论坛上,他们在运行时拍摄了错误的屏幕截图。 ScreenShot

由于使用了 StaticFile 处理程序,因此路由似乎有问题,但我只是猜测。有没有人有什么建议?

最佳答案

尝试并添加

<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>

到您的 web.config

关于iis - 在 AppHarbor 上托管 WCF Web API 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6186090/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com