locked
json file editable after build RRS feed

  • Question

  • User1352447851 posted

    I am deploying an IIS asp.net core 2.2 website and I am having issues with how to store a JSON object.

    I the moment I have a file called objects.json which is read using StreamReader. The problem is that when I build the project, the JSON file is combined with the rest and I can't edit it without rebuilding and redeploying the website.

    What is the best way of doing this?

    I have some environment variables, but I don't think that would be suitable for large json objects

    Tuesday, April 9, 2019 8:58 AM

All replies