Much of the answer about "best razor" will depend on the kind of hair you have. If you're a porcupine like me, you probably can't shave with an electric razor. I have very thick, wiry facial hair and a five-o'clock shadow ten minutes after shaving. I never found an electric razor that could hack through my thatch.
Long ago, I learned that shaving while the shower is running is best. I soap my beard first thing when I turn on the shower and leave the suds on. Then I wash the rest of my bod and hair. When that's all done, then my beard is soft enough to shave, which I can do by feel. When I get out of the shower, I then finish up with the razor at the sink.
Shaving in the shower or not makes much more of a difference for me than what kind of razor I use, although cheap Bic throwaways and the like I don't use. I also shave just twice a week. If I do it any more frequently, then I have problems with ingrown hair. I usually have a short scruff on my face, but that's better than a whole lot of pimples.