robf120
Explore posts from servers❔ Scaffold migrations from existing DB
I have an existing dotnet web api that wasn’t code migrations and instead used db diffing up until now, i want to switch over to using code based migrations but I’m unsure how to do that. I’ve only ever added migrations to a fresh project. Would the db scaffold command suffice?
2 replies
❔ api to api authentication
So I have two apis with which I want one to call the other now these calls won’t be initiated by a user so no API keys or bearer auth will exist, does have a shared key in the header good enough or can just using CORS suffice to prevent unauthorised access? Note: the api that’s being called isn’t being used by users, only other APIs in the org
2 replies