"ASP. NET Web API Tutorial" 3 Web API Client

Source: Internet
Author: User

Chapter 3:web API Clients
3rd Chapter WEB API Client

This article quoted: http://www.asp.net/web-api/overview/web-api-clients

In this chapter, you ' ll learn:
In this chapter you will learn how to create a client applications that call your Web API.
How to create a client application that invokes the Web API. Includes the following sections:
3.1 Sample:introduction to HttpClient
Example: httpclient Introduction
This is sample demonstrates HttpClient, a modern HTTP client for. NET. HttpClient provides a flexible and extensible API for accessing all things exposed through HTTP.
This example demonstrates httpclient, which is used for. NET is a modern HTTP client. HttpClient provides a flexible, extensible API for accessing everything exposed through HTTP. (Note: in http://blogs.msdn.com/b/webdev/archive/2012/08/26/ Asp-net-web-api-and-httpclient-samples.aspx now has three examples of httpclient aspects, this tutorial series translation of a little-translator note).
3.2 Calling a Web API from a. NET Client
Pass. NET client invoke Web API
by
Mike Wasson | July 18, 2012
Mike Wasson | date: 2012-7-18
This
tutorial shows how to use HttpClient in a C # console application, to make HTTP calls to a Web API.
This tutorial shows how to use HttpClient in a C # console application to form an HTTP call to the Web API.
3.3 Calling a Web API from a WPF application
Calling the Web API from a WPF application
by
Mike Wasson | August 22, 2012
Mike Wasson | date: 2012-8-22
This tutorial builds on the previous, by showing how to handle asynchronous methods in HttpClient, without blocking the CL Ient UI.
This tutorial builds on the previous basics and shows how to handle asynchronous methods in HttpClient
.
3.4 HttpClient Message handlers
HttpClient message handlers
by
Mike wasson| October 1, 2012
Mike Wasson | date: 2012-10-1
shows how to add custom HTTP message handlers to the HttpClient pipeline.
Shows how to add a custom HTTP message handler to the HttpClient pipeline.

Reference page:hTTP://QINgQINgQuege.CNbLogs.Com/P/5933752.hTmL

"ASP. NET Web API Tutorial" 3 Web API Client

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.