From the course: Developing UWP Apps: 4 Networking and Storage

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Web service concepts

Web service concepts

- [Instructor] Another cool thing about the Universal Windows Platform is it makes it easy for developers to connect to external services, specifically Web services and APIs in ways that make sense for them based on their organizational needs and their preferred mechanisms. For example, if you have legacy apps you're trying to upgrade, you may need older methods of connecting to web services while you migrate some of your code to newer platforms. In general, the preferred mechanism for calling a legacy web service like an ASMX, or an SVP is still to use the standard service reference definition file, which if you've done Silverlight development, or older Windows development you're very familiar with. The Universal Platform also has additional mechanisms for example, connecting directly to a REST API Client, like an Azure API app, or something that is exposed via Swagger definition. But the best practice really is to call REST-based services using standard action results like GET…

Contents