Code samples for the Microsoft Teams developer platform
2 minutes to read
Here you will find a list of code samples that demonstrate various capabilities of the Microsoft Teams development platform and how to build apps to leverage those features.
To download our samples from GitHub:
Open the project in GitHub
Choose the Clone or download button and copy the URL
Open a command prompt in the parent directory into which you want to install the sample project
Run git clone <pasted url>
For .NET/C# samples
Each of our .NET samples includes a Visual Studio solution file that can build the solution fully, including restoring the NuGet packages.
For Node.js samples
We provide a packages.json file that lists all required packages for a sample. Simply run npm install from the command line in your Node.js project directory to install the required packages. You're now ready to open the project in Visual Studio Code and start experimenting.
For other samples
As always, the project's README file should have more information on specific needs for specific samples.
This project is meant to help a Teams developers in two ways. First, it shows many examples of how an app can integrate into Teams. Second, it gives a set of patterns, templates, and tools that can be used as a starting point for creating a larger, scalable, more enterprise level app to work within Teams.
Source code for the //build 2017 session to add a weather tab to the skeleton app generated earlier in the session
The feedback system for this content will be changing soon. Old comments will not be carried over. If content within a comment thread is important to you, please save a copy. For more information on the upcoming change, we invite you to read our blog post.