Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

    Advertisements
  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand
  • Advertisements

SharePoint Hosted App

Posted by Paul on April 24, 2015


In this article we can quickly create a SharePoint Hosted App on SharePoint 2013 On-Premises.

About SharePoint Hosted App

SharePoint Hosted App (SHA) will have all components deployed to SharePoint server. Optionally there can be JavaScript components running in the client side.

App Pre-Requisites

You should have the following pre-requisites done to create a SharePoint Hosted App.

http://www.jeanpaulva.com/index.php/2015/04/25/app-development-pre-requisites/

Steps

Open Visual Studio 2013 in Administrator mode. Choose New Project > SharePoint > App for SharePoint 2013 option as shown below.

image

In the next dialog choose the SharePoint-hosted app option.

image

You will get the following items created in Solution Explorer.

image

Examining the Content

The Page default.aspx is the main page.

image

The page displays a Hello message with the current user name. The current user name is displayed using a JavaScript which you can find in the App.js.

image

References

https://msdn.microsoft.com/en-us/library/office/fp179930.aspx

Summary

In this article we have seen how to create a SharePoint Hosted App.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s