VIDEOS

How to Print a Barcode in ASP .NET

Jordi Bardia
Jordi Bardia
July 30, 2023
Share:


In this tutorial, we explore the process of printing barcodes within an ASP.NET web application using the Iron Barcode Library. The tutorial is conducted using Visual Studio 2022. It starts by navigating through the barcode model, which includes properties for file name and barcode content. Then, the tutorial explains the controller setup responsible for generating barcodes using the Iron Barcode Library. The generated barcode is saved as a JPEG file, and any exceptions redirect the user back to the barcode creation view.

The tutorial further examines the createbarcode.cshtml file, which contains a form for user input. Users can enter a file name and content, and upon submission, the server generates the barcode. If successfully generated, the barcode image displays, otherwise, the user is redirected back to input details. Finally, the tutorial demonstrates running the project and generating the barcode. The Iron Barcode Library proves to be a valuable tool for barcode generation in ASP.NET applications. The tutorial concludes with a call to subscribe for more modern software tutorials.

Further Reading: How to Print a Barcode in ASP .NET

Get stated with IronQR now.
green arrow pointer

Jordi Bardia
Software Engineer
Jordi is most proficient in Python, C# and C++, when he isn’t leveraging his skills at Iron Software; he’s game programming. Sharing responsibilities for product testing, product development and research, Jordi adds immense value to continual product improvement. The varied experience keeps him challenged and engaged, and he says it’s one of his favorite aspects of working with Iron Software. Jordi grew up in Miami, Florida and studied Computer Science and Statistics at University of Florida.
NEXT >
How to Generate a QR Code Using C# with IronBarcode

Ready to get started? Version: 2025.4 just released

View Licenses >