Building an App for Office in 7 minutes

When I speak to developers about building Apps for Office, I’ll often build an end-to-end app from scratch to illustrate the ease in development. I can usually mock up most scenarios in 5-20min. How so quick? Apps for Office leverage standard web technologies like HTML5, JavaScript, and CSS, making most web developers an instant Office developer. I've had such success building apps on the fly that I thought I'd use this post to record that demonstration. The app I'll build is called “Rhymes for Word”, a simple task pane app that:

  • Subscribes to selection changes in the Word document
  • Reads text selections from a Word document when they change
  • Queries an online service for rhymes to display in the task pane
  • Allows the user to write a rhyme back into the word document

Although it is silly scenario, it illustrates several key concepts of Office apps. I've listed rhyme service endpoint, you you are welcome to follow along and build your own app.

[View:https://www.youtube.com/watch?v=qkdryPVk0R0]

If you want to build the Rhymes for Word app on your own, you are welcome to use my rhyme service and follow the video OR download the complete solution:

Rhyme Service:
https://rhymeservice.azurewebsites.net/Rhymes.svc/GetRhymes?text=WORD

Completed Solution:
https://1drv.ms/18ArOUo