Aspose.Medical.Dicom.Web.AspNetCore 26.10.0

Prefix Reserved
dotnet add package Aspose.Medical.Dicom.Web.AspNetCore --version 26.10.0
                    
NuGet\Install-Package Aspose.Medical.Dicom.Web.AspNetCore -Version 26.10.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Medical.Dicom.Web.AspNetCore" Version="26.10.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Aspose.Medical.Dicom.Web.AspNetCore" Version="26.10.0" />
                    
Directory.Packages.props
<PackageReference Include="Aspose.Medical.Dicom.Web.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Aspose.Medical.Dicom.Web.AspNetCore --version 26.10.0
                    
#r "nuget: Aspose.Medical.Dicom.Web.AspNetCore, 26.10.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Aspose.Medical.Dicom.Web.AspNetCore@26.10.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Aspose.Medical.Dicom.Web.AspNetCore&version=26.10.0
                    
Install as a Cake Addin
#tool nuget:?package=Aspose.Medical.Dicom.Web.AspNetCore&version=26.10.0
                    
Install as a Cake Tool

Aspose.Medical DICOMweb for ASP.NET Core

Aspose.Medical.Dicom.Web.AspNetCore connects Aspose.Medical DICOMweb applications to ASP.NET Core dependency injection and endpoint routing. It translates HTTP requests and responses and supports DICOMweb WebSocket notifications.

The package targets .NET 10 and uses the ASP.NET Core shared framework. It contains the hosting adapter and its XML API documentation. Aspose.Medical is installed as a separate NuGet dependency with the exact version supported by this adapter release.

Install

dotnet add package Aspose.Medical.Dicom.Web.AspNetCore

Example

This Program.cs in an ASP.NET Core project (dotnet new web) is a complete Modality Worklist server (MWL-RS). AddDicomWeb registers the DICOMweb application, AddStandardModalityWorklistService adds the standard worklist service backed by your provider, and MapDicomWeb exposes it under /dicomweb:

using System.Runtime.CompilerServices;
using Aspose.Medical.Dicom;
using Aspose.Medical.Dicom.Web;
using Aspose.Medical.Dicom.Web.Providers;

WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
builder.Services.AddScoped<IDicomWebModalityWorklistProvider, Worklist>();
builder.Services.AddDicomWeb().AddStandardModalityWorklistService();

WebApplication app = builder.Build();
app.MapDicomWeb("/dicomweb");
app.Run();

sealed class Worklist : IDicomWebModalityWorklistProvider
{
    // Return candidate scheduled procedure steps from your RIS in stable order.
    // Aspose.Medical applies the DICOM matching and writes the response.
    public async IAsyncEnumerable<Dataset> FindCandidatesAsync(DicomWebSearchContext search,
        [EnumeratorCancellation] CancellationToken cancellationToken = default)
    {
        await Task.CompletedTask;
        yield break;
    }
}

GET /dicomweb/modality-scheduled-procedure-steps?Modality=CT now returns the matching worklist items as DICOM JSON. The other standard services are added the same way, each backed by its provider interface: AddStandardStudiesService (QIDO-RS, WADO-RS, STOW-RS), AddStandardWorklistService (UPS-RS), AddStandardStorageCommitmentService, AddStandardModalityPerformedProcedureStepService, and AddStandardNonPatientInstanceService. Custom handlers are registered with AddHandler.

The host configures authentication, authorization, CORS, forwarded headers, and request limits. Enable ASP.NET Core WebSocket middleware when using notification services.

Documentation | API reference | Support

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.10.0 102 10/28/2026