Create a new SharePoint 2013 empty project in Microsoft Visual Studio 2013.
Create a new project named "Registration" and click OK.
Enter the valid SharePoint site URL and select Deploy as a Farm solution, then click Finish.
Now right-click on the project and click Add new item.
Create a new Visual Web Part named "Demo".

Now I will add a simple Hello World Web Part on the button click action displayed using label.
Double-click on the button to add some code to display the message.
Now Save the project and right-click on the project and select Publish.

Now the Registration.wsp has been published to the file system.
Now open the SharePoint Management Shell using “Run as administrator”.
Command: stsadm –o addsolution filename Registration.wsp.
Now go to SharePoint 2013 Central Administration to deploy the solution.
Under System settings click Manage Farm solutions.
Click on the solution “registration.wsp” and click Deploy solution, then click OK.


Now the solution has been deployed successfully.
Now go to the site.
Click on edit page to add a Web Part.
Now click on the button and display the message.
One more way to deploy the solution is to directly deploy it from Microsoft Visual Studio.
This document shows how to deploy the .wsp file in SharePoint 2010 and 2013.
Deploying WSP in Sharepoint Solutions
This article will show how to create and deploy a Web Solution Package (WSP) in SharePoint 2013 and SharePoint 2010.


Vinodh NarayananPosted Jul 16, 2015, 8:38 PM EDT
Santhakumar Munuswamy Thanks sir
Santhakumar MunuswamyPosted Jul 16, 2015, 11:48 AM EDT
Welcome
Santhakumar MunuswamyPosted Jul 16, 2015, 11:47 AM EDT
Nice Article! Thanks for sharing
Vinodh NarayananPosted Jul 15, 2015, 8:27 AM EDT
Thanks friends
Abhay ShankerPosted Jul 15, 2015, 7:24 AM EDT
nice...
Sibeesh VenuTOP 100Posted Jul 15, 2015, 5:28 AM EDT
Nice Share
Nilesh JadavPosted Jul 15, 2015, 4:54 AM EDT
Nice one sir