+ All Categories
Home > Technology > Atd 2015 asp.net web hooks

Atd 2015 asp.net web hooks

Date post: 14-Apr-2017
Category:
Upload: netmedia
View: 43 times
Download: 0 times
Share this document with a friend
14
Advanced Technology Days 18. i 19. studenog 2015., Cinestar Arena Centar
Transcript
Page 1: Atd 2015   asp.net web hooks

Advanced Technology Days18. i 19. studenog 2015., Cinestar Arena Centar

Page 2: Atd 2015   asp.net web hooks

ASP.NET WebHookspush notifikacije u web svijetu?Vladan Strigohttp://netmedia.io

Page 3: Atd 2015   asp.net web hooks

Vladan Strigo• NETmedia

‐ CTO‐ ASP.NET / Hybrid mobile / JS*‐ Outsourcing

• Community‐ Ex-ASP.NET MVP‐ DevUG Split / Speaker‐ Involved in open-source

Page 4: Atd 2015   asp.net web hooks

Web?

Server ClientRESPONSE

REQUEST

Page 5: Atd 2015   asp.net web hooks

Web – promjene?Serve

r ClientRESPONSE

REQUEST

TIM

E

RESPONSE

REQUEST

RESPONSE

REQUEST

Page 6: Atd 2015   asp.net web hooks

Web – bolji način – push!Serve

r ClientRESPONSE

REQUEST

TIM

E

PROMJENE

PROMJENE

PROMJENE

Page 7: Atd 2015   asp.net web hooks

Web hooks?• Lightweight HTTP pattern• Request based output vs. Event based output

mehanizam• Pub/sub model

‐ Events‐ Subscriptions- Callback- POST

• Zašto HTTP? Jednostavnost!• 2007!!!

Page 8: Atd 2015   asp.net web hooks

Web hooks?

Pošiljatelj

Server, servis...naša

aplikacija?

Primatelj

Klijent(i)...naša

aplikacija?

SUBSCRIBE

PUBLISH EVENTS

POST

POST

POST

UNSUBSCRIBE

Page 9: Atd 2015   asp.net web hooks

Ne samo vlastiti! Tko koristi?• Dropbox• GitHub• Instagram• MailChimp• PayPal• Slack• Trello• ...

Page 10: Atd 2015   asp.net web hooks

Microsoft?• Zašto?

‐ Jednostavnost i standardiziranost• Primanje

‐ Podrška za vanjske servise out of the box• Azure Alerts, Dropbox, GitHub, Kudu, Instagram,

MailChimp, PayPal, Pusher, Salesforce, Slack, Stripe, Trello, WordPress...

• Custom servisi, Json servisi, naši servisi• Slanje• Objava evenata• Praćenje subscriptiona – Azure / SQL / InMemory• Objava promjena

Page 11: Atd 2015   asp.net web hooks

KOOD

Page 12: Atd 2015   asp.net web hooks

Web hooks i WebHooks• Web hooks

‐ Lightweight HTTP pattern‐ Request based output vs. Event based output

mehanizam‐ Pub/sub model (...Events, Subscriptions, Callback, POST...)

- WebHooks- Microsoftova podrška za rad sa Web hooksima- Podrška za slanje i primanje- Primanje out of the box za hrpu modernih servisa

Page 13: Atd 2015   asp.net web hooks

[email protected]://netmedia.io/

Page 14: Atd 2015   asp.net web hooks

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Recommended