Programming APIs with C# and .NET: Develop high-performance APIs that ensure seamless application communication and enhanced security
暫譯: 使用 C# 和 .NET 開發 API:打造高效能的 API 確保應用程式之間的無縫通信與增強安全性

Liberty, Jesse, Dluzen, Joseph

  • 出版商: Packt Publishing
  • 出版日期: 2024-11-22
  • 售價: $1,870
  • 貴賓價: 9.5$1,777
  • 語言: 英文
  • 頁數: 166
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835468853
  • ISBN-13: 9781835468852
  • 相關分類: .NETC#資訊安全
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Master API design and deployment with C# and .NET, creating scalable, secure, and high-performance APIs for real-world applications

Key Features:

- Learn API design principles and architecture for high-performance applications

- Develop robust APIs using best practices for security, scalability, and maintainability

- Implement both traditional and minimal APIs with real-world scenarios

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

APIs are at the heart of modern software development, enabling seamless communication between applications. In the C# and .NET ecosystem, mastering API development is key to building scalable, reliable systems that meet both client and enterprise needs.

Written by C# and .NET experts Jesse Liberty and Joseph Dluzen, this book draws on their extensive experience as hands-on programmers to equip you with the tools, techniques, and best practices for creating powerful APIs.

Starting with API fundamentals, it covers everything you need to design, build, and consume APIs using .NET technologies such as ASP.NET Core, and explores both controller and Function API implementations. You'll integrate essential tools such as Postman for testing to streamline your development workflow.

Through practical examples and exercises, the book guides you from database creation to deploying APIs on Azure. By the end of this book, you'll have gained real-world skills to develop secure, high-performance APIs that scale with your applications for both personal projects and enterprise-level systems.

What You Will Learn:

- Understand core API concepts and how to apply them in .NET projects

- Design RESTful APIs with a focus on scalability

- Build APIs with ASP.NET Core

- Explore alternative options for API development using Azure Functions, including stateful workflows with Durable Functions

- Integrate databases into API projects, ensuring efficient data flow

- Implement security measures such as authentication and authorization

- Deploy APIs to Azure and learn the essentials of cloud integration

Who this book is for:

This book is for .NET developers, software engineers, and backend developers looking to master API development using C# and ASP.NET Core. It caters to those with a basic understanding of C# and familiarity with the .NET ecosystem. Even though no prior experience with API frameworks is required, knowledge of ASP.NET Core will be helpful.

Table of Contents

- Getting Started

- What We'll Build

- Implementing with REST

- Documentation with Swagger

- Data Validation

- Azure Functions

- Azure Durable Functions

- Advanced Topics

- Authentication and Authorization

- Deploying to Azure

- What's Next?

商品描述(中文翻譯)

**掌握使用 C# 和 .NET 的 API 設計與部署,為實際應用創建可擴展、安全且高效能的 API**

**主要特點:**
- 學習高效能應用的 API 設計原則和架構
- 使用最佳實踐開發穩健的 API,確保安全性、可擴展性和可維護性
- 實作傳統和最小化 API,並結合實際案例
- 購買印刷版或 Kindle 書籍可獲得免費 PDF 電子書

**書籍描述:**
API 是現代軟體開發的核心,能夠實現應用之間的無縫通信。在 C# 和 .NET 生態系統中,掌握 API 開發是構建可擴展、可靠系統的關鍵,以滿足客戶和企業的需求。

本書由 C# 和 .NET 專家 Jesse Liberty 和 Joseph Dluzen 撰寫,基於他們作為實務程式設計師的豐富經驗,為您提供創建強大 API 的工具、技術和最佳實踐。

從 API 基礎開始,涵蓋設計、構建和使用 API 所需的所有內容,使用 .NET 技術如 ASP.NET Core,並探討控制器和函數 API 的實作。您將整合 Postman 等必要工具進行測試,以簡化開發工作流程。

透過實際範例和練習,本書將指導您從資料庫創建到在 Azure 上部署 API。到本書結束時,您將獲得開發安全、高效能 API 的實務技能,這些 API 能隨著您的應用程式擴展,適用於個人專案和企業級系統。

**您將學到的內容:**
- 理解核心 API 概念及其在 .NET 專案中的應用
- 設計以可擴展性為重點的 RESTful API
- 使用 ASP.NET Core 構建 API
- 探索使用 Azure Functions 的 API 開發替代選項,包括使用 Durable Functions 的有狀態工作流程
- 將資料庫整合到 API 專案中,確保數據流的高效
- 實施安全措施,如身份驗證和授權
- 將 API 部署到 Azure,學習雲端整合的基本知識

**本書適合的人群:**
本書適合希望掌握使用 C# 和 ASP.NET Core 進行 API 開發的 .NET 開發人員、軟體工程師和後端開發人員。適合對 C# 有基本了解並熟悉 .NET 生態系統的人士。雖然不需要具備 API 框架的先前經驗,但了解 ASP.NET Core 將會有所幫助。

**目錄:**
- 開始使用
- 我們將構建的內容
- 使用 REST 實作
- 使用 Swagger 進行文檔編寫
- 數據驗證
- Azure Functions
- Azure Durable Functions
- 進階主題
- 身份驗證和授權
- 部署到 Azure
- 接下來的步驟?