Git Product home page Git Product logo

Comments (1)

Zaid-Safadi avatar Zaid-Safadi commented on September 15, 2024 1

DICOMcloud WebAPI Server can run now immediately after cloning from Visual Studio 2015 as a standalone DICOMweb server with no additional configuration:

Solution proposed in this commit:

  1. Provide default value for image storage location in the web.config:
    <add key="app:PacsStorageConnection" value="|DataDirectory|\App_Data\Storage\ds" />

The server code now supports using the variable "|DataDirectory|" when reading the app:PacsStorageConnection which resolves to the .NET Environment.SpecialFolder.ApplicationData directory

  1. Database is attached to LocalDB installed with Visual Studio by setting a default value for the app:PacsDataArchieve (connectionString) in the web.config:
    <add key="app:PacsDataArchieve" value="Data Source=(LocalDb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\DB\DICOMcloud.mdf;Initial Catalog=DICOMcloud;Integrated Security=True" />

A DICOMcloud.mdf database file is added under the Resources\Database directory and is copied (only if newer) to the App_Data folder during project built. This DB is attached to the local SQL Instance installed with Visual Studio 2015 using the default connection string.

  1. The code which configure the DICOMcloud WebAPI server has been refactored in this class DICOMBuilder.cs and is structured in a way that allows inheritance and customization

from dicomcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.