I guess I have been lucky regarding dogs. I was raised with German sheperds, including one that no one except the family dared approach. I worked in a rual tv shop, where back many years ago, we went in and fixed tvs if people weren't home. With their permission of course. Dogs just ignored me, or came to be petted. I guess it was my attitude, the fact that I was big and strong, and wasn't afraid of them, combined with the fact of how I acted, not prowling arond, etc. I did come close to a serious bite once, it was a german sheperd in a drive way that made a pass at me. I was young and quick, and before he got hold of me I tapped him across the bridge of his nose with the handle of a large nut driver. He just sat there and looked at me afterward.
I did get nipped once by a beagle belonging to a girl I was seeign at the time. More embarrasing than painful. The funny part was that 5 minutes later I was sitting on the edge of the porch and he came over and put his head in my lap wanting petted. The dogs I dislike most though, or things such as chiuaha or pekinese. I hate thos useless yapping things.