Download presentation
Presentation is loading. Please wait.
Published byLinette Short Modified over 9 years ago
1
INFO 344 Web Tools And Development CK Wang University of Washington Spring 2014
2
Web Service on Azure
3
Web Service Open Visual Studio 2013 New Project, Web Application/Website, Add new file, Web Service (asmx) Run the code. You should see a website with a lot of protocol specs and the hello world API We want to be able to pass in a name, and say “hello world ” Run locally, it works! So easy to test!
4
ASMX Easy and simple to write Takes care of all the different protocols (REST/SOAP/etc) ** key ** Returns JSON or XML!
5
Publish on Azure! See previous slides on how to publish to Azure. But wait… doesn’t work, can’t test it. Error message: “The test form is only available for requests from the local machine” Search on Google : )
6
Pop Quiz (2pts) Write a web service (asmx) Takes input (integer) N Output prime numbers less than N WebMethod name is “GetPrimeNumbers” Submit your Azure URL to Canvas. We’ll grade from there. Part 2: Input = string, Output = permutations of this string WebMethod = PermuteString 1 EC if you get this right.
7
Questions?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.