如何重启REST服务?

发布于 2024-09-13 15:33:10 字数 134 浏览 0 评论 0原文

我想重新启动 REST 服务,因为即使添加一个或多个新服务后,我在帮助页面中也看不到任何更改,之后所有服务都不起作用...他们对此有什么解决方案吗...最坏的情况是我必须重新创建一个新项目...

顺便说一句,我使用 C# .NET 4.0

I want to restart the REST service since even after adding a new service or services I don't see any change in the help page at all and afterward all the services don't work... Is their any solution to this... worst case scenario I have to create a new project all over again...

By the way Im using C# .NET 4.0

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

此生挚爱伱 2024-09-20 15:33:15

我实际上还没有托管该服务。我只是运行该服务,然后使用客户端 Windows 应用程序并运行它。

我的配置只是基本配置。实际上,当我创建一个新项目并复制这些代码时,它会再次工作。所以我认为这可能是 Microsoft WCF REST 本身的问题

,有时当我添加新服务时,它可能是任何 CRUD 功能,它们也没有在帮助中显示,并且有未找到的异常。

谢谢 :)

I dont actually host the service yet. I just run the service then use a client windows application and run it.

my config is just the basic config.. Actually when i create a new project and copy these codes it works again. So i think this might be an issue with Microsoft WCF REST itself

and sometimes when I add a new service may it be any of the crud functionality they also don't show in the help and have a not found exception.

Thank you :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文