1 / 15

Azure REST Services

Azure REST Services. Presented by Barkha Herman My-Guides.com. What are we going to talk about?. How to write a REST service for Azure How to use Azure Console / SQL Azure (brief) How to deploy Azure Service How to consume a REST service (obligatory) What about security?

Download Presentation

Azure REST Services

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Azure REST Services Presented by Barkha Herman My-Guides.com

  2. What are we going to talk about? • How to write a REST service for Azure • How to use Azure Console / SQL Azure (brief) • How to deploy Azure Service • How to consume a REST service (obligatory) • What about security? • Some notes on scalability

  3. Service – Why? • Amazon – everything is a service • Steve Yegge Rant • Clients are more than the website • Social media, web, thick client, smart devices etc. • Services begat client apps (see bullet 1)

  4. Obligatory REST slide (aka REST – Why?) • Representational State Transfer • Easy as web • Uses Get, Put, Post Delete for CRUD • URIs, HTTP based, Common Data formats • Roy Fielding started it! • Light weight, does not have to be XML.

  5. Azure – Why? • Scalability is easy – scale up (hosted account story) • Cost – pay as you go, scale down • Reliability – triple redundancy to avoid falls (climbing reference) • Security – Bank vs. Mattress analogy • PaaS as opposed to SaaS • Watch the spiel on MS sites if you want to know more.

  6. Pricing • Database • Based on instance / Size • Compute • Based on instance / Size • CDN • Size / Transfer Volume https://www.windowsazure.com/en-us/pricing/details/

  7. How to write a RESTful services and deploy them to Azure • It’s easier than you think… • Use WCF / C# (use what you know) • Download / Install REST Template • http://visualstudiogallery.msdn.microsoft.com/fbc7e5c1-a0d2-41bd-9d7b-e54c845394cd • SQL Azure • WCF Service • Deploy • Run!

  8. CODE!!!

  9. What about security? • Why I love to segregate – aka Command Query Separation • Security • Read service is world accessible – write service not so much • Performance • Throw more instances at the read service • Bertrand Meyers - if you want to learn more • Tokens for access • TLS

  10. CODE!!!!

  11. Scalability • Autoscaling Application Block • AzureWatch • Demo – how to change it manually

  12. Conclusion • Azure makes it super easy to write and deploy scalable services • REST / WCF makes it super easy to write accessible services • Got to be on the app store if you want to be seen  (come together!)

  13. Questions?

  14. Shameless Plug - download our apps!!!(and rate them)

  15. How to get the code / Contact me • All the code for this session including slides are at: • http://www.my-guides.com/blog • The best way to reach me is email: • barkha@my-guides.com • www.my-guides.com • Download our free apps, and rate them!!!! • How fast I respond to emails depends entirely on how you rate our apps…

More Related