Microsoft provides training modules for many things. For example see Create a web API with ASP.NET Core controllers - Training | Microsoft Learn. A database is typically created by a dotnet ef database update
command.
Create database from entity framework codefirst approach in server
Binumon George
161
Reputation points
Hi All,
We are developing. netcore6 Web API using entity framework code first approach.
We planned to deploy it in windows azure.
How to create and deploy databases on servers? Using MySQL as database.
To deploy I published the application and put into Azure VM-Netput/wrote/Application folder.
Changed the connection string.
But when I try to access the Api get 500 errors.
What will be the reason?
Is this the correct way of publishing entity code first application?
1 answer
Sort by: Most helpful
-
Sam of Simple Samples 5,516 Reputation points
2022-10-26T03:52:46.96+00:00