This is a migrated thread and some comments may be shown as answers.

Changes in Appsettings.josn

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Binu
Top achievements
Rank 1
Binu asked on 19 Feb 2020, 06:11 AM

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 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 19 Feb 2020, 08:06 AM

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
Tags
General Discussions
Asked by
Binu
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or