Aspose.BarCode-Cloud 21.9.0

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.BarCode-Cloud -Version 21.9.0
dotnet add package Aspose.BarCode-Cloud --version 21.9.0
<PackageReference Include="Aspose.BarCode-Cloud" Version="21.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.BarCode-Cloud --version 21.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.BarCode-Cloud, 21.9.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.BarCode-Cloud as a Cake Addin
#addin nuget:?package=Aspose.BarCode-Cloud&version=21.9.0

// Install Aspose.BarCode-Cloud as a Cake Tool
#tool nuget:?package=Aspose.BarCode-Cloud&version=21.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Aspose.BarCode Cloud SDK for .NET

WARNING: Update SDK to version >= 21.9.0: All SDK version < 21.9.0 will stop working soon!

License .NET Core Nuget

  • API version: 3.0
  • SDK version: 21.10.0

Demo applications

Generate Barcode Recognize Barcode Embed Barcode
Generate Recognize Embed

Aspose.BarCode for Cloud is a REST API for Linear, 2D and postal barcode generation and recognition in the cloud. API recognizes and generates barcode images in a variety of formats. Barcode REST API allows to specify barcode image attributes like image width, height, border style and output image format in order to customize the generation process. Developers can also specify the barcode type and text attributes such as text location and font styles in order to suit the application requirements.

This repository contains Aspose.BarCode Cloud SDK for .NET source code. This SDK allows you to work with Aspose.BarCode for Cloud REST APIs in your .NET Core or .NET Standard applications quickly and easily.

Aspose.BarCode Cloud SDK for .NET provides cross-platform bindings for:

  • .NET Standard 2.0
  • .NET Framework 2.0 and higher

To use these SDKs, you will need Client Id and Client Secret which can be looked up at Aspose Cloud Dashboard (free registration in Aspose Cloud is required for this).

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get NuGet distribution (recommended).

Prerequisites

To use Aspose.BarCode Cloud SDK for .NET you need to register an account with Aspose Cloud and lookup/create Client Secret and Client Id at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation

Install Aspose.BarCode-Cloud via NuGet

From the command line:

nuget install Aspose.BarCode-Cloud

From Package Manager:

PM> Install-Package Aspose.BarCode-Cloud

From within Visual Studio:

  1. Open the Solution Explorer.
  2. Right-click on a project within your solution.
  3. Click on Manage NuGet Packages...
  4. Click on the Browse tab and search for "Aspose.BarCode-Cloud".
  5. Click on the Aspose.BarCode-Cloud package, select the appropriate version in the right-tab and click Install.

Sample usage

The examples below show how you can generate Code128 barcode and save it into local file using Aspose.BarCode-Cloud library:

const string clientId = "Client Id from https://dashboard.aspose.cloud/applications";
const string clientSecret = "Client Secret from https://dashboard.aspose.cloud/applications";

var api = new BarcodeApi(clientSecret, clientId);

using Stream response = api.GetBarcodeGenerate(
    new GetBarcodeGenerateRequest(
        EncodeBarcodeType.Code128.ToString(), "Sample text", format: "png")
    );
using FileStream stream = File.Create("out.png");
response.CopyTo(stream);

Dependencies

  • .NET Framework 2.0 or later, .NET Standard 2.0
  • Json.NET

Licensing

All Aspose.BarCode for Cloud SDKs, helper scripts and templates are licensed under MIT License.

Resources

Documentation for API Endpoints

All URIs are relative to https://api.aspose.cloud/v3.0

Class Method HTTP request Description
BarcodeApi GetBarcodeGenerate GET /barcode/generate Generate barcode.
BarcodeApi GetBarcodeRecognize GET /barcode/{name}/recognize Recognize barcode from a file on server.
BarcodeApi PostBarcodeRecognizeFromUrlOrContent POST /barcode/recognize Recognize barcode from an url or from request body. Request body can contain raw data bytes of the image or encoded with base64.
BarcodeApi PostGenerateMultiple POST /barcode/generateMultiple Generate multiple barcodes and return in response stream
BarcodeApi PutBarcodeGenerateFile PUT /barcode/{name}/generate Generate barcode and save on server (from query params or from file with json or xml content)
BarcodeApi PutBarcodeRecognizeFromBody PUT /barcode/{name}/recognize Recognition of a barcode from file on server with parameters in body.
BarcodeApi PutGenerateMultiple PUT /barcode/{name}/generateMultiple Generate image with multiple barcodes and put new file on server
FileApi CopyFile PUT /barcode/storage/file/copy/{srcPath} Copy file
FileApi DeleteFile DELETE /barcode/storage/file/{path} Delete file
FileApi DownloadFile GET /barcode/storage/file/{path} Download file
FileApi MoveFile PUT /barcode/storage/file/move/{srcPath} Move file
FileApi UploadFile PUT /barcode/storage/file/{path} Upload file
FolderApi CopyFolder PUT /barcode/storage/folder/copy/{srcPath} Copy folder
FolderApi CreateFolder PUT /barcode/storage/folder/{path} Create the folder
FolderApi DeleteFolder DELETE /barcode/storage/folder/{path} Delete folder
FolderApi GetFilesList GET /barcode/storage/folder/{path} Get all files and folders within a folder
FolderApi MoveFolder PUT /barcode/storage/folder/move/{srcPath} Move folder
StorageApi GetDiscUsage GET /barcode/storage/disc Get disc usage
StorageApi GetFileVersions GET /barcode/storage/version/{path} Get file versions
StorageApi ObjectExists GET /barcode/storage/exist/{path} Check if file or folder exists
StorageApi StorageExists GET /barcode/storage/{storageName}/exist Check if storage exists

Documentation for Models

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
21.10.0 29 10/13/2021
21.9.0 48 9/23/2021
21.7.0 139 7/22/2021
21.6.0 118 6/29/2021
21.3.0 218 3/11/2021
21.2.0 150 2/9/2021
20.12.0 279 12/25/2020
20.11.0 252 11/10/2020
20.10.0 219 10/28/2020
20.8.0 255 8/3/2020
20.6.1 276 6/26/2020
20.6.0 301 6/9/2020
20.5.1 366 5/22/2020
19.10.1 323 4/16/2020
19.10.0 438 10/21/2019
18.6.0 593 7/23/2018
1.1.0 681 2/4/2018
1.0.8 589 9/27/2017
1.0.7 551 9/27/2017
1.0.6 604 8/14/2017
1.0.5 628 5/26/2017
1.0.4 892 1/6/2017
1.0.3 630 11/2/2016
1.0.2 646 10/21/2016
1.0.1 950 2/26/2016
1.0.0 749 2/26/2016