Testcontainers.MsSql
                             
                            
                                4.8.1
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    dotnet add package Testcontainers.MsSql --version 4.8.1
NuGet\Install-Package Testcontainers.MsSql -Version 4.8.1
<PackageReference Include="Testcontainers.MsSql" Version="4.8.1" />
<PackageVersion Include="Testcontainers.MsSql" Version="4.8.1" />
<PackageReference Include="Testcontainers.MsSql" />
paket add Testcontainers.MsSql --version 4.8.1
#r "nuget: Testcontainers.MsSql, 4.8.1"
#:package Testcontainers.MsSql@4.8.1
#addin nuget:?package=Testcontainers.MsSql&version=4.8.1
#tool nuget:?package=Testcontainers.MsSql&version=4.8.1
Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. The library is built on top of the .NET Docker Remote API and provides a lightweight implementation to support your test environment in all circumstances.

Read the documentation here
License
See LICENSE.
Copyright
Copyright (c) 2019 - 2025 Andre Hofmeister and other authors.
See contributors for all contributors.
Join our Slack Workspace | Testcontainers OSS | Testcontainers Cloud
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    .NETStandard 2.0- Testcontainers (>= 4.8.1)
 
- 
                                                    .NETStandard 2.1- Testcontainers (>= 4.8.1)
 
- 
                                                    net8.0- Testcontainers (>= 4.8.1)
 
- 
                                                    net9.0- Testcontainers (>= 4.8.1)
 
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Testcontainers.MsSql:
| Package | Downloads | 
|---|---|
| Testcontainers.ServiceBus Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. | |
| EasyDesk.CleanArchitecture.Testing.Integration Utilities for integration testing an application built using the clean architecture packages. | |
| ES.FX.Additions.Microsoft.EntityFrameworkCore.SqlServer Package Description | |
| Adliance.AspNetCore.Buddy.Testing Library for easy integration tests for ASP.NET core applications, including database dependencies und Docker support. | |
| LokiBulkDataProcessor Loki Bulk Data Processor is a high-performance .NET library for fast, scalable bulk data ingestion using SQL Server's Bulk Copy engine. Now safe for repeated execution in ASP.NET Core Web APIs (v7.0+). Supports saving from model collections, DataTables, IDataReaders, and JSON streams. Ideal for ETL workflows, demo environments, and real-time processing. Includes mapping, structured logging (v6+), and flexible dependency injection. For tutorials and demos, visit the Loki Software YouTube channel: https://www.youtube.com/channel/UCZSEs5w0PEySBdb9uFE19FQ/playlists | 
GitHub repositories (36)
Showing the top 20 popular GitHub repositories that depend on Testcontainers.MsSql:
| Repository | Stars | 
|---|---|
| LuckyPennySoftware/AutoMapper 
                                                            A convention-based object-object mapper in .NET. 
                                                         | |
| dotnet/aspire 
                                                            Aspire is the tool for code-first, extensible, observable dev and deploy.
                                                         | |
| Xabaril/AspNetCore.Diagnostics.HealthChecks 
                                                            Enterprise HealthChecks for ASP.NET Core Diagnostics Package
                                                         | |
| fluentmigrator/fluentmigrator 
                                                            Fluent migrations framework for .NET
                                                         | |
| Squidex/squidex 
                                                            Headless CMS and Content Managment Hub
                                                         | |
| ardalis/Specification 
                                                            Base class with tests for adding specifications to a DDD model
                                                         | |
| asynkron/protoactor-dotnet 
                                                            Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
                                                         | |
| zzzprojects/System.Linq.Dynamic.Core 
                                                            The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
                                                         | |
| Giorgi/EntityFramework.Exceptions 
                                                            Strongly typed exceptions for Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and  MySql.
                                                         | |
| CodeMazeBlog/CodeMazeGuides 
                                                            The main repository for all the Code Maze guides
                                                         | |
| mehdihadeli/food-delivery-microservices 
                                                            🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 9, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
                                                         | |
| SparkDevNetwork/Rock 
                                                            An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
                                                         | |
| artiomchi/FlexLabs.Upsert 
                                                            FlexLabs.Upsert is a library that brings UPSERT functionality to common database providers for Entity Framework in their respective native SQL syntax
                                                         | |
| open-telemetry/opentelemetry-dotnet-contrib 
                                                            This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
                                                         | |
| elastic/apm-agent-dotnet | |
| zarusz/SlimMessageBus 
                                                            Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
                                                         | |
| CommunityToolkit/Aspire 
                                                            A community project with additional components and extensions for .NET Aspire
                                                         | |
| Eventuous/eventuous 
                                                            Event Sourcing library for .NET
                                                         | |
| DapperLib/DapperAOT 
                                                            Build time tools in the flavor of Dapper
                                                         | |
| netcorepal/netcorepal-cloud-framework 
                                                            一个基于ASP.NET Core实现的整洁领域驱动设计落地战术框架。  A tactical framework for Clean Domain-Driven Design based on ASP.NET Core.
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 4.8.1 | 34,978 | 10/22/2025 | 
| 4.8.0 | 30,232 | 10/19/2025 | 
| 4.7.0 | 529,086 | 8/28/2025 | 
| 4.6.0 | 900,523 | 6/13/2025 | 
| 4.5.0 | 128,331 | 6/5/2025 | 
| 4.4.0 | 849,462 | 4/14/2025 | 
| 4.3.0 | 1,145,909 | 2/24/2025 | 
| 4.2.0 | 267,193 | 2/10/2025 | 
| 4.1.0 | 1,033,463 | 12/9/2024 | 
| 4.1.0-beta.12035377103 | 291 | 11/26/2024 | 
| 4.1.0-beta.11746011829 | 3,742 | 11/8/2024 | 
| 4.0.0 | 930,472 | 11/1/2024 | 
| 3.10.0 | 1,703,493 | 9/3/2024 | 
| 3.9.0 | 1,306,081 | 6/16/2024 | 
| 3.8.0 | 1,160,795 | 3/19/2024 | 
| 3.8.0-beta.8238206979 | 715 | 3/11/2024 | 
| 3.7.0 | 1,039,830 | 1/9/2024 | 
| 3.6.0 | 570,571 | 11/10/2023 | 
| 3.5.0 | 491,055 | 9/7/2023 | 
| 3.4.0 | 153,354 | 8/10/2023 | 
| 3.3.0 | 324,921 | 6/27/2023 | 
| 3.2.0 | 164,839 | 5/23/2023 | 
| 3.1.0 | 57,331 | 4/28/2023 | 
| 3.0.0 | 222,058 | 3/8/2023 |