Skip to content

Commit

Permalink
[Chat] Added Sample For File Sharing (#157)
Browse files Browse the repository at this point in the history
refactor existing interop samples into one solution files and added a new project for file sharing
  • Loading branch information
jpeng-ms authored Apr 17, 2024
1 parent 30c4512 commit a56f0b4
Show file tree
Hide file tree
Showing 49 changed files with 902 additions and 111 deletions.

This file was deleted.

162 changes: 103 additions & 59 deletions ChatTeamsInteropQuickStart/ChatTeamsInteropQuickStart.sln
Original file line number Diff line number Diff line change
@@ -1,59 +1,103 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34309.116
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChatTeamsInteropQuickStart", "ChatTeamsInteropQuickStart.csproj", "{704D7753-FAC6-4A15-8E2D-15DCC270A29A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM.ActiveCfg = Debug|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM.Build.0 = Debug|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM.Deploy.0 = Debug|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM64.ActiveCfg = Debug|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM64.Build.0 = Debug|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM64.Deploy.0 = Debug|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x64.ActiveCfg = Debug|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x64.Build.0 = Debug|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x64.Deploy.0 = Debug|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x86.ActiveCfg = Debug|Win32
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x86.Build.0 = Debug|Win32
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x86.Deploy.0 = Debug|Win32
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|Any CPU.Build.0 = Release|Any CPU
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|Any CPU.Deploy.0 = Release|Any CPU
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM.ActiveCfg = Release|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM.Build.0 = Release|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM.Deploy.0 = Release|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM64.ActiveCfg = Release|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM64.Build.0 = Release|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM64.Deploy.0 = Release|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x64.ActiveCfg = Release|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x64.Build.0 = Release|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x64.Deploy.0 = Release|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x86.ActiveCfg = Release|Win32
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x86.Build.0 = Release|Win32
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x86.Deploy.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4058607D-0757-45A8-8382-60765A228BD5}
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.8.34309.116
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChatTeamsInteropQuickStart", "src\ChatTeamsInteropQuickStart\ChatTeamsInteropQuickStart.csproj", "{704D7753-FAC6-4A15-8E2D-15DCC270A29A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChatTeamsInteropInlineImageQuickStart", "src\ChatTeamsInteropInlineImageQuickStart\ChatTeamsInteropInlineImageQuickStart.csproj", "{418083DC-5EFD-4ED2-81BF-0F76B5D31696}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChatTeamsInteropFileSharingQuickStart", "src\ChatTeamsInteropFileSharingQuickStart\ChatTeamsInteropFileSharingQuickStart.csproj", "{3023CB60-8CE9-4DF2-98DA-5AE11B756245}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM.ActiveCfg = Debug|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM.Build.0 = Debug|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM.Deploy.0 = Debug|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM64.ActiveCfg = Debug|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM64.Build.0 = Debug|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|ARM64.Deploy.0 = Debug|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x64.ActiveCfg = Debug|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x64.Build.0 = Debug|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x64.Deploy.0 = Debug|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x86.ActiveCfg = Debug|x86
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x86.Build.0 = Debug|x86
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Debug|x86.Deploy.0 = Debug|x86
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM.ActiveCfg = Release|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM.Build.0 = Release|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM.Deploy.0 = Release|ARM
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM64.ActiveCfg = Release|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM64.Build.0 = Release|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|ARM64.Deploy.0 = Release|ARM64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x64.ActiveCfg = Release|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x64.Build.0 = Release|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x64.Deploy.0 = Release|x64
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x86.ActiveCfg = Release|x86
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x86.Build.0 = Release|x86
{704D7753-FAC6-4A15-8E2D-15DCC270A29A}.Release|x86.Deploy.0 = Release|x86
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|ARM.ActiveCfg = Debug|ARM
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|ARM.Build.0 = Debug|ARM
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|ARM.Deploy.0 = Debug|ARM
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|ARM64.ActiveCfg = Debug|ARM64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|ARM64.Build.0 = Debug|ARM64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|ARM64.Deploy.0 = Debug|ARM64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|x64.ActiveCfg = Debug|x64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|x64.Build.0 = Debug|x64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|x64.Deploy.0 = Debug|x64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|x86.ActiveCfg = Debug|x86
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|x86.Build.0 = Debug|x86
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Debug|x86.Deploy.0 = Debug|x86
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|ARM.ActiveCfg = Release|ARM
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|ARM.Build.0 = Release|ARM
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|ARM.Deploy.0 = Release|ARM
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|ARM64.ActiveCfg = Release|ARM64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|ARM64.Build.0 = Release|ARM64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|ARM64.Deploy.0 = Release|ARM64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|x64.ActiveCfg = Release|x64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|x64.Build.0 = Release|x64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|x64.Deploy.0 = Release|x64
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|x86.ActiveCfg = Release|x86
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|x86.Build.0 = Release|x86
{418083DC-5EFD-4ED2-81BF-0F76B5D31696}.Release|x86.Deploy.0 = Release|x86
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|ARM.ActiveCfg = Debug|ARM
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|ARM.Build.0 = Debug|ARM
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|ARM.Deploy.0 = Debug|ARM
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|ARM64.ActiveCfg = Debug|ARM64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|ARM64.Build.0 = Debug|ARM64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|ARM64.Deploy.0 = Debug|ARM64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|x64.ActiveCfg = Debug|x64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|x64.Build.0 = Debug|x64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|x64.Deploy.0 = Debug|x64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|x86.ActiveCfg = Debug|x86
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|x86.Build.0 = Debug|x86
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Debug|x86.Deploy.0 = Debug|x86
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|ARM.ActiveCfg = Release|ARM
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|ARM.Build.0 = Release|ARM
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|ARM.Deploy.0 = Release|ARM
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|ARM64.ActiveCfg = Release|ARM64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|ARM64.Build.0 = Release|ARM64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|ARM64.Deploy.0 = Release|ARM64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|x64.ActiveCfg = Release|x64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|x64.Build.0 = Release|x64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|x64.Deploy.0 = Release|x64
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|x86.ActiveCfg = Release|x86
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|x86.Build.0 = Release|x86
{3023CB60-8CE9-4DF2-98DA-5AE11B756245}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {4058607D-0757-45A8-8382-60765A228BD5}
EndGlobalSection
EndGlobal
37 changes: 37 additions & 0 deletions ChatTeamsInteropQuickStart/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
page_type: sample
languages:
- csharp
products:
- azure
- azure-communication-services
- communication-chat
---

# Chat Teams Interop QuickStart

This quickstart contains samples for the following tutorials:
- [Join your chat app to a Teams meeting](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/chat/meeting-interop?pivots=platform-windows)
- [Enable inline image support in your Chat app](https://learn.microsoft.com/en-us/azure/communication-services/tutorials/chat-interop/meeting-interop-features-inline-image?pivots=programming-language-csharp)
- [Enable file attachment support in your Chat app](https://learn.microsoft.com/en-us/azure/communication-services/tutorials/chat-interop/meeting-interop-features-file-attachment?pivots=programming-language-csharp)

## Prerequisites

* A [Teams deployment](/deployoffice/teams-install).
* An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
* Install [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) with Universal Windows Platform development workload.
* A deployed Communication Services resource. [Create a Communication Services resource](../../create-communication-resource.md).
* A Teams Meeting Link.

## Code Structure

- **src\ChatTeamsInteropQuickStart:** Sample code to showcase how you can join a Teams chat using the Chat SDK.
- **src\ChatTeamsInteropInlineImageQuickStart:** Sample code to showcase how you can enable inline image support in a Teams Interoperability Chat.
- **src\ChatTeamsInteropFileSharingQuickStart:** Sample code to showcase how you can enable file sharing support in a Teams Interoperability Chat.

## Run Locally

1. Open `ChatTeamsInteropQuickStart.sln` in in Visual Studio
2. Choose a sample and set it as startup project
3. In `MainPage.xaml.cs`, provide required `connectionString_`
4. Run the application
Loading

0 comments on commit a56f0b4

Please sign in to comment.