The only method for SharePoint Online with C# is to build a SharePoint Provider Hosted addin. SPFx is built using JavaScript/TypeScript rather than C#.
SharePoint Online Development
Hi,
I was wondering, is it possible to develop web parts etc. for SharePoint Online with .Net / C# through Visual Studio 2019?
/Henrik
2 additional answers
Sort by: Most helpful
-
Monica Jagani 1 Reputation point
2021-02-15T07:34:21.99+00:00 Yes, you can through SPFx development model.
The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and extending Microsoft Teams. With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready.
Read more on sharepoint-framework-overview
Quick link to develop your 1st web part - build-a-hello-world-web-part
-
JoyZ 18,056 Reputation points
2021-02-16T01:41:41.367+00:00 Hi @Henrik Ravn ,
Agree with trevor, it's possible to develop web part use C# in SharePoint online.
For more information , please refer to:
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.