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:

How to Write Maintainable Code That Scales

Understanding Maintainable and Scalable Code Definitions and Key Concepts Maintainable code refers to software that can be easily unders...