ASP.NET Code 128 Barcode Generator
Generate code 128 barcode label in c# mvc web project. Free download with open source demo code.

How to generate barcode 128 (code 128) labels in mvc web project without failed compiler error.

  • Written completely in the managed Visual C#.NET, strong-named & time-stamped for security
  • Compatible with major browsers like Chrome, Internet Explorer, Mozilla, Opera, etc
  • Stream 1D Code 128A, Code 128B, Code 128C barcode images in ASP.NET websites/ webforms/ web service
  • Adds Code 128 generation capability to Microsoft Internet Information Server (IIS) to display a dynamic URL
  • Generate high-quality Code 128 barcodes and save locally in Gif, Jpeg/Jpg, Png, Tiff, and Bmp/Bigmap files
  • Support generating & barcoding Code 128 bar codes with C#.NET, VB.NET programming
  • Create Code 128 linear barcodes specified as a URL for usage in other development environments
  • Valid Code128 generation with specification pre-configured and checksum automatically added
ASP.NET Code 128 Barcode Generator Introduction
Code 128 barcode encoder component is a barcoding functionality of KA.Barcode for ASP.NET which supports creating and printing high-quality Code 128 images in ASP.NET applications. For web designers and developers who want to customize the generated barcode images, detailed tutorial with C# & VB.NET samples are provided for Code 128 generation.
Code 128 Overview in ASP.NET
Code 128, also named ANSI/AIM 128, ANSI/AIM Code 128 & USS Code 128, is a self-checking linear barcode which encodes 128 ISO/IEC 646 characters. It also meets the standard of Automatic Identification Manufacturers (AIM).
Code 128 Encodable Characters in ASP.NET Control
  • Code 128 A (Code Set A): 0-9, A-Z, and special characters
  • Code 128 B (Code Set B): 0-9, A-Z, a-z, and special characters
  • Code 128 C (Code Set C): numeric digit pairs 00-99
  • Code 128Auto: to encode all the above data types with automatic shifting between code sets
Download Code 128 Barcode Generator for ASP.NET
Firstly, please download KA.Barcode for ASP.NET demo version for free and unzip it. Code 128 barcode images generated with this demo version will include a "KA Barcode" watermark randomly. This demo version includes:
  • KeepAutomation.Barcode.Web.dll
  • A "barcode" folder including barcode.aspx.cs & barcode.aspx
  • End user license agreement, user manual, and order page
How to Generate Code 128 With ASP.NET Web Control
  1. Open your Visual Studio and create a new ASP.NET web project.
  2. Go to "barcode" folder and copy "barcode.aspx" and "barcode.aspx.cs" to the target folder.
  3. Add "KeepAutomation.Barcode.Web.dll" to the "Toolbox".
  4. Drag and drop "BarCodeControl" from Visual Studio "Toolbox" into the web form.
  5. Choose Code128Auto barcode type in "Properties" panel and a Code 128 barcode image is created.
  6. Customize Code 128 barcode properties through the "Properties" panel.
How to Generate Code 128 in C# or VB.NET Programming
Only two steps are required to produce and stream Code 128 barcode image into ASP.NET web form applications using the C# or VB.NET sample code below.
  1. Choose "KeepAutomation.Barcode.Web.dll" and locate it to your ASP.NET Web project reference.
  2. Refer to the following C# or VB.NET barcoding sample code.
C# Sample code
     BarCode code128 = new BarCode();
code128.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto;
code128.CodeToEncode = "128data";
code128.X = 2;

VB Sample code
     Dim code128 As KeepAutomation.Barcode.Bean.BarCode = New KeepAutomation.Barcode.Bean.BarCode

code128.Symbology = KeepAutomation.Barcode.Symbology.Code128Auto
code128.CodeToEncode = "128test"
code128.X = 2
code128.ImageFormat = System.Drawing.Imaging.ImageFormat.Gif()

How to Specify a Code 128 to GS1-128 in ASP.NET
.NET users are able to indicate the Code 128 encoded is the one based on GS1 standard, namely GS1-128. This could be accomplished using "ApplicationIndicator" property.
C# Sample code
     code128.ApplicationIndicator = 0;
VB Sample code
     code128.ApplicationIndicator = 0
How to Create GS1 Compatible Code 128 in ASP.NET
By agreement between AIM, Inc. and GS1 (formerly EAN International and the Uniform Code Council (UCC)), the use of FNC1 could be used to encode GS1 compatible Code 128. To achieve this, users should set the "FNC1" property.
C# Sample code
     code128.FNC1 = KeepAutomation.Barcode.FNC1.First;
VB Sample code
     code128.FNC1 = KeepAutomation.Barcode.FNC1.First
How to Set Tilde Function of Code 128 in ASP.NET
Code 128 Symbols are able to encode special characters by setting "TildeEnabled" property to true.
C# Sample code
     code128.TildeEnabled = true;
VB Sample code
     code128.TildeEnabled = true
How to Generate Code 128 in Microsoft IIS Through URL
  1. Unzip the trial package, copy "barcode" folder and its contents to your IIS, and create a new virtual directory "barcode".
  2. Restart IIS, and navigate to "http://YourDomain:port/barcode/barcode.aspx?code-to-encode=0128&symbology=7" (TYPE: Code128Auto = 7, Code128A = 8, Code128B = 9, Code128C = 10).
  3. Now a Code 128 is generated and you can change barcode properties in the url above, view http parameters here.
  4. To add the created barcode images in html or aspx pages, simply insert the following image tag into your web pages.<img src="http://YourDomain:port/barcode/barcode.aspx?code-to-encode=0128&symbology=7"/>.
Free Trial DownloadASP.NET Code 128.NET Class Code 128IIS Code 128Using C#Using VB.NETData Matrix for ASP.NETPDF417 for ASP.NETQR Code for ASP.NETmoreCodabar for ASP.NETCode 39 for ASP.NETEAN-8 for ASP.NETEAN-13 for ASP.NETEAN 128 for ASP.NETIntelligent Mail for ASP.NETInterleaved 2 of 5 for ASP.NETISBN for ASP.NETITF-14 for ASP.NETRM4SCC for ASP.NETUPC-A for ASP.NETUPC-E for ASP.NETmore
KeepAutomation provides complete barcode automation solutions. We recommend the customers use high quality document controls: ASP.NET Document Viewer, ASP.NET MVC Document Viewer, Document Viewer ASP.NET C#, ASP.NET PDF Viewer, ASP.NET Word Viewer, ASP.NET Excel Viewer, ASP.NET PDF Editor, MVC PDF Viewer, ASP.NET Annotate PDF, c# pdf sdk, C# View, edit PDF online , C# Convert PDF to Tiff, C# Convert PDF to text, txt, .net imaging sdk, C# PDF metadata edit from