BizCode Barcode Generator for ASP.NET
The most professional barcode solutions for Microsoft ASP.NET
Quick Overviews
  • Barcode creating class library
  • Support ASP.NET IDEs & IIS
  • Easy to use & integrate
  • Dynamic barcodes support
  • High-usability controls provided
How to Generate Code 128 in ASP.NET Library
Code 128 (a.k.a ANSI/AIM 128, ANSI/AIM Code 128, USS Code 128) is a high-density, alphanumeric linear barcode symbology that has been widely adopted by many industry applications. Code 128 is a variable length, continuous symbology with multiple element widths.
ASP.NET Code 128 Barcode Generator DLL is an ASP.NET barcode generation control that enables .NET developers to create, manage and manipulate Code-128 barcodes in ASP.NET Web Forms, ASP.NET Web Server as well as in Internet Information Service (IIS).
With ASP.NET Code 128 Barcode Generator, users may easily customize their own Code 128 barcodes through multiple barcode size, image, and human-readable text related options. Meanwhile, all generated Code 128 barcodes are compatible with all the web browsers, including IE, Firefox, Chrome, Opera, Safari, etc.

This document provides a comprehensive user manual on Code 128 barcode generation in ASP.NET. If you want know more, please go to user manual for Code 128 data encoding, user manual for Code 128 image setting, and user manual for Code 128 size setting.
Code 128 Generator for ASP.NET Features
Encodable CharactersSupport to encode:
- Standard ASCII characters 0-127 (default: ISO/IEC 646)
- Extended ASCII characters 128-255 (default: ISO/IEC 8859-1)
ISO barcode SpecificationCode 128 barcode generation in accordance with the latest ISO barcode specification - ISO / IEC 15417 (2nd edition 2007-06-01)
Programming LanguageCompletely run in Visual C#, VB.NET, Managed C++ and Borland Delphi for .NET
IIS Support to add Code 128 barcode generating features onto Internet Information Service (IIS)
Image & SizeMultiple barcode setting options to customize Code 128 barcode image and size, including module width, image width, color, rotation, resolution, text, etc.
Safe & SecureProvide 100% managed code product created in Visual C# .NET with strong name signatures and signed DLLs
Code 128 Generator for ASP.NET Requirements
Windows OS
- Microsoft Windows 7
- Windows Server 2008
- Windows Vista
- Windows Server 2003
- Windows XP
Development Environments
- .NET 2.0/3.0/4.0
- C#, VB.NET, Managed C++, Borland Delphi    for.NET
- Visual Studio 2005/2008/2010
- Internet Information Service (IIS)
Install Code 128 Generator for ASP.NET
  1. Download BizCode Generator for ASP.NET and unzip;
  2. Add reference: Add "BusinessRefinery.Barcode.Web.dll" to your ASP.NET project reference
  3. Add to toolbox: To add Barcode Control to your ASP.NET Web Forms toolbox.
How to Drag & Drop Barcode Control into ASP.NET projects?
  1. Install ASP.NET Barcode Control;
  2. Add ASP.NET Barcode Control onto your .NET Visual Studio Toolbox;
  3. Copy "linear.aspx" and "linear.aspx.cs" to the folder where your aspx pages are generating barcodes;
  4. Drag and drop the WebLinearBarcode control into the Forms;
  5. Run the website and you will see a barcode image generated;
  6. More Code 128 Setting see below.
How to Generate Code 128 with C#, VB.NET Class in ASP.NET?
Copy thoser following sample code to your ASP.NET project:
using BusinessRefinery.Barcode;

Linear barcode = new Linear();
barcode.Symbology = Symbology.CODE128;
barcode.Code = "0123456789";
barcode.Resolution = 104;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Gif;
barcode.drawBarcode2ImageFile("c:/code-128-csharp.gif");
Dim barcode As BusinessRefinery.Barcode.Linear = 
New BusinessRefinery.Barcode.Linear()
barcode.Symbology = BusinessRefinery.Barcode.Symbology.CODE128
barcode.Code = "0123456789"
barcode.Resolution = 104
barcode.Rotate = BusinessRefinery.Barcode.Rotate.Rotate270
barcode.Format = System.Drawing.Imaging.ImageFormat.Gif
barcode.drawBarcode2ImageFile("c:/code-128-vb-net.gif")
How to Create Your Own Code 128 in IIS?
  1. Download BizCode Generator for ASP.NET and unzip;
  2. Copy the whole barcode fold and contents into IIS and create a new virtual directory called "br_barcode";
  3. Restart IIS, navigate to http://localhost/br_barcode/linear.aspx?code=0123456789&symbology=7;
  4. Add an image tag <img> into the web page to create Code 128 barcode image in html or aspx pages, e.g.
    <img src=" http://localhost/br_barcode/linear.aspx?code=0123456789&symbology=7"/>.