Trying to get an outside light hooked up and my electrician is buried on a project. From what he said, I think this meets code, but not 100% sure. There is no way to put the box on the back of the light fixture itself, so am running all wires into a box that will have a cover on it and be accessible from the inside of the shop. The light is an LED that pulls half an amp, but I don't think that is relevant. And yes, the wires will be attached to the studs using staples, set back about 2" in from the surface. The box sits immediately above the door header.
Thanks
Light Outside.jpgLight Inside.jpg