Chafing prevention

I'm going to wear shorts and dresses this summer but last time I wore shorts I chafed so bad! I used vaseline, and deorderent and I still messed up my inner thighs a lot): what other methods could I try out?