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:

API Gateway Patterns: An Informational Guide for US Business Owners

API Gateway Patterns: An Informational Guide for US Business Owners Introduction to API Gateway Patterns In today’s digital landscap...