For hemocyte immunostaining, larvae were bled to extract hemolymph into warm Schneider’s serum-free media (Thermo Fisher Scientific, Waltham, MA, United States). Hemocytes were placed on coverslips to allow attachment for 10 min, then fixed with 4% PF and permeabilized with 0.4% NP40, blocked with 20% goat serum and incubated in primary antibody.
Secondary antibodies used were conjugated to Alexa-Fluor 488, 568, or 633 (Life Technologies, Carlsbad, CA, United States). Phalloidin conjugated to Alexa 568 or 633 (Life Technologies, Carlsbad, CA, United States) was used to visualize lamellocytes. Lymph glands were mounted on coverslips in DAPI-glycerol media. Images were acquired using Zeiss LSM510 Meta or LSM880 confocal microscope in either normal confocal mode or airy scan mode.