Neither time did I apply much current. No, the dial on your transformer controls VOLTAGE NOT CURRENT.
So now I'm confused.
Was my basic premise about using these LED bulbs to replace the incandescent ones flawed or did I do something wrong. The LED in an of itself is, fine- no different than any other LED- where you failed- it's right in the name, an LED is a diode- a special one, but a diode. When it conducts it's like a diode and thus needs current limiting or else they burn out in short order. Go ahead- put a diode directly across your transformer- it will react the same way- conduct massive current until it too burns up.
Am I missing something? Yes, as pointed out, you need a resistor in series with the LED- and possibly a blocking diode to prevent the reverse voltage from AC also causing a failure.
Again, let's do the 101 on electricity here:
Voltage is like water pressure
Current (Amps) is the VOLUME of water flowing- an 8 Inch pipe diameter vs 1/2 Inch pipe diameter.
A diode is like a one way check valve. In the same analogy- that check valve has a pressure limit that is different in both directions AND also has a flow limit.
An incandescent bulb has a special characteristic. The tiny wire filament has resistance. The key is, that resistance changes with temperature. So when it heats up, it gets more resistive and less current. Less current is less heat, so the filament heats up, then reaches a self regulating high temperature. It controls the current.
An LED (Light Emitting Diode) is a diode (one way check valve) One way, no current flows through it, the other polarity current flows through it above the threshold "turn on" voltage -AKA "forward voltage" of the diode and once it begins conducting, it's like an check valve that pops fully open allowing near unlimited current. So with an LED- you need another device in the path to limit current- a resistor.
And... an LED like I said has several ratings or limits and one of them is peak reverse voltage. Again, think of a check valve, how much back pressure can the valve take in reverse (the closed state) before it just blows through and breaks the valve? This is why adding a higher rated peak inverse voltage diode in series- protects the sensitive and special LED diode from repetitive peak inverse voltage from an AC power source.
Again, you took a bare LED, no protection of any kind- no current limit and no reverse voltage protection- connected to power sources capable of Amps of current and the LED blew in a flash.
Excellent example and diagrams of doing it right
https://ogrforum.com/...1#159660139239386791
Not rocket science here, for an LED from track power, complete with reverse voltage protection for long life, here it is. The resistor value of 470 will give you an average current of close to 20ma with 18 VAC track power, I typically use a 1K resistor to cut that to half as the LED's are more than bright enough with half the current.
Here's my illuminated yard switches, these LED's each have a 1K resistor and all of the LED's have a single diode to the track common for reverse voltage protection.
You can add as many LED resistor pairs to a single protection diode as you need, especially if they're in one place. Just keep stacking them up.