Microsoft.SqlServer.DacFx.x64
130.3485.1
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.SqlServer.DacFx.x64 --version 130.3485.1
NuGet\Install-Package Microsoft.SqlServer.DacFx.x64 -Version 130.3485.1
<PackageReference Include="Microsoft.SqlServer.DacFx.x64" Version="130.3485.1" />
paket add Microsoft.SqlServer.DacFx.x64 --version 130.3485.1
#r "nuget: Microsoft.SqlServer.DacFx.x64, 130.3485.1"
// Install Microsoft.SqlServer.DacFx.x64 as a Cake Addin #addin nuget:?package=Microsoft.SqlServer.DacFx.x64&version=130.3485.1 // Install Microsoft.SqlServer.DacFx.x64 as a Cake Tool #tool nuget:?package=Microsoft.SqlServer.DacFx.x64&version=130.3485.1
The Microsoft SQL Server Data-Tier Application Framework (DACFx) is a component which provides application lifecycle services for database development and management for Microsoft SQL Server and Microsoft Azure SQL Databases.
DacFX supports various database deployment and management scenarios for SQL Server and Microsoft Azure SQL Databases including extracting / exporting a live database to a DAC package, deploying a DAC package to a new or existing database, and migrating from on-premise SQL Server to Microsoft Azure. This functionality is exposed via the DACFx managed API. DACFx can target SQL Server 2008, 2008R2, 2012, 2014, 2016 and Microsoft Azure SQL Databases.
This nuget package is a lightweight version of Dacfx. If you would like to use the command-line utility SqlPackage.exe for creating and deploying .dacpac and .bacpac packages, please download DacFramework.msi from Microsoft download page.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Microsoft.SqlServer.DacFx.x64:
Package | Downloads |
---|---|
Apollo13.DataAccessLayer
Data access layer for SQL server |
|
RapidFire.Core
Rapid Fire For WEB with .NET 6! |
|
Xania.DbMigrator
Database First Migration Tool |
|
RS.Deploy.Raj.Consumer
Description |
|
RS.DacPac
RS.DacPac |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.SqlServer.DacFx.x64:
Repository | Stars |
---|---|
microsoft/DACExtensions
DACExtensions contains samples that extend Data-Tier Applications using DacFx. These samples include deployment contributors and static code analysis rules that can be used with Visual Studio as well as examples of how to use the DacFx public mode
|
Version | Downloads | Last updated | |
---|---|---|---|
150.5282.3 | 440,062 | 10/4/2021 | |
150.5164.1 | 188,214 | 6/2/2021 | |
150.5084.2 | 77,712 | 3/10/2021 | |
150.4897.1 | 162,696 | 9/18/2020 | |
150.4826.1 | 105,443 | 6/24/2020 | |
150.4769.1 | 28,776 | 5/12/2020 | |
150.4573.2 | 305,995 | 10/28/2019 | |
150.4538.1 | 96,315 | 9/14/2019 | |
150.4532.1 | 151,084 | 9/5/2019 | |
150.4384.2 | 344,783 | 4/16/2019 | |
150.4316.1 | 106,011 | 2/5/2019 | |
150.4200.1 | 132,397 | 10/25/2018 | |
140.3881.1 | 585,800 | 1/3/2018 | |
140.3745.1 | 411,147 | 7/10/2017 | |
140.3727.2 | 17,266 | 6/30/2017 | |
140.3652.3 | 36,490 | 4/19/2017 | |
130.3485.1 | 142,256 | 10/26/2016 | |
130.3450.1 | 15,970 | 9/21/2016 | |
130.3411.1 | 20,649 | 8/15/2016 | |
130.3370.2 | 19,562 | 6/30/2016 | |
130.3352.1 | 5,708 | 6/13/2016 |
DacFx release 16.5 (released Oct 26, 2016).
SqlPackage and DacFx API Improvements
Using SqlPackage.exe and the DacFx APIs you can now generate a deployment report, deployment script, and publish to a database all in one action. This is a timesaver for anyone who likes to keep a report of what was published during a deployment. Another benefit is that for Azure scenarios, separate scripts for the master database and the deploy target database are created. Up to now a single script was created which was not useful for repeated deployments.
For SqlPackage’s Publish and Script actions, two new arguments have been added.
DeployScriptPath (shortname: dsp). This is an optional path to write the deployment script to. For Azure deployment, if there were TSQL commands to create of modify the DB a master script will be written to the same path but with “Filename_Master.sql” as the output file name.
DeployReportPath (shortname: drp). This is an optional path to write the deployment report to.
Note that for the Script action, either the existing Output Path arguments or the new script/report-specific arguments should be used, but not both.
Sample usage:
Publish Action Sqlpackage.exe /a:Publish /tsn:(localdb)\ProjectsV13 /tdn:MyDatabase /deployscriptpath:”My\DeployScript.sql” /deployreportpath:”My\DeployReport.xml”
Script Action Sqlpackage.exe /a:Script /tsn:(localdb)\ProjectsV13 /tdn:MyDatabase /deployscriptpath:”My\DeployScript.sql” /deployreportpath:”My\DeployReport.xml”
In DacFx, two new APIs have been added: DacServices.Publish() and DacServices.Script(). These also support performing publish + script + report actions in a single operation.