4. 今天不講ASP.NET Web API 2
▪ TechDays Taiwan 2013 Dev303
– http://mvc.tw/001g
▪ Web Services 開發實戰: 使用 ASP.NET Web API 2
– http://mvc.tw/001h
4
6. ASP.NET Web API 2.1.2
▪ Global Error Handling
▪ Attribute routing improvements
▪ Help Page improvements
▪ IgnoreRoute support
▪ BSON media-type formatter
▪ Better support for async filters
▪ Query Parsing for the client formatting library
6
8. Update 2
▪ Visual Studio 2013 Update 2
▪ MVC / Web API範本有更新
預設載入
ASP.NET MVC 5.1.2
ASP.NET Web API 2.1.2(5.1.2)
8
9. 我不想裝 Update 2
▪ Visual Studio 2013 Update 1
▪ VS 2013 with ASP.NET and Web Tools 2013.1
http://www.asp.net/downloads
▪ PM> Update-Package Microsoft.AspNet.WebApi
9
36. ASP.NET Web API Batching
▪ ASP.NET Web API 2提供。
▪ Batch poing
– HTTP批次端點
▪ 透過MapHttpBatchRoute設定HTTP批次端點,提供HTTP處理批次要求的能力。
– OData批次端點
▪ 透過MapODataRoute設定OData Service批次端點,提供OData Service處理批
次要求的能力。
36
40. Extenal Login
▪ ASP.NET Web API 2提供。
▪ Web API 2內建OAuth Authorization Server,提供Token方式
來進行會員管理的功能。
▪ 可整合第三方OAuth 2.0服務,目前內建整合Microsoft Account、
Twitter、Facebook、Google提供的Token進行驗證使用者作業。
40
41. 罵完了,還是要工商服務 :D
▪ WEB SERVICES開發實戰班:使用ASP.NET WEB API 2-台中班
▪ http://goo.gl/TZ4jHo