cDNAs generated from individual epidermal cells reveal that differential gene expression predicting subsequent resistance or susceptibility to rust fungal infection occurs prior to the fungus entering the cell lumen.