Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
SharePoint 2013 is a strong development platform for building solutions and apps addressing different requirements and needs.
There’s a plenty of documentation on MSDN and TechNet to get you started with building your first application and how to consume the different capabilities of the platform.
But one thing I struggled to find is when and why you would use a SharePoint App rather than using the object model?
This blog will walk you through that specific question and how to answer it.
Before we start there’s no rights or wrongs here, it all depends on what the customer needs and the best way to tackle the requirements
The first factor is where is my code being hosted?
If you are using the object model most of your code will be within the SharePoint host environment:
If you are using Apps:
So what difference does it make?
Apps are very different from solutions in that they run 100% outside of the SharePoint server, and their custom code executes either within the context of the client browser or on other servers that are not running SharePoint such as Web servers in the cloud.
There are three high-level types of SharePoint apps:
One explicit limitation of the SharePoint App Model is that server side code is explicitly prohibited from residing on the SharePoint farm as part of an App. Any server side code that is utilized in the context of an App must be hosted outside of SharePoint either in the cloud or on-premises.
The Cloud App Model provides a loosely coupled architecture for building Apps in SharePoint 2013. This loosely coupled architecture gives the freedom of choice for developers in the technologies they use to not only host their applications, but also the tools they use to write them. Apps can leverage industry web standards such as HTML, JavaScript, jQuery, JSON, REST, OData and OAuth to provide an integrated user experience.
Have a look at windows Azure Scalability options
https://www.microsoft.com/en-us/download/details.aspx?id=36837
Always develop Apps whenever it’s possible rather than developing a classic Full Trust or Partially trust solution.
Bear in mind that sandbox solutions are still supported but they will be deprecated.
But first understand that the client object models and the REST endpoints that are available in the App model do not duplicate all of the APIs of the server object model that are accessible in a classic SharePoint solution.
For more Information :
Reference documentation
Apps for SharePoint compared with SharePoint solutions
Choose the right API set in SharePoint 2013
https://msdn.microsoft.com/en-us/library/jj164060.aspx#Factors
SharePoint 2013 Development
https://msdn.microsoft.com/en-us/library/jj162979.aspx
Anonymous
March 31, 2013
Hi, the SharePoint Development Technology Decision Chart could help also to chose the right approach: www.fiechter.eu/.../Post.aspx
Anonymous
April 28, 2013
I have to push back against your approach, from an on Premise implementation, the use of APPS is not a good fit. Why, well Apps for on Premise environments have issues with Extranet's, SSL's and the big on, does not support AAM's.. Wow. be careful when architecting your solutions and understand scope and future planning, public facing sites with multiple Zones like WWW and Authoring will not support the App model.
Anonymous
May 19, 2013
On-premise apps work with both SSL and support AAM since the March 2013 public update. See the following links for instructions:
technet.microsoft.com/.../dn144963.aspx
technet.microsoft.com/.../fp161237.aspx (comments on SSL about halfway down the page)
Anonymous
February 16, 2014
information was good.<a href="http://staygreenacademy.com" >
Rozeena
</a>
Anonymous
October 07, 2014
Good one ..
Anonymous
January 10, 2015
APPS VS SOLUTIONS..... APPS ALWAYS PREFERABLE
Anonymous
November 08, 2015
Fantastic post. Clearly illustrate the use of App in SharePoint.
i would like to ask a question. App is isolated, running from a different web server. so when an app is being installed in a site collection and triggered, which account is being used to fulfill the triggered action? account i meant by SPAdmin or other service account used. Hope you can clarify my doubt.
thanks.
Anonymous
November 09, 2015
The comment has been removed
Anonymous
December 30, 2015
Nice Blog.. thanks..
gallery.technet.microsoft.com/.../App-Configuration-in-Dev-f6666c37
Anonymous
January 13, 2016
custom application development services help a modern-day enterprise keep pace. your own type getting it developed from a Software Application Developer.
Please sign in to use this experience.
Sign in