Corrosion in concrete joist frames happens in watery environments and is caused by an electrochemical reaction. The effect is that of an electrochemical cell, in which a part of a steel bar acts as the anion while the other acts as a cation and the humidity in the concrete will then be the electrode.

Corrosion doesn’t normally occur in dry environments.