Code only requires that there be a receptacle, front and rear. It doesn't say where- they can be flush, surface, even away from the house (as in mounted on a column).