Generate and print UPC-A barcode image in ASP.NET Web applications using barcode server control
UPC-A Barcode Generator for ASP.NET Applications
  • Easy to use barcode component for ASP.NET 2.0, 3.0, 3.5 and 4.0
  • Support UPCA barcode as well as many common linear barcode standards in ASP.NET
  • Support VB.NET, C#, Managed C++ and Borland Delphi for ASP.NET
ASP.NET Barcode Creator for UPC-A Barcode Generation
  • Managed code entirely written in Visual C#
  • Strong-named .NET DLL for ASP.NET 2.0/3.5/4.0
  • Can be used in any .NET languages such as C#, VB.NET, Managed C++,etc
  • Generate dynamic UPC-A in web service using IIS through URL
  • Save UPC-A in image files such as Tiff, Bmp, Png, Jpeg
  • Automatically calculate checksum character for UPC-A
  • Human-readable text can be enabled or disabled in this SDK & DLL
  • Flexible to change barcode parameters in ASP.NET web applications
Avapose UPC-A Barcode Component for ASP.NET completely runs in .NET Framework 2.0/3.0/3.5 and above version in any .NET languages environment in Visual Studio. Developers can also use this DLL to generate dynamic UPC-A in html or aspx pages using IIS through URL without the involvement of VS.
UPC-A Barcode Component Control for ASP.NET Development:
  • ASP.NET Web Site(design-time and runtime support)
  • Console Application (runtime support)
  • Class Library (runtime support)
  • .NET Web Service project (runtime support)
Barcode Generation Control for ASP.NET - UPC-A Specifications
UPC-A is a 12-digit long linear barcode symbology that widely used in USA for retail purpose. The barcode encodes the manufacturer and specific product code for point-of-sale cash register systems looking up price. UPC-A is appended by a checksum character in the trailing place. Avapose barcode SDK for ASP.NET can compute this digit automatically.
UPC-A in ASP.NET valid characters:
  • Digital characters: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Barcode Creation Library for ASP.NET - UPC-A Generation


To generate UPC-A in ASP.NET applications, you need to install:
  • Windows XP, Windows Vista, Windows 7,etc
  • .NET Framework 2.0/3.0/ and later version
  • Microsoft Visual Studio 2005/2008/2010
  • Microsoft Internet Information Service (IIS)
  • UPC-A Barcode Generator for ASP.NET

Drag and drop UPC-A barcode image to web forms applications in ASP.NET projects

  1. Add Avapose.linearbarcode.aspnet.dll to your project;
    (Do not copy the DLL to the bin directory, Visual Studio will do so automatically)
  2. Open your Visual Studio, right click on the "Toolbox", and select "Choose Item";
  3. Click “browse” in the “.NET Framework Component” tab, find Avapose.linearbarcode.aspnet.dll, and click "OK". You will find LinearWebControl in the Toolbox;
  4. Go to "Barcode" folder in the trial package, copy files "linear.aspx" and "linear.aspx.cs" to the project where aspx barcodes are generated;
  5. Drag and drop the LinearWebControl to your aspx page. Change barcode type to UPC-A through properties window;
  6. Debug it, you will find UPC-A barcode image generated in your aspx pages.

Add UPC-A barcode generation capability to IIS for ASP.NET applications

  1. Download Barcode Generator for ASP.NET and unzip;
  2. Create file Directory barcode in Internet Information Services (IIS);
  3. Restart IIS, and navigate to
  4. Now a UPC-A is generated, you can change barcode with UPC-A property below;
  5. To add the created barcode images in html or aspx pages, simply insert the following image tag into your web pages:

Generate and print UPC-A barcodes in ASP.NET web applications using C# and VB.NET

Add ASP.NET Barcode Class Library to your project reference:
  1. Download Avapose ASP.NET barcode trial and unzip;
  2. Add Avapose.linearbarcode.aspnet.dll to your project. Do not copy the DLL to the bin directory, Visual Studio will do so automatically;
  3. Open your Visual Studio. In the "Solution Explorer", add Avapose.linearbarcode.aspnet.dll to your reference.
  4. Go to "Barcode" folder in the trial package, copy files "linear.aspx" and "linear.aspx.cs", to the project where aspx barcodes are generated;
  5. Right click on the "Default.aspx" in "Solution Explorer" and select "View Code";
  6. Copy those following sample accordingly and debug it, you will find a UPC-A generated in you ASP.NET projects.

C# code

using Avapose.linearbarcode;
Linear barcode = new Linear();
barcode.LinearBarcode = LinearBarcode.Upca;
barcode.BarcodeData = "01234567891";
barcode.BarWidth_X = 2;
barcode.BarHeight_Y = 50;
barcode.Resolution = 96;
barcode.BackgroundColor = Color.White;
barcode.ForegroundColor = Color.Black;
barcode.Rotation = Rotation.Degree0;
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif;

VB code

Dim barcode As Avapose.linearbarcode.Linear = New Avapose.linearbarcode.Linear()
barcode.LinearBarcode = Avapose.linearbarcode.LinearBarcode.Upca
barcode.BarcodeData = "01234567891"
barcode.BarWidth_X = 2
barcode.BarHeight_Y = 50
barcode.Resolution = 96
barcode.Rotation = Avapose.linearbarcode.Rotation.Degree0
barcode.BackgroundColor = Color.White
barcode.ForegroundColor = Color.Black
barcode.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif
Testimonial for Avapose.Barcode for ASP.NET
We bought your Barcode Generator for ASP.NET a few weeks ago, and it works pretty well
Carios Louis, Eureka Software Ltd,UK