Sunday, February 22, 2015

SharePoint 2013 App model with real life example


SharePoint Hosted App

  • Explaining with e.g. If Admin. sell app to 100 persons
  • Each person has single instance running on their client.
  • App install/run on respective client. Data runs/access on respective client.
  • No access to Admin on the app which is running by 100 persons.
  • Isolated from each persons context because they app run on respective client.
  • No problem of multi-tenancy
  • Real life example - Maruti company (means Admin. on SharePoint) sold maruti car (means App on SharePoint) to 100 customers (means Client machine on SharePoint). Each customer has their respective maruti car. Maruti company once sold need not do any maintenance / access rights for sold maruti car. Maruti car once sold is a an isolated entity.
SharePoint Hosted App

Provider Hosted App (It could be "any" server on windows / linux / Unix etc.)


  • Explaining with e.g. If Admin. sell app to 100 persons
  • Each App talk to "single" web server
  • Admin. has to govern multi-tenancy.Admin has to know which client the request belongs to.

  • Admin. should govern that client is given access to their respective data requested by client.


  • Real life example - Milk man (means Web Server) selling the milk (means App on SharePoint) to 100 customers. Each customer has to depend on Milk man to supply milk to their houses. Here, Milk man (means Web server) has to govern milk (means app) delivery and orders from customer (means Client). In order to fulfill his job, Milk man should know how much liter each customer require every day and accordingly he will supply the milk. Customer should get service from Milk man on daily basis and Milk man should supply service on daily basis. They are not isolated but has to depend on Milk man to get the milk.

  • Provider Hosted App

    Auto Hosted App (Azure web server only, work a bit same like SharePoint Hosted App)

    • Explaining with e.g. If Admin. sell app to 100 persons
    • It create separate 100 azure websites for each client/user. However, this websites are hosted on Azure server.
    • Admin. do not have access on these azure websites.
    • No problem of multi-tenancy because each client have their own azure websites.
    • Real life example - Tower ( means Azure server) on lease having 5 floors (means Azure WebSites) given to 5 difference companies ( means SharePoint Apps) on each floor. Here, xyz owner (means Azure Admin.) owns the tower and 5 companies take each floor on lease. All companies have their dedicated space to run their jobs. Neither owner nor other company has access to enter company premises. Once on lease, owner don't have to worry on governing them. Company has to govern their premises include electricity, water, furniture, security, CCTV etc.

    Auto Hosted App

    No comments:

    Post a Comment