We can create webparts using visual studio and deploy. Refer below article. http://www.c-sharpcorner.com/uploadfile/Roji.Joy/creating-web-parts-for-sharepoint-2010-using-visual-studio-2010/