Skip to content

Files

Latest commit

 

History

History
39 lines (26 loc) · 1.27 KB

File metadata and controls

39 lines (26 loc) · 1.27 KB

Developing and debugging a tab locally

Prerequisites

The following tools should be installed.

  1. dotnet
  2. node
  3. npm

Steps

  • Install ngrok from https://ngrok.com/

  • Run ngrok.exe http 5000, because our project will listen on port 5000.

  • Copy the ngrok url(https). ngrok

  • Open the manifest.json file, and update it accordingly using copied url. manifest.json

  • Compress files 'manifest.json' & 'icon-outline.png' & 'icon-color.png' into a file named manifest.zip. The zip file will be uploaded to Teams. manifest.zip

  • Run dotnet new teamstabs to generate the project.

  • Run command to start the server.

    1. dotnet build

    2. dotnet run

  • Open Microsoft Teams, create a Tab.

    1. Navigate to 'Apps' tab in a certain team.
    2. Click 'Upload a custom app' at the right bottom corner of the page.
    3. Select manifest.zip and click Open. UploadACustomApp
  • Click "MSTeamsTab" app uploaded just now, And set it up for a certain channel. Tab