Wednesday, October 15, 2014

Reading Keys from Web.config file.

Try using the WebConfigurationManager class instead. For example:
C# string userName = WebConfigurationManager.AppSettings["PFUserName"];
OR
VB.NET Dim userName as String = WebConfigurationManager.AppSettings("PFUserName")

No comments:

Python Logging Best Practices

Python Logging Best Practices Introduction to Python Logging Importance of Logging in Business Applications Logging is an essential ...