PreviousNext

Building strongly typed application configuration utility with Roslyn

by bill-s, 2016-04-23T08:18:50.000Z

In this post we will have a look at how, with just several lines of Roslyn code, you can build an extremely cool and powerful utility – a library allowing you to provide configuration for your application as a strongly typed C# script file. This post was inspired by the ConfigR library, which provides this type of functionality through scriptcs (I also blogged about ConfigR before). We will, however, deal with marshalling configuration data between the C# configuration and the parent app differently than ConfigR does.

Read More