why there is option to add C# class file in SharePoint hosted app if we can not do server side programming in it for creating apps?? Can any one please help me with this? 🙂
If you want to use C#, you will need to use a provider hosted app instead of a SharePoint hosted app. Â You’ll have to create a new app to do this. Â
You can’t add a server side code to SharePoint Hosted apps. If you want to add a server side you should use Provider Hosted apps.