If you train your doggie properly to LOVE his crate, he will not whine. You can't just throw a dog in a crate without teaching him. He has no idea what a crate is. Start out throwing some treats in the crate and let your dog go inside to get it. After trying that a few times, then throw a treat in the crate and shut the door. Give your dog another treat while in the crate with the door shut so he knows he's doing good, then open the door and let him out. Try that for a while. Put a few toys in the crate, and hide the rest, so whenever he wants to play, he'll have to go inside the crate to get one of his toys. The toys and treats will make him think the crate is a good place.
Whenever it's time for your doggie to be put inside his crate, make sure that a few toys are in the crate, and always give him a treat when he walks in his crate so he knows he's doing a good job. Eventually, your puppy will walk in his crate without even being made to. My dog sometimes goes to his crate just to nap. Dog crates need to be a comfort zone, not a time-out spot. Your doing good by not paying attention to him when he whines. Keep this up! If you give in, he'll just get what he wants, and will never learn to love his crate. If you teach him the way I explained, he will hardly ever whine in the beginning, and eventually love his crate.