Skip to content

Latest commit

 

History

History
52 lines (45 loc) · 1.95 KB

setup.md

File metadata and controls

52 lines (45 loc) · 1.95 KB

Developing

Requirements

Getting Started in Visual Studio

Developing

Testing

  • Set Microsoft.Health.Dicom.Web as your startup project
  • Run the project
  • Web server is now running at https://localhost:63838/

Posting DICOM files using Fiddler

  • Install fiddler
  • Go to Tools->Options->HTTPS on fiddler. Click protocols and add "tls1.2" to the list of protocols.

Fiddler Config Image

  • Download DCM example file from here
  • Upload DCM file
    • Use Upload file... link at request body section as shown in picture below
      • Located in Parsed tab inside the Composer tab
  • Update request header:
    • Accept: application/dicom+json
    • Content-Type: multipart/related (don't change boundary part)
  • Update request body:
    • Content-Type: application/dicom
  • Post the request to https://localhost:63838/studies
    • Hit Execute button

Post A Dicom Image

  • If the POST is successful, you should be see an HTTP 200 response.

Post Succeeds

  • Note: you cannot upload the same DCM file again unless it is first deleted. Doing so will result in an HTTP 409 Conflict error.

Postman for Get

GET https://localhost:63838/studies
accept: application/dicom+json