Presentation on theme: "Azure REST Services Presented by Barkha Herman My-Guides.com."— Presentation transcript:
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? Some notes on scalability
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)
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.
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.
Pricing Database – Based on instance / Size Compute – Based on instance / Size CDN – Size / Transfer Volume https://www.windowsazure.com/en- us/pricing/details/
How to write a RESTful services and deploy them to Azure Its easier than you think… Use WCF / C# (use what you know) Download / Install REST Template – http://visualstudiogallery.msdn.microsoft.com/fbc7e5 c1-a0d2-41bd-9d7b-e54c845394cd http://visualstudiogallery.msdn.microsoft.com/fbc7e5 c1-a0d2-41bd-9d7b-e54c845394cd SQL Azure WCF Service Deploy Run!
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
Scalability Autoscaling Application Block AzureWatch Demo – how to change it manually
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!)
How to get the code / Contact me All the code for this session including slides are at: – http://www.my-guides.com/blog http://www.my-guides.com/blog The best way to reach me is email: – firstname.lastname@example.org email@example.com – www.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…