Store String Array In appSettings?
I’d like to store a one dimensional string array as an entry in my appSettings. I can’t simply separate elements with , or | because the elements themselves could contain those characters.
I’d like to store a one dimensional string array as an entry in my appSettings. I can’t simply separate elements with , or | because the elements themselves could contain those characters.
I have a DLL that references a web service.
I have a class library that contains a valid connectionString inside the app.config. Inside that class library I want to use it with
The Scenario I have an ASP.NET web project. I want to be able to define all of the links for the site inside my web.config file so that they can be changed easily if needs be. Currently I have an “” section in my web.config file. The Question How do I bind this key value … Read more
Web application using factory pattern
with direct injection to read data
providers.
I’m trying to reference some common config settings between a Windows Service and an ASP.NET MVC website. I am doing this by using the file attribute on appSettings in either the App.config or Web.config (respectively). The file (named common.config) that is being referenced is a linked file in a separate project in the same solution. That common.config is set to Content with Copy Always in both projects.
I am using app.config file to read data from it..
I am loading the app.config file as:
i have two project
1) class library with no inteface just an api
2) web application