Overview
Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Explore the principles of effective .NET API design in this comprehensive conference talk. Learn why some libraries succeed while others fail, and discover high-level design concepts like The Pit of Success, The Wall of Complexity, and The Power of Sameness. Delve into practical applications of these principles in low-level .NET class design, aiming to create libraries that developers love. Gain insights on naming guidelines, common pitfalls, and tips for avoiding problems. Cover topics such as enumerations, named arguments, properties, fields, constructor design, exception handling, and designing for extensibility. Understand the importance of API design, its long-lasting impact, and how to evolve APIs effectively. Whether you're a seasoned developer or just starting out, acquire valuable knowledge to create intuitive, user-friendly, and powerful .NET APIs that stand the test of time.
Syllabus
Introduction
Dont API Design
Why is API Design Important
APIs are Forever
Everyone is an API Designer
What makes a good API
Hibernate example
API power
API evolution
Pit of success
Wall of complexity
Web Forms
Power of Sameness
Start Small
Expect Mistakes
Dont Be Afraid to Say No
Naming Guidelines
Avoid acronyms
Common pitfalls
Tips to avoid problems
Enumerations
Named Arguments
Enumeration
Helper Methods
Properties
Fields
constructor design
throwing exceptions
designing for extensibility
Jason Serializer
Taught by
NDC Conferences