webconfigurationmanager
Manipulating web.config in memory
I have a web.config file open in a textbox and would like to manipulate it.For example, allowing the user to chang开发者_如何学Pythone the DBConn string or something.At the stage of trying to change t[详细]
2023-04-12 03:30 分类:问答Prevent config files error to render in browser
I have a custom config file in my application say my.config. Suddenly I ecnountered with some error regarding one of the settings inside the config file and the strange thing happens- my content of th[详细]
2023-02-05 01:12 分类:问答Extracting contents of ConnectionStrings in web.config in Silverlight Business application
I am trying to read dataSource ad Catalog from <connectionStrings> in web.config in Silverlight business project. Unfortunatelywhen I used SqlConnectionStringBuilder, I could not read connection[详细]
2023-02-01 02:05 分类:问答How to retrieve on which site the web application is currently running?
I am currently running a WCF service on an AppFabric server and my application needs to load a the web.config file dynamically to retrieve custom configuration sections.[详细]
2023-01-15 04:33 分类:问答Loading a ConfigurationSection with a required child ConfigurationElement with .Net configuration framework
I have a console application that is trying to load a CustomConfigurationSection from a web.config file.[详细]
2022-12-23 14:58 分类:问答How to OpenWebConfiguration with physical path?
I have a win form that creates a site in IIS7. One function needs to open the web.config file and make a few updates. (connection string, smtp, impersonation)[详细]
2022-12-21 15:14 分类:问答WAP + NUnit + WebConfigurationManager Pin
I just started using NUnit to write test cases for my asp.net web application project. Some of the code written to access database values fetches the ConnectionString from a \"section\" defined under[详细]
2022-12-09 12:49 分类:问答