How to read the Web.Config file in a Custom Activity Designer in a WF4 Workflow Service
- by Preet Sangha
I have a WF service with a custom activity and a custom designer (WPF). I want to add a validation that will check for the presence of some value in the web.config file.
At runtime I can overload void CacheMetadata(ActivityMetadata metadata) and thus I can do the validation happily there using System.Configuration.ConfigurationManager to read the…