How to create an App for SharePoint

This article shows you how to create App for SharePoint.

This article expect you to know ASP.NET Web Forms Application.

I am using Visual Studio 2013 for this article.

  1. Start Visual Studio. Select FILE -> New -> Project…
  2. Select App for SharePoint template. Click OK.


App for SharePoint

3.      Type in the Office 365 SharePoint URL. Choose Provider-Host. Click Next.

Image 2

4.      I choose ASP.NET Web Forms Application. Click Next.

Image 3

5. Choose Use a certificate (for SharePoint on-premises apps using high-trust). Type in password then click Finish.

I describe how I obtained the cer file here https://chanmingman.wordpress.com/2015/07/11/create-high-trust-apps-for-sharepoint-2013/.

Image 4

6.      Office 365 will prompt you for Authentication. Type your authentication then click Sign In.

IMAGE 5

Now the Deafult.aspx page display for you.

  1. Drag a Label, Textbox, and Button Web Control into the aspx page.
I MAGE 6
8.      Add the code into the Button click Event.
I MAGE 7
Now you can run the application. Click Trust it if your Office 365 SharePoint prompt you this button.

About the Author:    Ming Man Chan

 

Ming Man is Microsoft MVP since year 2006. He is a software development manager for a multinational company.  With 25 years of experience in the IT field, he has developed system using Clipper, COBOL, VB5, VB6, VB.NET, Java and C #. He has been using Visual Studio (.NET) since the Beta back in year 2000.  He and the team have developed many projects using .NET platform supporting different key functional areas in the organizations such as engineering, sales, and marketing. He is familiar with the architecture  design of business application and is also an expert with database experience in MS SQL, Oracle and AS 400. He is familiar Application Life Cycle  Management using the Agile and CMMI methodology.
Ming Man is Microsoft MVP since year 2006. He is a software development manager for a multinational company. With 25 years of experience in the IT field, he has developed system using Clipper, COBOL, VB5, VB6, VB.NET, Java and C #. He has been using Visual Studio (.NET) since the Beta back in year 2000.  He and the team have developed many projects using .NET platform supporting different key functional areas in the organizations such as engineering, sales, and marketing. He is familiar with the architecture design of business application and is also an expert with database experience in MS SQL, Oracle and AS 400. He is familiar Application Life Cycle Management using the Agile and CMMI methodology.
Share this on...

Rate this Post:

Share: