ASP.Net WebHooks是一个好的解决方案,它们的延展性如何? [英] Are ASP.Net WebHooks a good solution and how malleable are they?

查看:130
本文介绍了ASP.Net WebHooks是一个好的解决方案,它们的延展性如何?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的数据库中有一些有关某些用户的数据.我想开发一种服务,该服务通过URL(最好是POST HTTP请求)发送到数据库中的新数据发送到客户端.

I have some data about some users in my database. I want to develop a service that send to a client through a URL (preferably a POST HTTP Request) the new data that are inserted in my DB.

为此,我考虑过使用ASP.Net WebHooks

To do that, I thought about using ASP.Net WebHooks (from that tutorial).

但是有多个问题:

  • 似乎很难配置
  • 我可以使用自己的数据库表吗?
  • ASP.NET WebHooks解决方案似乎还很年轻(这些软件包处于预发行版本中),现在可以安全使用它吗?

基本上,我应该使用此解决方案吗?如果没有,请问有什么选择? (其他库,请开发我自己的解决方案...).

Basically, should I use this solution or, if not, what are the alternatives ? (other library, develop my own solution...).

谢谢

推荐答案

答案这里有一些关于WebHooks的有趣信息以及如何思考它们.我不会遇到这个问题,所以我做了一些挖掘,文档位于此处.它目前在RC2中,因此很难确定它是否安全使用.通常,如果它的安全" Microsoft版本是根据上线"类型许可发行的,那么我看不到您正在寻找完成"的许可证,那么我看不到.

The Answer here has some interesting info on WebHooks and how to think about them. I'd not come across this so I did some digging, documentation is here . Its currently in RC2 so whether or not it's safe to use is difficult to ascertain. Generally if its "safe" Microsoft release under a "Go Live" type license so as I couldn't see one I'm guessing if you're looking for "done" then no.

如果在每个RC推到1.0之前,如果您乐意修复所有重大更改,则可以(需要您自担风险).现在在 GitHub 上有18个未解决的问题,所以我也先浏览一下如果您能发现任何可能阻碍您前进的因素.

If you're happy to fix any breaking changes as it pushes through each RC until it hits 1.0 then yes (at your own risk). There are 18 open issues on GitHub right now so I'd also look through those first and see if you can spot anything there that might hinder you if you plan to go ahead.

您是否考虑过使用普通的ASP.NET Web API类型的项目?

Have you considered using a normal ASP.NET Web API type project instead?

这篇关于ASP.Net WebHooks是一个好的解决方案,它们的延展性如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆