JavaScript (TypeScript) nowadays becomes more and more popular. We can also see this tendency in SharePoint with SharePoint Framework being announced in 2016. You know, that Microsoft introduced the new app (add-in) model in SharePoint 2013. This model allows you to create add-ins for SharePoint in any language and framework you want (not only .NET like it was before). Keeping in mind that JavaScript is a tendency, why can’t we write literally everything (our add-ins, our back-end code and code running in a browser) in JavaScript (or TypeScript)?
In this session, find out how to build a SharePoint add-in with TypeScript and PnP-JS-Core on a client (browser) and server side (node.js). This approach has some benefits, because you will use only one single language for the whole app and don’t need to spend time “switching contexts” from TypeScript in the client and .NET (or other back-end technology) on the server. Sometimes you can even use the same set of classes or services both in your client and server side code thus saving time and preventing code duplication in different languages.
Benefits of Attending this Session:
- How to authenticate requests from Node.js to SharePoint
- How to use PnP-JS-Core in SharePoint add-ins built with Node.js
- How to reuse classes from your add-in in both server and client side