Docker Compose with .NET API and SQL Server 2024 (Step by step)

preview_player
Показать описание
In this detailed tutorial, I’ll guide you through the complete process of setting up Docker Compose with a .NET Web API and SQL Server. Whether you're a developer looking to containerize your applications or just getting started with Docker, this walkthrough will equip you with the knowledge to efficiently manage your development and deployment process.

What You’ll Learn:
Create a .NET Web API: Start from scratch and build a simple API.
Install Essential Packages: Set up Entity Framework Core, SQL Server tools, and more.
Database Integration: Learn how to configure and seed a SQL Server database within your API.
Containerization: Step-by-step guidance on building Docker images and containerizing your application.
Docker Compose: Simplify your multi-container setup and deploy effortlessly with Docker Compose.

Hands-On Demo:
Watch as I connect the SQL Server container using SQL Server Management Studio (SSMS) to demonstrate the application in action.
By the end of this video, you’ll have a fully containerized .NET Web API with a connected SQL Server database, all managed through Docker Compose. Whether you're a seasoned pro or a newcomer, this guide will enhance your Docker skills and improve your deployment workflows.
Рекомендации по теме
Комментарии
Автор

Awesome tutorial! You made setting up Docker Compose with .NET API and SQL Server super easy to understand. The hands-on demo really helped me see how it all works. Thanks for sharing this—can’t wait for more!

tarekqassoumeh
Автор

Great vid, really helpful, thanks!

One question: If you're developing an app like this how do you apply db migrations to the containerised instance of mssql?

bsulleh
Автор

MapPost doesn't work. I get "Delegate 'RequestDelegate' does not take two arguments." It only appears to accept one argument of type HttpContext when curly braces are used. I have no idea how I'm supposed to get the product and product context from the HttpContext.

AlexWorrell
Автор

my database dosent wont to be create, hope u read comments

essence
Автор

I open it in the browser and display the message This page isn't working right now

lêhoàng-bl
Автор

Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.

excuted below command too.
dotnet dev-certs https --trust

pieceofcode_