~/talk

Designing Wonderful .NET APIs

Talkat NDC Sydney 2017 · 2017-08-14..08-18· [developer-experience]
slides:none on file

Argues concrete API rules and shows them applied to Newtonsoft.Json: follow Pit of Success, avoid Wall of Complexity, exploit the Power of Sameness. Demonstrates fixes made in JSON.NET — clearer exceptions now include the value, target type, JSON path and line/position; a contract resolver to emit camelCase; using [Obsolete] for staged removals; adding virtual members to JsonConverter for safe extension; prefer composition over inheritance; lazy constructors, fail-fast checks, and small helper methods. Notes scale: JSON.NET sits under ~10,000 NuGet packages, so stability matters.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Dont API Design
  3. 3:23Why is API Design Important
  4. 3:49APIs are Forever
  5. 7:04Everyone is an API Designer
  6. 8:05What makes a good API
  7. 11:33Hibernate example
  8. 13:54API power
  9. 15:06API evolution
  10. 16:16Pit of success
  11. 17:50Wall of complexity
  12. 18:29Web Forms
  13. 22:38Power of Sameness
  14. 24:26Start Small
  15. 28:10Expect Mistakes
  16. 29:48Dont Be Afraid to Say No
  17. 31:10Naming Guidelines
  18. 32:51Avoid acronyms
  19. 35:25Common pitfalls
  20. 39:00Tips to avoid problems
  21. 41:14Enumerations
  22. 42:14Named Arguments
  23. 43:08Enumeration
  24. 44:25Helper Methods
  25. 45:28Properties
  26. 48:02Fields
  27. 49:15constructor design
  28. 50:47throwing exceptions
  29. 54:48designing for extensibility
  30. 57:43Jason Serializer
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.