Building Share Point add-ins with JavaScript and c# Microsoft Western Europe Community Day in Rome

Preview:

Citation preview

Titulo

SubtituloBuilding SharePoint Add-ins with JavaScript and C#

Sonja Madsen

SONJA MADSENMicrosoft MVP, SONJAsAPPSBest International Developer

@sonjamadsen dev@sonjasapps.com

Sonja Madsen

SharePoint Add-ins on Office 365

Azure Web API and Core 1.0

SharePoint

SharePoint & Add-ins

Front-end Back-end

SharePoint AzureCore 1.0

Back-end

Front-end

SharePoint Client Object Model

• Lists, libraries• Sites, permissions• Users, user profiles• Search• Content • Metadata• External sources

C# is what JavaScript is not

• Send email• Connect to database• Secret sauce, code-behind

Microsoft on Instagram

Code-behind

• Intelligent apps• Current user name, takes pictures description,

language-country, customer profile, purchase history, your product inventory

• Secret sauce logic

Core 1.0

• Cross-platform • project.json• global.json• appsettings.json• Command line• Rebirth of MVC• Coexist with ASP.NET 4.6

DEMOCode-behind

InstagramRSS feed

SharePointAdd-inJavaScript

Code-behindLogic

REST∫∞

Solution Architecture

SharePoint add-in Core 1.0

App manifestXML files

JavaScriptCSSC#

D E M O

Send email, license validation, database

DEMOSQL Database

• JavaScript• CSS• C#• MVC• REST• Entity Framework

SQL Database

Issues

• Performance• Request frequency• Authentication

Summary

• SharePoint • Azure• SQL• JavaScript• Core 1.0, C#, MVC 6, Entity Framework 7

Recommended