Modern API Design with ASP.NET Core 2: Building Cross-Platform Back-End Systems

Fanie Reynders

  • 出版商: Apress
  • 出版日期: 2018-03-08
  • 售價: $1,240
  • 貴賓價: 9.5$1,178
  • 語言: 英文
  • 頁數: 260
  • 裝訂: Paperback
  • ISBN: 1484235185
  • ISBN-13: 9781484235188
  • 相關分類: .NETASP.NET
  • 海外代購書籍(需單獨結帳)



Use ASP.NET Core 2 to create durable and cross-platform web APIs through a series of applied, practical scenarios. Examples in this book help you build APIs that are fast and scalable. You’ll progress from the basics of the framework through to solving the complex problems encountered in implementing secure RESTful services. The book is packed full of examples showing how Microsoft’s ground-up rewrite of ASP.NET Core 2 enables native cross-platform applications that are fast and modular, allowing your cloud-ready server applications to scale as your business grows. 
Major topics covered in the book include the fundamentals and core concepts of ASP.NET Core 2. You'll learn about building RESTful APIs with the MVC pattern using proven best practices and following the six principles of REST. Examples in the book help in learning to develop world-class web APIs and applications that can run on any platform, including Windows, Linux, and MacOS. You can even deploy to Microsoft Azure and automate your delivery by implementing Continuous Integration and Continuous Deployment pipelines.
What You Will Learn
  • Incorporate automated API tooling such as Swagger from the OpenAPI specification
  • Standardize query and response formats using Facebook’s GraphQL query language
  • Implement security by applying authentication and authorization using ASP.NET Identity
  • Ensure the safe storage of sensitive data using the data protection stack
  • Create unit and integration tests to guarantee code quality
Who This Book Is For
Developers who build server applications such as web sites and web APIs that need to run fast and cross platform; programmers who want to implement practical solutions for real-world problems; those who want in-depth knowledge of the latest bits of ASP.NET Core 2.0


使用ASP.NET Core 2來創建持久且跨平台的Web API,通過一系列應用的實際場景來實現。本書中的示例將幫助您構建快速且可擴展的API。您將從框架的基礎知識開始,解決實施安全的RESTful服務時遇到的複雜問題。本書充滿了示例,展示了微軟對ASP.NET Core 2的從頭重寫,實現了快速且模塊化的本地跨平台應用程序,使您的雲準備的服務器應用程序能夠隨著業務的發展而擴展。

本書涵蓋的主要主題包括ASP.NET Core 2的基礎知識和核心概念。您將學習使用MVC模式和經過驗證的最佳實踐來構建RESTful API,並遵循REST的六個原則。本書中的示例將幫助您學習開發世界一流的Web API和應用程序,可以在任何平台上運行,包括Windows、Linux和MacOS。您甚至可以部署到Microsoft Azure並通過實施持續集成和持續部署流程來自動化交付。


- 使用OpenAPI規範中的Swagger等自動化API工具
- 使用Facebook的GraphQL查詢語言標準化查詢和響應格式
- 通過應用ASP.NET Identity進行身份驗證和授權來實現安全性
- 使用數據保護堆棧確保敏感數據的安全存儲
- 創建單元測試和集成測試以保證代碼質量


- 需要快速且跨平台運行的服務器應用程序(如網站和Web API)的開發人員
- 想要為現實世界的問題實施實用解決方案的程序員
- 需要深入了解ASP.NET Core 2.0最新功能的人士