If the country you are applying in is in the e-visa system, i.e. Cambodia, you have no choice, but you still must be in that country when applying, It's e-visa only. You don't have to go to the consulate. Otherwise, as in the case of Laos you have to go in person, e-visa is not possible (yet).