To emphasise what has already been mentioned here a few times - when engaging in any activity, be sure to agree the price in advance (taxi, bars, restaurants).
Istanbul is nice otherwise, albeit too busy for me. I did bot have a problem with stray dogs - what I remember rather were the stray cats.