I like to use simple green, an assortment of brushes, along with compressed air to clean parts, then I spray them down with denatured alcohol which rinses away the dirt,soap, and moisture, and it dries quickly.
I bought a small ultrasonic cleaner on sale at Harbor Freight and use it to clean bearings and small parts.