Home > Uncategorized > Configuration DSL – Part III: Writing a Fluent Interface for Configuration in C#

Configuration DSL – Part III: Writing a Fluent Interface for Configuration in C#

This is the third entry on creating configuration DSLs in C#. The previous entry looked at the implementation. The basis of this code is to solve the problem that there are multiple configurations an application may require: development, test and moving through environments up to production. This solution makes the distinction that there are profiles of settings which are distinct from the values in each setting. Before I address the problems in this design let’s try and see what patterns are used in the DSL and relate them to Fowler’s DSL patterns.

Patterns used …

Problems: Making the configuration immutable behind a factory

  1. No comments yet.
  1. No trackbacks yet.