【ASP.NET Web API教程】1.1 第一個(gè)ASP.NET Web API

Your First ASP.NET Web API (C#) 第一個(gè)ASP.NET Web API(C#) By Mike Wasson|January 21, 2012 作者:Mike Wasson | 日期:2012-1-21 本文引自: HTTP is not just for serving up web pages. It is also a powerful platform for building APIs that expo

Your First ASP.NET Web API (C#)
第一個(gè)ASP.NET Web API(C#)

By Mike Wasson|January 21, 2012
作者:Mike Wasson | 日期:2012-1-21

本文引自:

HTTP is not just for serving up web pages. It is also a powerful platform for building APIs that expose services and data. HTTP is simple, flexible, and ubiquitous. Almost any platform that you can think of has an HTTP library, so HTTP services can reach a broad range of clients, including browsers, mobile devices, and traditional desktop applications.
HTTP不僅服務(wù)于web頁面。它也是建立暴露服務(wù)與數(shù)據(jù)的API(應(yīng)用程序編程接口)的功能強(qiáng)大的平臺(tái)。HTTP簡(jiǎn)單、靈活且無處不在。幾乎你所能想到的任何平臺(tái)都有一個(gè)HTTP庫(kù),因此,HTTP服務(wù)能夠到達(dá)范圍廣泛的客戶端,虛擬主機(jī),包括瀏覽器、移動(dòng)設(shè)備、以及傳統(tǒng)的桌面應(yīng)用程序。

ASP.NET Web API is a framework for building web APIs on top of the .NET Framework. In this tutorial, you will use ASP.NET Web API to create a web API that returns a list of products. The front-end web page uses jQuery to display the results.
ASP.NET Web API是一個(gè)用來在.NET框架上建立web API的框架。在本教程中,香港服務(wù)器租用,你將運(yùn)用ASP.NET Web API來創(chuàng)建一個(gè)返回產(chǎn)品列表的web API。前端web頁面使用jQuery來顯示其結(jié)果(如圖1所示)。

【ASP.NET Web API教程】1.1 第一個(gè)ASP.NET Web API

圖1. 應(yīng)用程序的web頁面

,香港虛擬主機(jī)

? 版權(quán)聲明
THE END
喜歡就支持一下吧
點(diǎn)贊6 分享