Are ASP.Net WebHooks a good solution and how malleable are they?

六月ゝ 毕业季﹏ 提交于 2019-12-11 05:27:58

问题


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.

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

But multiple problems :

  • it seems like it's hardly configurable
  • can I use my own database tables ?
  • the ASP.NET WebHooks solution seems very young (the packages are in prerelease), is it safe to use it now ?

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

Thanks


回答1:


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.

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.

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



来源:https://stackoverflow.com/questions/40427473/are-asp-net-webhooks-a-good-solution-and-how-malleable-are-they

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!