How to AppSettings from web.config in Class Libray Project Ask Question
By       01-Jul-2024    1

How to AppSettings  from web.config in Class Libray Project


 public static string APIBaseUrl = WebConfigurationManager.AppSettings["APIBaseUrl"].ToString();// WebConfigurationManager.AppSettings["APIBaseUrl"].ToString(); // change this value from root web.config of WebUI


with the help above few lines we can  appsettings value in Class Libray project.



Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM