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

Archive for April, 2016

Configure Zone

Posted by Paul on April 15, 2016

This is a part of the article-series:

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

Configure Zone

As part of Configuring App Domain, We need to create a Forward Lookup Zone.

Forward Lookup Zone

Forward Lookup Zone will use a Domain Name to find the IP Address.  In our case we need an App Domain Name.

Open DNS Manager.

image

Expand the Server > Forward Lookup Zone and choose New Zone.

image

Choose the Primary Zone which is default.

image

Leave the defaults in next pages too.

image

Enter the Zone name.  You can choose yours.  Mine is as following:

  • Machine name is sharepoint
  • Domain name is windows.net
  • App Domain name is sharepointapps.net

We need to enter the App Domain name as the Zone Name.

image

You can complete the wizard.

image

You will see the new zone name created in the left pane.  Right click on it to create the CNAME (Canonical Name is Aliasing an existing Domain name)

image

In the properties enter as following.  Here we are using sharepointapps.net as an alias pointing to sharepoint.windows.net which is the original computer fqdn name.

image

Note This step is very crucial.  Any wrong entry would cause the Apps to behave weird.

Advertisements

Posted in SharePoint, SharePoint 2013 | Leave a Comment »

Test SHA

Posted by Paul on April 7, 2016

This post is part of the article-series:

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

Test SHA

In this post we can test the SharePoint Hosted App.

Following are the pre-requisites:

  • Create an App User
  • Zone should be configured
  • Apps should be Configured
  • Internet Explorer is required

Deploy

Right click on the solution & Deploy the App.

image


Viewing

You can view the App by logging into the SharePoint site as the App User.

You will see the App is displayed in the Quick Launch.

image

Clicking on it will get you get the Login prompt.

image

Enter the credentials and you will get the app launched.

image

Note

You may get repeated Login prompts if the Zones are configured in a wrong way.

Posted in SharePoint, SharePoint 2013 | Leave a Comment »