I use brake clean on my bikes all the time. The aerosol is the quickest way I know of to clean a cassette. I really like it for the final rinse cycle on rotors, although I typically just do a quick wipe down with alcohol, paint thinner or acetone, whatever is handy.
I like carburetor clean for chains as well. Keep a jar full for just that purpose.