There are several ways to generate barcodes in .net
Both asp.net or WinForms are supported two same ways:
1,Drag and drop
2, Class library.
And you can easily create and print barcode images , meanwhile, you can adjust its properties,inlcuidng its size, barcode output resolutions or other parameters.
Feel free to try, hope it helps!