App hosting


the different hosting options not clear me:

- sharepoint-hosted: option can access windows azure sql database containing data used app?
- autohosted: i suppose can use existing windows azure sql database storing/retrieving data in app? can the remote website hosted within 1 of 10 free windows azure websites?

thanks.

as long use client side code access database yes use sharepoint hosted app.

  • sharepoint hosted apps run in dynamically generated sharepoint site called app web.  since run on sharepoint server kind of coding can use client side code
  • provider hosted apps run on separate web site,called remote web, , surfaced in sharepoint using iframe.  since run in separate web site can use either client side or server side code in remote web site.
  • azure hosted apps provider hosted apps except separate web site in azure , azure hosted apps have functionality built-in automatically create remote web in azure.  like provider hosted apps can use either client side code or server side code.

so can access azure sql database using of apps, sharepoint hosted apps require doing through client side code.  so depends on how intend access database.


paul stork sharepoint server mvp
principal architect: blue chip consulting group
blog: http://dontpapanic.com/blog
twitter: follow @pstork
please remember mark question "answered" if solves problem.



SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'