VintaSoft Barcode .NET SDK 15.0: Документация для Веб разработчика
В этом разделе
    Веб-сервисы для генерации и распознавания штрих-кодов
    В этом разделе
    В зависимости от архитектуры приложения веб-сервис для генерации и распознавания штрих-кодов может быть основан на контроллере Web API либо обработчике HTTP.

    Пакет SDK предоставляет следующие готовые к использованию веб-сервисы:

    Каждый веб-сервис предлагает:
    Важно: Для корректной работы сборок Vintasoft.Barcode.AspNetCore.ApiContoller.dll,Vintasoft.Barcode.Web.Api2Contoller.dll и Vintasoft.Barcode.Web.HttpHandlers.dll необходимы сборки Vintasoft.Barcode.dll, Vintasoft.Shared.dll и Vintasoft.Shared.Web.dll.


    Вот код C# контроллера ASP.NET Core Web API, который позволяет распознавать и генерировать штрих-коды:
    /// <summary>
    /// ASP.NET Core Web API controller that handles HTTP requests from clients and
    /// allows to read barcodes from image and generate barcode image.
    /// </summary>
    public class BarcodeController : Vintasoft.Barcode.AspNetCore.ApiControllers.VintasoftBarcodeApiController
    {
    
        public BarcodeController()
            : base()
        {
        }
    
    }
    
    


    Вот код C# контроллера ASP.NET Web API для распознавания и генерации штрих-кодов:
    /// <summary>
    /// ASP.NET Web API 2 controller that handles HTTP requests from clients and
    /// allows to read barcodes from image and generate barcode image.
    /// </summary>
    public class BarcodeController : Vintasoft.Barcode.Web.Api2Controllers.VintasoftBarcodeApi2Controller
    {
    
        public BarcodeController()
            : base()
        {
        }
    
    }
    
    


    Вот код C# обработчика ASP.NET HTTP, который позволяет распознавать и генерировать штрих-коды:
    /// <summary>
    /// ASP.NET HTTP handler that handles HTTP requests from clients and
    /// allows to read barcodes from image and generate barcode image.
    /// </summary>
    public class BarcodeHandler : Vintasoft.Barcode.Web.HttpHandlers.VintasoftBarcodeHandler
    {
    
        public BarcodeHandler()
            : base()
        {
        }
    
    }