Book description
Framework Design Guidelines, Second Edition, teaches developers the best practices for designing reusable libraries for the Microsoft .NET Framework. Expanded and updated for .NET 3.5, this new edition focuses on the design issues that directly affect the programmability of a class library, specifically its publicly accessible APIs.
This book can improve the work of any .NET developer producing code that other developers will use. It includes copious annotations to the guidelines by thirty-five prominent architects and practitioners of the .NET Framework, providing a lively discussion of the reasons for the guidelines as well as examples of when to break those guidelines.
Microsoft architects Krzysztof Cwalina and Brad Abrams teach framework design from the top down. From their significant combined experience and deep insight, you will learn
The general philosophy and fundamental principles of framework design
Naming guidelines for the various parts of a framework
Guidelines for the design and extending of types and members of types
Issues affecting–and guidelines for ensuring–extensibility
How (and how not) to design exceptions
Guidelines for–and examples of–common framework design patterns
Guidelines in this book are presented in four major forms: Do, Consider, Avoid, and Do not. These directives help focus attention on practices that should always be used, those that should generally be used, those that should rarely be used, and those that should never be used. Every guideline includes a discussion of its applicability, and most include a code example to help illuminate the dialogue.
Framework Design Guidelines, Second Edition, is the only definitive source of best practices for managed code API development, direct from the architects themselves.
A companion DVD includes the Designing .NET Class Libraries video series, instructional presentations by the authors on design guidelines for developing classes and components that extend the .NET Framework. A sample API specification and other useful resources and tools are also included.
Table of contents
- Title Page
- Copyright Page
- Contents
- Figures
- Tables
- Foreword
- Foreword to the First Edition
- Preface
- Acknowledgments
- About the Authors
- About the Annotators
- 1 Introduction
- 2 Framework Design Fundamentals
- 3 Naming Guidelines
- 4 Type Design Guidelines
- 5 Member Design
- 6 Designing for Extensibility
- 7 Exceptions
- 8 Usage Guidelines
- 9 Common Design Patterns
- A C# Coding Style Conventions
- B Using FxCop to Enforce the Framework Design Guidelines
- C Sample API Specification
- Glossary
- Suggested Reading List
- Index
Product information
- Title: Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, Second Edition
- Author(s):
- Release date: October 2008
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321545619
You might also like
book
Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries, 3rd Edition
Master Today’s Best Practices for Building Reusable .NET Frameworks, Libraries, and Components “.NET Core [contains] advances …
book
Design Patterns in .NET Core 3: Reusable Approaches in C# and F# for Object-Oriented Software Design
Implement design patterns in .NET Core 3 using the latest versions of the C# and F# …
book
C# 10 Quick Syntax Reference: A Pocket Guide to the Language, APIs, and Library
Discover what's new in C# and .NET for Windows programming. This book is a condensed code …
book
Applying Domain-Driven Design and Patterns: With Examples in C# and .NET
“[This] is a book about design in the .NET world, driven in an agile manner and …