Create an ASP.NET MVC app with auth and SQL DB and deploy to Azure App Service
above is a link to a tutorial that I followed to create a database and manipulate seeded data with a MVC app.
I am currently learning about ASP.NET & Azure in my internship. How would I go about connecting to an existing database to run CRUD operations on a table that already has data in it? How would the data already in the table show up on the page?
Best How To :
Take a look at your web.config file. You'll find a section:
<add key="DefaultDB" value="....."/>
Just change it to your existing database. Another option, you can change the connection string when you'll publish the application:
If you followed the steps on the previous link you've post, just skip the step:
Since you'll already have a database server, you won't need to create a new one.