Hi
I have a requirement whereby a user can specify a variable number of user-defined fields, for example in an xml file. These fields have a user-friendly name which is displayed in the GUI, and a code which is used to persist and retrieve the value of the field to the database.
The problem is that I need both my WCF service to consume the list of user defined fields, so that when I load an object from my database, those fields and their values are loaded, but also I need my WPF Client to know about the fields too so that when the user creates a new type of object, those configurable fields are available as inputs in the form of say, a combo box.
Ive tried a number of ways of doing it and it looks like putting the configurable values into the service is the best way, then getting the client to retrieve the values from the service at startup. But im wondering if there is a 'proper' way to do this sort of thing as it seems like quite an obvious requirement for most enterprise applications.
Sorry if the question is a bit vague but I tried to abstract it away from the intricacies of my individual program.
Thanks Chris