After this part, i felt like I deserve this shirt.
Now i am really curious about this part, ofcourse i know how to deploy an appservice.
But this is not just a simple app with only frontend, so i am wondering how the database connection will be made if it is deployed through the app service.
Question is if i deploy the app currently using github, will the data show?
so lets try to deploy the app using app service.
- First i pushed my code to github.
2.Create app service.
leave the network as default,
We then wait a few(lots) minutes for it to deploy and check our app link.
okay seriously that took alot of time. I slept on it.
Turns out we have to set a connection string and app variables.
Go to your sql database under the connection string tab and look for the one that suits your app environment.
Next i went to the app service under the configuration tab and added my connection string as well as my environment variables.
Add the connection string.Be sure to replace your password within the string.
After all this struggle, ladies and gettlemen, i managed to deploy rightly.And the app was app and running.