Mastering Minimal APIs in ASP.NET Core: Build, test, and prototype web APIs quickly using .NET and C# (Paperback)
暫譯: 精通 ASP.NET Core 的最小 API:快速使用 .NET 和 C# 建立、測試及原型化網路 API (平裝本)
Tosato, Andrea, Minerva, Marco, Bartolesi, Emanuele
- 出版商: Packt Publishing
- 出版日期: 2022-10-21
- 售價: $1,600
- 貴賓價: 9.5 折 $1,520
- 語言: 英文
- 頁數: 240
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1803237821
- ISBN-13: 9781803237824
-
相關分類:
.NET、ASP.NET、C#
立即出貨 (庫存=1)
買這商品的人也買了...
-
$403WebGIS 之 OpenLayers 全面解析, 2/e
-
$680$578 -
$500$390 -
$658UiPath RPA 開發:入門、實戰與進階
-
$305ITIL 4 與 DevOps 服務管理認證指南, 2/e
-
$600$468 -
$403PyTorch 開發入門:深度學習模型的構建與程序實現
-
$458PyTorch 深度學習簡明實戰
-
$658利用 FastAPI 構建 Python 微服務
-
$768$730 -
$680$537
相關主題
商品描述
Get a practical understanding of how to build lightweight ASP.NET Core applications and write cleaner, testable, and secure APIs with .NET 6 and Minimal APIs
Key Features:
- Explore clear and detailed guidelines to design and develop APIs for ASP.NET Core apps
- Discover expert tips, tricks, and best practices to build performant APIs
- Implement proven web API development methodologies using .NET 6 features and tools
Book Description:
The Minimal APIs feature, introduced in .NET 6, is the answer to code complexity and rising dependencies in creating even the simplest of APIs. Minimal APIs facilitate API development using compact code syntax and help you develop web APIs quickly.
This practical guide explores Minimal APIs end-to-end and helps you take advantage of its features and benefits for your ASP.NET Core projects. The chapters in this book will help you speed up your development process by writing less code and maintaining fewer files using Minimal APIs. You'll also learn how to enable Swagger for API documentation along with CORS and handle application errors. The book even promotes ideas to structure your code in a better way using the dependency injection library in .NET. Finally, you'll learn about performance and benchmarking improvements for your apps.
By the end of this book, you'll be able to fully leverage new features in .NET 6 for API development and explore how Minimal APIs are an evolution over classical web API development in ASP.NET Core.
What You Will Learn:
- Adopt new features in .NET 6 for building lightweight APIs
- Understand how to optimize API development with Minimal APIs in .NET 6
- Discover best practices for accessing and using data in Minimal APIs
- Understand how to validate incoming data to an API and return error messages
- Get familiar with dependency injection and logging for identifying errors
- Leverage the translation system in Minimal APIs to provide messages and errors in regional languages
Who this book is for:
If you are an existing .NET developer who wants to develop lightweight APIs quickly without much complexity, this book is for you. If you are a developer who is just getting started with the ASP.NET Core framework, this book will help you learn web API development using the latest .NET features. The book assumes intermediate-level knowledge of C# programming, Visual Studio, and REST API concepts.
商品描述(中文翻譯)
獲得實用的理解,學習如何構建輕量級的 ASP.NET Core 應用程式,並使用 .NET 6 和 Minimal APIs 編寫更乾淨、可測試且安全的 API
主要特點:
- 探索設計和開發 ASP.NET Core 應用程式 API 的清晰且詳細的指導方針
- 發現專家提示、技巧和最佳實踐,以構建高效能的 API
- 使用 .NET 6 的功能和工具實施經過驗證的 Web API 開發方法論
書籍描述:
Minimal APIs 功能是在 .NET 6 中引入的,旨在解決創建即使是最簡單的 API 時代碼複雜性和依賴性上升的問題。Minimal APIs 透過緊湊的代碼語法促進 API 開發,幫助您快速開發 Web API。
這本實用指南全面探討 Minimal APIs,幫助您利用其功能和優勢來進行 ASP.NET Core 專案的開發。本書的章節將幫助您通過編寫更少的代碼和維護更少的檔案來加快開發過程,使用 Minimal APIs。您還將學習如何啟用 Swagger 進行 API 文檔編寫,處理 CORS 以及應用程式錯誤。這本書甚至提出了使用 .NET 中的依賴注入庫來更好地結構化代碼的想法。最後,您將了解應用程式的性能和基準改進。
在本書結束時,您將能夠充分利用 .NET 6 中的新功能進行 API 開發,並探索 Minimal APIs 如何在 ASP.NET Core 中演變出經典的 Web API 開發。
您將學到什麼:
- 採用 .NET 6 中的新功能來構建輕量級 API
- 了解如何使用 .NET 6 中的 Minimal APIs 優化 API 開發
- 發現在 Minimal APIs 中訪問和使用數據的最佳實踐
- 了解如何驗證傳入 API 的數據並返回錯誤消息
- 熟悉依賴注入和日誌記錄,以識別錯誤
- 利用 Minimal APIs 中的翻譯系統提供區域語言的消息和錯誤
本書適合誰:
如果您是現有的 .NET 開發人員,想要快速開發輕量級 API 而不需要太多複雜性,這本書適合您。如果您是剛開始接觸 ASP.NET Core 框架的開發人員,這本書將幫助您學習使用最新的 .NET 功能進行 Web API 開發。本書假設您具備中級的 C# 編程、Visual Studio 和 REST API 概念的知識。