Database Deployment

The database schema can be created in MS SQL Server or Azure Database by:

  1. Use the project DICOMcloud.SqlServerDatabase to directly publish the database to any SQL server from Visual Studio. This a SQL Server Database project that contains the SQL scripts to create the database and can be published from Visual Studio to a SQL database (on-prem, Azure). For more details about this approach you can check this CodeProject Post

  2. The build output of the DICOMcloud.SqlServerDatabase project produces a dacbac file “DICOMcloud.SqlServerDatabase.dacbac” under .\DICOMcloud.SqlServerDatabase\bin_{configuration}_. There are multiple ways to deploy/publish a dacpac file, here are some good URLs to get you started:

Improve this page