ASP.NET WebForms + HTTP handlers: Animate DICOM images in web image viewer.
Posted: Wed Sep 13, 2017 11:42 am
In this topic we will show how to animate DICOM images, which are stored in files on server, in web image viewers in ASP.NET WebForms application. Web image viewers use REST services based on HTTP handlers.
For doing our task we need:
For doing our task we need:
- Open Visual Studio .NET 2019.
- Create an ASP.NET WebForms application project.
- Add the references to the Vintasoft assemblies (version 10.x.x.x) and Vintasoft JavaScript files to the project:
- Vintasoft.Shared.dll
- Vintasoft.Shared.Web.dll
- Vintasoft.Imaging.dll
- Vintasoft.Imaging.Dicom.dll
- Vintasoft.Imaging.Web.Services.dll
- Vintasoft.Imaging.Web.HttpHandlers.dll
- Scripts\Vintasoft\Vintasoft.Shared.js
- Scripts\Vintasoft\Vintasoft.Imaging.Svg.js
- Create a REST service, which is based on HTTP handler, for manipulating of files on a server.
- Create a REST service, which is based on HTTP handler, for managing of image collection.
- Create a REST service, which is based on HTTP handler, for rendering of images and thumbnails.
- Create a default web page.
- Add SVG web image viewer and SVG web thumbnail viewer to the web page. SVG web image viewer will play animation from DICOM images. SVG
web thumbnail viewer will be used for navigating between DICOM files. - Load DICOM files and start the animation.