I'm making an app that uses a SQLite database for storage in Blazor Server. From what I'm reading I can store the SQLite database in the wwwroot folder of the app service storage.
I store data in two locations: one when I'm developing the app and one in the production app's root folder.
This works, but when I deploy the app, the production database is overwritten with the data on my machine.
How do I prevent the database in the wwwroot folder from being overwritten when publishing the application?