{"id":3663,"date":"2014-03-29T07:44:11","date_gmt":"2014-03-29T07:44:11","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/how-to-setup-windsor-component-that-needs-to-depend-on-a-dynamic-string-collection-of-common-programming-errors\/"},"modified":"2014-03-29T07:44:11","modified_gmt":"2014-03-29T07:44:11","slug":"how-to-setup-windsor-component-that-needs-to-depend-on-a-dynamic-string-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/29\/how-to-setup-windsor-component-that-needs-to-depend-on-a-dynamic-string-collection-of-common-programming-errors\/","title":{"rendered":"How to setup Windsor component that needs to depend on a dynamic string?-Collection of common programming errors"},"content":{"rendered":"<p>I have a Castle Windsor component, that depends on a string. The string needs to be determined at runtime, based on another string, which is constant and can be set in the component configuration. How do I wire this up using Castle Windsor ?<\/p>\n<p>The problem is general, but the specific scenario I need it for is a class that takes the full path to file in a constructor, but since I am running a ASP .NET app, I only know the virtual (relative) path of the file when writing the configuration file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a Castle Windsor component, that depends on a string. The string needs to be determined at runtime, based on another string, which is constant and can be set in the component configuration. How do I wire this up using Castle Windsor ? The problem is general, but the specific scenario I need it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3663","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3663"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3663\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}