I will describe the experiments of using high spatial resolution near-field temperature-dependent magneto-photoluminescence to study optical and structural properties of variety semiconductor quantum dots emitting from violet to near-infrared. The probing of the mode fields in micro-disk and photonic crystal cavities using near-field technique will also be discussed.