.NET Streaming API for QR Code, Data Matrix and More
Request barcodes over HTTP and receive an image or font text, from a .NET 8+ IIS application, a standalone EXE or Azure.
A barcode from a URL
The streaming API is a barcode generator for .NET 8+ that returns images or font text over HTTP.
- Aztec, Data Matrix, DotCode, MaxiCode, Code 39, Code 128, ITF, PDF417, QR Code and QR Code Enhanced
- Standalone Windows EXE on localhost port 5000, or an IIS application
- PNG by default, plus BMP, font text and Unicode images
- Visual Studio project provided in the Streaming API Project folder (the IIS version is compiled only)
Example requests
The first calls the standalone EXE; the second calls an IIS installation.
http://localhost:5000/idautomation-qrcode?X=4&D=Hello_World&ECL=L
https://www.yoursite.com/qrcode/idautomation-qrcode?D=Hello_World&X=4Parameters
| Parameter | Purpose |
|---|---|
| D | Data to encode |
| X | Module (X dimension) size |
| Q | Quiet zone |
| O | Orientation |
| I | Output type: BMP, FT, UI (PNG by default) |
| PT | Tilde handling |
| ECL | Error correction level (Aztec, PDF417, QR Code) |
| MODE | Encoding mode (Data Matrix, PDF417, QR Code) |
| FG / BG, EYEFG / EYEBG | QR Code Enhanced colors |
| RM / EYE, LOGO, LS, DOTS | QR Code Enhanced shapes, logo and logo size (default .20) |
A selection of parameters. Linear and 2D symbologies add options such as BH, CS, CC, CT, FS, N, ST, S, COL, ROWS, TRN, XYR, BM and V. See the streaming manual (opens in a new tab) for the complete list.
Frequently asked questions
What is the .NET Streaming API?
A barcode generator for .NET 8+ that returns images or font text over HTTP. It runs as a standalone Windows EXE on localhost port 5000 or as an IIS application.
Which output types can I request?
PNG is the default. Use I=BMP for a bitmap, I=FT for font text (also FTLF and FTBR), or I=UI for a Unicode image.
What does IIS need?
Each barcode type needs its own application pool and application. The .NET Hosting Bundle and a web.config file are required, SSL is recommended, and the pool uses No Managed Code with the Integrated pipeline.
Are logo URLs a security risk?
The Licensed Advanced version can load logos from URLs or file paths. The Local version only loads logos from the local logos folder. Escape reserved characters, for example ~d043 or %2B.
Stream barcodes from your own server
Review the manual and download the demo.