title: I want to store class names in my configuration file (ASP.NET / C#)
body: <p>I'm developing a service that'll be provide messages to a calling UI based on conditions that exist per message.</p>
  <p>I have a json file that stores all the different possible messages the UI can receive and I expect that file to grow throughout the application's lifetime (i.e. I plan to add new message configurations)</p>
  <p>The problem is each message has a different condition on whether it should be included in the response and these conditions rely on a downstream call being made to some DB or other service and then logic that processes those downstream calls to resolve whether a condition is true or false.</p>
  <p>I want to have each message in my configuration file to have a value that resolves to a class in my code so that when the endpoint is called, I can just call a &quot;resolve&quot; method passing that &quot;message configuration&quot; i.e. the resolve method calls the class associated to that message (and it's condition resolution method) and makes all the necessary calls to downstream services.</p>
  <p>Is there a way to have each of my messages have classes associated to them in my json configuration file? Am I missing a much easier way to implement this?</p>