I have a solution with 4/5 projects.
Currently, I have a connection string for my domain project, hardcoded in a C # file.
I would like to put this in a web.config file or something like that. From what I read here and elsewhere, should I store these connection strings in the web configuration of the calling application?
If so, how do I access it?
When I do something like this in my class library:
ConnectionStringSettingsCollection connectionStrings = connectionStringsSection.ConnectionStrings;
Could not find type or namespace, is there a link or something else missing?
iKode source share