17. Les différents types d’apps
Immersive full page app (aka SPA)
At least one required in every app—landing page; can still use SharePoint
chroming; lives in remote web for a cloud-hosted app
App Part
Like a web part; hosted in an IFRAME (can point to content in remote web)
UI custom actions (declarative)
23. Office 365
Environnement
Apps live in their own isolated environment called
the “app web”.
The site in which they function is called the “host
web”
APP1UID GUIDAPP1
29. Différences entre C# et
Javascript
C# JavaScript
using Microsoft.SharePoint.Client; ExecuteOrDelayUntilScriptLoaded(initFunc,
“sp.js”); …or…
$(document).ready(initFunc);
using (ClientContext context = new
ClientContext(absoluteUrl))
using (ClientContext context = TokenHelper…( ))
var context = SP.ClientContext.get_current();
var context = new SP.ClientContext(relativeUrl);
string title = web.Title; var title = web.get_title();
context.Load(oList, list=>list.Title,
list=>list.Created);
context.load(oList, ‘Title’, ‘Id’);
context.load(oListColl, ‘Include(Title, Id)’);
context.ExecuteQuery();
context.ExecuteQueryAsync();
context.executeQueryAsync(onSuccess, onError);
Value types: StringCollection Value types: string[], NaN
Automatic FormDigest handling Manual FormDigest handling
Issues creating RoleDefinitionBindingCollection’s
30. Apps vs WSP
Apps Sandboxed WSP
No Code (*)
Full trust WSP
(on prem only)
Where does server-side code
run?
Anywhere but
farm
Farm (User Code
Service)
Farm (w3wp.exe)
Scalable Highly Limited Based on farm
Who installs and removes Users
Site collection
admin
Farm admin
Supported in SP2013 Yes Yes Yes
SharePoint Online compatible Yes Yes No
Azure-hosting compatible Yes No No
Requires local farm for
developers
No Yes Yes
Remote deployment and
debugging from Visual Studio
Yes No No
*SandBox Solution withcodeisdeprecated inSP2013 &O365
38. • Thank you for your attention!
• This presentation will be available on the
• Casablanca SharePoint Days web site after the
• event.
Merci de votre attention !
Cette présentation sera disponible sur le site internet
de SharePoint Days Casablanca, après l’événement.
39. SVP évaluez ma session!
Complétez le sondage et courez la chance
de gagner une tablette Surface
Please rate this session!
Fill out the survey and get a chance to win a Surface