[ ] Create account and subscription on microsoft Azure
[ ] Create a Azure SQL database
[ ] Add your own IP adress so that we can run a migration and give the database a schema
[ ] Get connection string to this new created Azure SQL database
[ ] Connect and do a Migration >
Trouble with IConfiguration service and EF but i choose to do it manually with the naked string just so that i can do a Migration and migrate to the database.
We are definetly going to change and remove that naked connection string and put it somewhere safe.
[ ] Deploy the application
Choose Name etc.. Choose repo and RIGHT BRANCH for CI CD
[ ] See when it is deployed and check when the project is build
[ ] Test with Postman or Insomnia, send out some API requests
Här under kommer länkar till inspelning kring deployment, gå genom de, hitta lite material själv, lösa problem som ni kanske stötter på själva.
Koppla projekt med Azure SQL DB - https://drive.google.com/file/d/1irJR-3BWujs2k6WoFnPervHdPGUlLPbA/view?usp=sharingDeploy projektet - https://drive.google.com/file/d/1o2DxyRdgtIyPUVTo56cktE7hRQEoQYMw/view?usp=sharingTesta om allt är ok med Postman - https://drive.google.com/file/d/1OuvX6Y1o0NzUXXYg-R5ixbZnodgX_M-c/view?usp=sharing
Steps to deploy
Trouble with IConfiguration service and EF but i choose to do it manually with the naked string just so that i can do a Migration and migrate to the database. We are definetly going to change and remove that naked connection string and put it somewhere safe.