Fluent API Development in C#
32mBeginner2018-07-02
Authors

Robby Millsap
Senior Software Engineer at Trek Bicycle
Course details
Fluent APIs use method chaining for maximum readability and flow. They may be slightly more complicated to write, but are much easier to understand and solve specific complex programming challenges that general-purpose languages can't. This training course teaches the what, why, and how of fluent API development using C#. Learn the history of fluent APIs, beginning with the coining of the phrase "fluent" by Martin Fowler. Next, learn how to decide if fluent APIs are right for your project, and how to go about designing them. Instructor Robby Millsap also reviews some popular fluent libraries such as LINQ and Azure Management. Lastly, he takes a simple console application and shows how to refactor it to use fluent prose.
Learning objectives
Why fluent?
Creating paths
Fluent techniques
Examples of fluent APIs
Refactoring to fluent
Learning objectives
Why fluent?
Creating paths
Fluent techniques
Examples of fluent APIs
Refactoring to fluent
Skills covered
C#APIsProgramming LanguagesMicrosoftSoftware DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
1. Why Fluent
- 03 - Defining a fluent interface
- 04 - A quick example
- 05 - Creating paths
2. Techniques
- 06 - Method chaining
- 07 - Using conjunctions
- 08 - Generics
- 09 - Indentation
- 10 - Extension methods
3. Existing Fluent APIs
- 11 - LINQ
- 12 - Azure Management
- 13 - Fluent assertions
4. Refactoring to Fluent
- 14 - Overview of the console app
- 15 - Diagram a fluent API
- 16 - Code a fluent API
Conclusion
- 17 - Next steps