Converting ASP.NET Web Applications into SharePoint Apps using Visual Studio 2013

Do you know that you you can convert your existing ASP.NET Web Application (Whether it’s Web Forms or MVC) into a Provider-Hosted SharePoint App in a few steps ? Yes, Visual Studio 2013 has this feature built-in. Nobody is talking about it though, Google it and you will find nothing!

So here are the steps :

1. Tailspin Toys is a large solution that has been built over the years, Tailspin.Web is an ASP.NET MVC Project for the web layer.

340

2. Right-click the asp.net application and choose “Convert” then choose “Convert to App for SharePoint Project

340-1

3. Enter the SharePoint Site URL for debugging.

340-2

4. Now the SharePoint App project is being created

340-3

5. Now that it has been created, press F5 to deploy & debug it.

340-4

6. Trust it ..

340-5

7. The app launches in the browser, note the URL.

340-6

8. Check the AppManifest of the Provider-hosted app.

340-7

 

340-8

Advertisements

2 thoughts on “Converting ASP.NET Web Applications into SharePoint Apps using Visual Studio 2013”

  1. It’s a great feature, and thank you to write about, but I have a question, where doese the sharepoint store the web pages of the deployed application, in content database or under a virtual directory created for the application ?

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s