Can we write managed code in SharePoint 2013 apps and if yes then in which app: Sharepoint hosted app, Provider hosted app, Azure(Auto Hosted App).

If yes then can someone please tell me how

2 Answers 2


You should be using Client Side Object Model while creating Apps for SharePoint. You can use MSDN as starting point to find out how to create those

How to: Create a basic provider-hosted app for SharePoint

How to: Create a basic SharePoint-hosted app

How to: Create a cloud-hosted app that includes a custom SharePoint list and content type


SharePoint hosted apps support JavaScript client object model and REST. Dot NET client object model is not supported in SharePoint hosted apps. However, Dot NET client object model is supported in cloud hosted apps.

  • Thanks for the reply and what about provider hosted app. Do they support Dot .Net model or JavaScript client object model and REST
    – user31823
    Nov 26, 2014 at 16:39
  • Yes provider hosted apps support JSOM, rest and managed client object model. Nov 26, 2014 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.