Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create an ASP.NET Web Application to be an Office 365 task pane AddIn

Even though C# and others are listed as a possible language, all of the samples I have found show how to create a task pane AddIn using HTML5/JavaScript only.

I've already gone through all of these:

  • How to: Create your first task pane app by using "Napa" Office 365 Development Tools
  • How to: Create a basic app for SharePoint by using "Napa" Office 365 Development Tools
  • How to: Create your first mail app for Outlook by using "Napa" Office 365 Development Tools
  • How to: Create your first content app for Excel by using "Napa" Office 365 Development Tools

and others, and they are all HTML5/JavaScript! Even the MSDN samples are HTML5/JavaScript only!

How can I have an ASP.NET Web Application talk to Office 365 so it can provide a task pane control and edit the selected text?

like image 412
David Thielen Avatar asked May 07 '13 20:05

David Thielen


Video Answer


1 Answers

Finally, I've made it! It is not difficult. Firstly you have to use Visual Studio. When you develop directly from browser, download and open that project in Visual Studio. You can follow this way to make very easy example

  1. Create HTML5/JavaScript application like in the 'How to' (first link)
  2. Add new ASPX page into the Home folder
  3. Open your App xml in the Solution folder
  4. Here you can change Source location to new ASPX web page
  5. Start application
like image 136
Milan Matějka Avatar answered Oct 20 '22 00:10

Milan Matějka