In this video, we’ll explore how to use a SQL Server Database Container for local app development with .NET and other frameworks. Database containers provide a clean, portable alternative to full database server installations. We’ll see how to create the container using an official SQL Server image and connect to it through code. We’ll also learn how to persist data across container instances and life cycles using volumes. Then we’ll see how to run SQL commands directly inside of the container to perform admin tasks such as creating databases, and update our admin password. Finally, we’ll discuss different scenarios where database containers can add value and where you might want to start using them.
Sample app: github.com/ale...
00:00 intro
00:46 Getting setup
01:41 Create the container
04:23 Explore the sample app
06:23 Connect to the container
08:21 Persist data with volumes
10:25 Run SQL commands inside the container
13:06 Change the admin password
15:08 Explore Database container scenarios
16 авг 2024