ASP. NET new member ASP. NET WebHooks, new member webhooks
(This article is also published in my public account "dotNET daily excellent article". Welcome to the QR code on the right to follow it .)
Note: In addition to ASP. NET 5 Beta7, Microsoft released ASP. NET 5's browser version d a few days ago.
WebHooks is a lightweight interaction mode in the HTTP world. It integrates SaaS and WEB APIs through a simple publishing/subscription mode. Simply put, if the SaaS system needs to push the information, it will send the information to the subscriber through http post (here the subscriber is generally a REST standard web api ).
If we regard WebHooks as an industry standard, ASP. NET WebHooks is one of its implementations. This is similar to ASP. NET Signal for WebSocket. ASP. NET WebHooks includes the sending and receiving functions (the underlying technology is Web API 2 and MVC 5, and ASP. NET 5 is not yet supported ):
- At the receiving end, a common model is provided for receiving and processing the WebHook from any WebHook provider. It also has built-in Dropbox, GitHub, MailChimp, PayPal, Pusher, Slack, Stripe, Trello, and WordPress providers' implementations. That is to say, it is easy to develop a program to monitor Dropbox file changes or GitHub submissions.
- On the sender side, you can manage and store subscriber information, and send event reminders to appropriate subscriber. This simplifies the development of WebHook senders.
Detailed development instructions I will not go into details, you can view the "original" or view the source code (https://github.com/aspnet/WebHooks ). I would like to talk about ASP. the significance behind the release of NET WebHooks (personal opinion only): 2015 is called the first year of SaaS, and the valuation of various SaaS providers continues to rise, in the future, better integration of various SaaS products will certainly become a hot topic. WebHooks, as a basic technology integrated with SaaS, will certainly be valued by mainstream development platforms, so ASP. NET WebHooks came into being.
Address: http://blogs.msdn.com/ B /webdev/archive/2015/09/04/introducing-microsoft-asp-net-webhooks-preview.aspx