none
The purpose of defining the url in web.config file RRS feed

  • Question

  • what is the purpose of defining the URL as a key in the web.config file and get it as a variable in the WebAPI? Why can't we use directly the URL in my WebAPI? what are the differences between both of them?
    • Moved by Sabah ShariqMVP Wednesday, January 17, 2018 12:42 PM Moved From Visual C#
    Wednesday, January 17, 2018 11:42 AM

All replies

  • Hi yaduska,

    This is Visual C# forum. As your issue is related to Web please ask your question into ASP.Net forum for getting quick response. I am moving your thread to off topic.

    https://forums.asp.net/

    Your understanding and cooperation will be grateful.

    Thanks,
    Sabah Shariq

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Wednesday, January 17, 2018 12:42 PM