Jump to ratings and reviews
Rate this book

Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries

Rate this book
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.

624 pages, Paperback

First published September 29, 2005

45 people are currently reading
586 people want to read

About the author

Krzysztof Cwalina

4 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
160 (43%)
4 stars
156 (41%)
3 stars
42 (11%)
2 stars
11 (2%)
1 star
3 (<1%)
Displaying 1 - 18 of 18 reviews
Profile Image for Moien Tajik.
3 reviews11 followers
September 11, 2020
This is the book that at least all .NET developers have to read! It mentioned tips, best-practices, and a lot of other things about .NET and framework design.

And it's good to remember what folks have reviewed this book: Anders Hejlsberg, Scott Guthrie, and Miguel De Icaza. You can learn a lot from each of them individually!
Profile Image for Paweł.
3 reviews
March 18, 2018
Polecam. Podczas czytania napisałem 3 strony A4 notatek.
Niektóre rozdziały do ponownego przeczytania, bo tak dobre.
Profile Image for Morten .
82 reviews7 followers
May 29, 2021
It gave me some insight into the though process that is behind .net framework, and it were interesting that they have included different viewpoints for the design decisions that were made.
17 reviews
January 4, 2025
Some of what I read here 15 years ago still influences my day to day work.
Profile Image for Roger.
8 reviews1 follower
October 9, 2007
This book is a must-read for any developer who is building or consuming .NET libraries. Even if you are familiar with the guidelines (from blogs, FxCop, or elsewhere) this book is outstanding--the authors sprinkle the primary guidelines content with commentary from other bigwigs, including Jeffrey Richter, Rico Mariani, Anders Hejlsberg and more. Through their comments, you get the "story-behind-the-story" (which guidelines are really important, which guidelines they disagree with, which guidelines are not followed the .NET Framework itself, etc.) This adds valuable practical advice, and makes for an interesting read.
Profile Image for Meg.
310 reviews8 followers
November 2, 2017
The best resource around for API design. Based on the creation of the .NET framework APIs, this is a fantastic set of guidelines for helping developers create easily understood API signatures.

One of my favorite aspects is the break-out text by various additional contributors. They are not afraid to point out their own mistakes (many of which still exist within the .NET libraries) or to question each others' decisions. Since there is very rarely a single right or wrong solution to a problem, I appreciate the discussions and reasoning behind many of these choices.
Profile Image for Robert.
283 reviews11 followers
April 27, 2009
Must read for .NET developer. It's aimed at explaining the rules for developing framework libraries but even if you're not in that business it's packed with insight. The book alternates between dry rules and entertaining commentary by .NET luminaries explaining exceptions, history or just why they miss Hungarian notation.
Profile Image for Jeff.
55 reviews13 followers
July 15, 2008
This book shows that the .net Framework has a clear design to it that is pretty decent and useful to follow Microsoft's lead. I recomend it to anyone working with .net.
5 reviews3 followers
January 23, 2010
Your new BIBLE... this is a must for all developers out there!
Profile Image for Igor Moiseev.
5 reviews
March 18, 2016
I think this book should read each developer who wants to write reusable assemblies. There are many great advices about right code and styles.
Profile Image for Mauricio Asuar.
16 reviews5 followers
November 1, 2011
A must for .NET programmers. It makes you understand FXCop & StyleCop at the deepest levels.
31 reviews1 follower
April 11, 2017
Although nowadays maybe bit outdated but still has a lot of fascinating advices. Absolutely eye opening book and must read when you are a .net developer.
Displaying 1 - 18 of 18 reviews

Can't find what you're looking for?

Get help and learn more about the design.