SharePoint Saturday Belgium 2014 Developing SP2013 Apps using VS2013, MVC 5, SignalR 2.0 and WebAPI...

Post on 14-Jan-2015

234 views 2 download

Tags:

description

 

Transcript of SharePoint Saturday Belgium 2014 Developing SP2013 Apps using VS2013, MVC 5, SignalR 2.0 and WebAPI...

Developing SP2013 Apps using VS2013, MVC 5, SignalR 2.0 and WebAPI 2#SPSBE25Bas LijtenApril 26th, 2014

Thanks to our sponsors!

Gold

Silver

SharePoint/Search/Solution Architect@BasLijtenhttp://blog.baslijten.com

Bas Lijten

Internet: • 2007, 2010 & 2013• 1000 sites• Not O365

compliant• No apps

Intranet • 2007 -> 2013 on

premise• O365 compliant• Apps, apps & apps

Agenda

MVC 5

SignalR 2.0

WebAPI 2

I Like it Contest

big prizes

MVC 5

One ASP.NET

ASP.NET

WebForm

s

Sites

WebPages

Single

PageApps

MVCWebAPI

SignalR

Services

Integrate existing apps with SharePointhttp://blog.baslijten.com/convert-mvc-application-to-shareptoint-2013-provider-hosted-app/

• Reuse SharePoint authorization/authentication• SharePoint data• Lists, documents, metadata

• Use SharePoint services• search, userprofiles, managed metadata

SignalR 2.0And the infamous “I Like it contest”

I Like it Contest!

http://tiny.cc/spsbe

Open Web Interface for .NETCleaner separation of app, server and host

using AppFunc = Func< IDictionary<string, object>, // Environment  Task>; // Done

ASP.NET Web APISignalR, other FX

Server (OWIN)

Host

OWIN middleware

ASP.NET Web APISignalR, other FX

Server (System.Web OWIN)

IIS(Host en Server)

ASP.NET Web Forms + MVC

IIS(Host en Server)

WebAPI 2.0How to get it to work with SharePoint data

LinksConvert existing MVC apps to SharePoint appshttp://blog.baslijten.com/convert-mvc-application-to-shareptoint-2013-provider-hosted-app/

Integrate SignalR 2.0 with SharePoint 2013http://blog.baslijten.com/how-to-integrate-signalr-2-0-in-a-sharepoint-2013-mvc5-app/

Getting WebAPI 2.0 to work with SharePoint 2013 appshttp://blog.baslijten.com/getting-sharepoint-2013-apps-and-webapi-to-work/

Thank you!