The present invention relates to nanofibrous coatings on medical devices such a surgical mesh or stent, wherein the coating is mechanically attached to the device. The principal mechanism for attaching the coating is through causing the fibers to permeate and entangle with the substrate.