Changes in Appsettings.josn

2 posts, 0 answers
  1. Binu
    Binu avatar
    19 posts
    Member since:
    Jul 2019

    Posted 19 Feb 2020 Link to this post

    Hi

    In my react application i am using API. In Appsetting.josn(asp.net application) file i am mentioning the baseurl of api.  Here my problem is if change url in appsetting.josn file in server after publishing the application thats not reflecting.
     it loading data from old api. Please let me know what to do to reflect changes in appsettings.josn 

  2. Stefan
    Admin
    Stefan avatar
    3012 posts

    Posted 19 Feb 2020 Link to this post

    Hello, Binu,

    Based on the information provided in the question, this seems to the entirely related to ASP.NET Core and how the information is read from the Appsettings.josn.

    As the KendoReact team has to control this, I can suggest checking on some of the ASP.NET Core forums, where the community can have faced similar issues.

    These are interesting links that could be helpful:

    https://stackoverflow.com/questions/42090024/changes-in-appsettings-json-do-not-reflect-after-restarting-site-in-the-iis

    https://edi.wang/post/2019/1/5/auto-refresh-settings-changes-in-aspnet-core-runtime

    Regards,
    Stefan
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top