First, clamp your barrel to a table and level it, ie: use a level to ensure that the flat top of the barrel is level.
Second, take a single cut mill bastard file with the handle end in your left hand, and place the level on top of it, then on top of the barrel where you want to solder on your front sight or barrel tenon.
Draw the file toward yourself for a couple of inches, ensuring that your level's bubble stays in it's centre. that will mark the barrel with a light straight line exactly in the centre.
Take a strip of banding steel about 5/8" - 3/4" wide and five inches long. In one end, cut a notch that will fit over your sight or tenon, using a saw or file. Bend the strap to 90 degrees about 1/2" in from your notch. This is your clamp.
Once you have tinned the barrel and the sight/lug, flux the barrel again and place your item on the centre line you've made, with the clamp's notch on the item, it's long end extending down the barrel. Clamp the strap to the barrel with a spring clamp, "C" clamp, or hose clamp, The strap will hold the item securly to the barrel while you heat the barrel from underneath until the solder flows. Add more solder to the joint and it will flow into the joint.
Once cool, remove the clamps, cut away the excess solder with a graver, knife, files and abrasive cloth/paper.
Done.