1. About Me
A Sr. SharePoint Developer
@Fewlines4Biju
fewlines4biju@gmail.com
http://www.EnjoySharePoint.com
2. Agenda
Introduction to Apps
Advantages of Apps Over Solutions
App Development Tools
Hosting Options
Sample Demo
Any Question? Thank You !!!
3. Apps in SharePoint
Today's trend is HTML, CSS, Cloud etc.
Billion of smartphone, tablet users and very much attracted towards Apps.
Mind set of developing a solution targeting to Mobile.
Developers wanted different choice of languages, tools.
Designed for Cloud. Lots of customers moving to cloud now.
Should be lightweight and easy to use.
Apps for SharePoint are self-contained pieces of functionality that extend
the capabilities of a SharePoint website.
New mechanism to deploy code based customization to the SharePoint
platform
Everything in SharePoint is now App. Want to create a list, chose the option
to Add an App.
4. Apps & Solutions
Solutions:
Full trust solutions, Developer had
too much privileges
Access to File System including 14
hive
Server Level Access required
Deploy to GAC
Server side code- Can understand
what will happen in case of
memory leaks
Need farm administrator permission
as well as sometimes need to restart
IIS
Not easy to upgrade, may affect
whole farm
Apps
Language options like HTML,
JavaScript, PHP, or .NET etc.
A solution with no SharePoint server
side code. Need server side code
need host outside SharePoint server
Code will run in client browser or
Outside SharePoint scope.
Install, update or Uninstall without
affecting SharePoint site.
Useful in Tablets and Mobile devices
Server side code has been
replaced by client side code now
No need for admin, user can find
and install an app
5. App Development Tools
Deployment Option Development Option Tools for Development
On-premise install Farm Solution Browser
Hosted Install Sandboxed Solution SharePoint Designer
Office 365 SharePoint Hosted Apps Office Developer Tools
with Visual Studio
2012/2013
Provided Hosted Apps Napa for SharePoint or
Office: Is free and can
develop on the cloud.
HTML, JavaScript & CSS.
Can be opened in Visual
Studio 2012
Azure-Hosted Apps PHP tools or other tools
6. Hosting Options
SharePoint Hosted Cloud Hosted Hybrid Hosted
• App resources are
hosted in SP but Code
runs in client browser.
• HTM or JavaScript, No
server-side code at all.
• Provider-hosted (on-
premise) and Azure
Autohosted (Office 365)
• Everything is in external
server.
• Can use any technology.
• Some components are
installed in SharePoint
Server and some in the
cloud.
7. Few Points on Apps:
Always web scoped
Always contains AppManifest.xml that tells about App.
Never run server side code on SharePoint server
If you can build a web application, you can build an app for SharePoint.
Presentation logic in HTML and JavaScript that runs on the client, Business
logic in .NET that runs in Windows Azure. Data that is stored in SQL Azure.
Each app is deployed to a SharePoint site known as the host web
Each app installation has its own unique URL