Im using Visual Studio Mac. Im working on a asp.net core web api with sqlite database. it works fine in localhost. but doesn't work on host server. it gives 500 internal server error. I published it from a windows visual studio as ftp. I think my internal error is because of my sqlite configuration. its:
services.AddDbContext<ApplicationDbContext>(options => options.UseSqlite("Filename=./MyData.db"));
I think this configuration doesn't work in host and I have no idea about it. I just published it. please help me with it.