Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .Net Libraries, 3/e (Paperback)

Cwalina, Krzysztof, Barton, Jeremy, Abrams, Brad

買這商品的人也買了...

商品描述

Master Today's Best Practices for Building Reusable .NET Frameworks, Libraries, and Components
".NET Core contains] advances important to cloud application developers: performance, resource utilization, container support, and others. This third edition of Framework Design Guidelines adds guidelines related to changes that the .NET team adopted during transition from the world of client-server application to the world of the Cloud."
-From the Foreword by Scott Guthrie Framework Design Guidelines has long been the definitive guide to best practices for developing components and component libraries in Microsoft .NET. Now, this third edition has been fully revised to reflect game-changing API design innovations introduced by Microsoft through eight recent updates to C#, eleven updates to .NET Framework, and the emergence and evolution of .NET Core.

Three leading .NET architects share the same guidance Microsoft teams are using to evolve .NET, so you can design well-performing components that feel like natural extensions to the platform. Building on the book's proven explanatory style, the authors and expert annotators offer insider guidance on new .NET and C# concepts, including major advances in asynchronous programming and lightweight memory access. Throughout, they clarify and refresh existing content, helping you take full advantage of best practices based on C# 8, .NET Framework 4.8, and .NET Core.

  • Discover which practices should always, generally, rarely, or never be used-including practices that are no longer recommended
  • Learn the general philosophy and fundamental principles of modern framework design
  • Explore common framework design patterns with up-to-date C# examples
  • Apply best practices for naming, types, extensibility, and exceptions
  • Learn how to design libraries that scale in the cloud
  • Master new async programming techniques utilizing Task and ValueTask
  • Make the most of the Memory and Span types for lightweight memory access

This guide is an indispensable resource for everyone who builds reusable .NET-based frameworks, libraries, or components at any scale: large system frameworks, medium-size reusable layers of large distributed systems, extensions to system frameworks, or even small shared components.

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

商品描述(中文翻譯)

掌握建立可重複使用的.NET Frameworks、Libraries和Components的最佳實踐

".NET Core包含了對雲應用程序開發者重要的進展:性能、資源利用、容器支援等等。這本Framework Design Guidelines的第三版增加了與.NET團隊在從客戶端-服務器應用程序世界過渡到雲世界時所採用的變化相關的指南。"

-Scott Guthrie的前言 Framework Design Guidelines 一直是開發Microsoft .NET中組件和組件庫的最佳實踐的權威指南。現在,這本第三版已經完全修訂,以反映Microsoft通過八次最近的C#更新、十一次.NET Framework更新以及.NET Core的出現和演進所引入的重大API設計創新。

三位領先的.NET架構師分享了Microsoft團隊用於演進.NET的相同指導,因此您可以設計出性能良好的組件,使其感覺像是平台的自然擴展。在這本書的基礎上,作者和專家註釋者提供了關於新的.NET和C#概念的內部指導,包括異步編程和輕量級內存訪問的重大進展。在整個過程中,他們澄清和更新現有內容,幫助您充分利用基於C# 8、.NET Framework 4.8和.NET Core的最佳實踐。


  • 了解哪些實踐應該總是、通常、很少或從不使用-包括不再推薦的實踐

  • 學習現代框架設計的一般哲學和基本原則

  • 通過最新的C#示例探索常見的框架設計模式

  • 應用最佳實踐於命名、類型、可擴展性和異常處理

  • 學習如何設計在雲中擴展的庫

  • 掌握使用Task和ValueTask的新異步編程技術

  • 充分利用Memory和Span類型進行輕量級內存訪問

這本指南是每個在任何規模上構建可重複使用的基於.NET的框架、庫或組件的人的不可或缺的資源:大型系統框架、大型分佈式系統的中等規模可重複使用層、系統框架的擴展,甚至是小型共享組件。

註冊您的書籍以便方便地獲取下載、更新和/或更正。詳情請參閱書中內容。

作者簡介

Krzysztof Cwalina is a Principal Architect at Microsoft. He was a founding member of the .NET Framework team, and throughout his career has designed many .NET Framework, .NET Core, and other APIs. He is currently working on Azure SDK APIs. Krzysztof graduated with BS and MS in computer science from the University of Iowa.
Jeremy Barton is a Principal Software Engineer at Microsoft. The majority of his career in computer software has been on the design and development of shared libraries. Since 2005 his primary programming language is C#, and he joined the .NET Base Class Libraries team in 2015 and is primarily responsible for .NET Cryptography. Jeremy graduated from Rose-Hulman Institute of Technology with a BS in Computer Science and Discrete Mathematics. Since graduation, he has gotten a cat, married, and a pilot's license.
Brad Abrams was a founding member of the Common Language Runtime and .NET Framework teams at Microsoft Corporation. He has been designing parts of the .NET Framework since 1998 and is currently a Group Program Manager at Google. Brad started his framework design career building the Base Class Library (BCL) that ships as a core part of the .NET Framework. Brad was also the lead editor on the Common Language Specification (CLS), the .NET Framework Design Guidelines, and the libraries in the ECMA/ISO CLI Standard. Brad has authored and coauthored multiple publications, including Programming in the .NET Environment and .NET Framework Standard Library Annotated Reference, Volumes 1 and 2. Brad graduated from North Carolina State University with a BS in computer science. You can find his most recent musings on his blog at http: //blogs.msdn.com/BradA.

作者簡介(中文翻譯)

Krzysztof Cwalina是微軟的首席架構師。他是.NET Framework團隊的創始成員,並在其職業生涯中設計了許多.NET Framework、.NET Core和其他API。他目前正在開發Azure SDK API。Krzysztof畢業於愛荷華大學,獲得計算機科學的學士和碩士學位。

Jeremy Barton是微軟的首席軟體工程師。他在計算機軟體領域的大部分職業生涯都致力於共享庫的設計和開發。自2005年以來,他的主要編程語言是C#,並於2015年加入了.NET基礎類庫團隊,主要負責.NET加密。Jeremy畢業於羅斯-胡爾曼理工學院,獲得計算機科學和離散數學的學士學位。畢業後,他養了一隻貓,結了婚,並獲得了飛行執照。

Brad Abrams是微軟公司通用語言運行時和.NET Framework團隊的創始成員。自1998年以來,他一直在設計.NET Framework的部分,目前是Google的一名群組程式經理。Brad在他的框架設計生涯中首先建立了作為.NET Framework核心部分的基礎類庫(BCL)。Brad還是Common Language Specification(CLS)、.NET Framework設計指南和ECMA/ISO CLI標準中的庫的主編。Brad還撰寫和合著了多本出版物,包括《在.NET環境中編程》和《.NET Framework標準庫註釋參考,第1卷和第2卷》。Brad畢業於北卡羅來納州立大學,獲得計算機科學的學士學位。您可以在他的博客http://blogs.msdn.com/BradA上找到他最近的思考。