BananaPie
❔ How to license a .NET 5+ cross-platform application?
maybe build a license key server?https://stackoverflow.com/questions/599837/how-to-generate-and-validate-a-software-license-key
4 replies
❔ Dev/prod databse
Not sure how other do it, I'd have 3 databases / environments
Production (AWS)
Development (AWS)
Local (Localhost)
The reason is that if you guys are trying to modify the database at the same time, it could break things. The workflow should be you do your database migrations (add, remove columns, etc.) locally then git push / merge and deploy the changes to development. And if everything looks good then push the migrations to production.
But if it is just a fun / side project AND only one of you will work on the backend and the database, then do it all on AWS, who cares.
But if you think it might go live one day, then you should have some kind of workflow going. Also you can go crazy with test data on local without affecting anyone.
Also security best practices: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_BestPractices.Security.html
6 replies
❔ Environment variables vs configuration files for storing secrets
I don't see anything is wrong with that approach. I sometimes use multiple config json files. You can also grab your environment and do like "AddJsonFile("config.{Environment}.json")"
12 replies