Good.
First install Office development templates from
http://www.microsoft.com/visualstudio/eng/office-dev-tools-for-visual-studio
This will give you the following template selection to reopen Studio

Then go where EwsManagedApi32.msi is, and enter the following command at the welcome prompt -
EwsManagedApi32.msi addlocal = "ExchangeWebServicesApi_Feature, ExchangeWebServicesApi_Gac"
Your templates are now usable, and the one you want is the "VS2012 Web Part".
Now, by default, this will add an ASP.NET project that you donβt need, so manually delete the ASP.NET project, add MVC, highlight the SharePoint project in Solution Explorer, press F4 and select the MVC project from the Web Project drop-down list at the bottom of the properties.
And you go there. One controller per web part, sorted.
source share