So you mean do you define the endpoints in code or in xml configuration?
Well, they are functionally equivalent in every way, so from that perspective it's a personal choice.
The only real difference is that if you define your endpoints as xml config then you're not baking the service management and infrastructure concerns into the assembly, which in my opinion is much betterer.