microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

New dependencies on OWIN, HttpListener and WebAPI

Open
#652 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

With previous version of the media bot SDK, the process running the SDK also needs to expose an HTTPS endpoint in order to receive notifications from the Microsoft Teams' servers regarding any updates happening inside the call (e.g., participants joining and leaving, the meeting ending, etc.).

For example, the IncidentBot sample is using the now deprecated Microsoft.AspNetCore package to create a web host and MVC controllers to process the notifications.

With the release of the SDK version 1.26.0.94, the .NET Framework version now has multiple new dependencies:

  • Microsoft.AspNet.WebApi.Client (>= 5.2.7)
  • Microsoft.AspNet.WebApi.Core (>= 5.2.7)
  • Microsoft.AspNet.WebApi.Owin (>= 5.2.7)
  • Microsoft.Owin (>= 4.2.2)
  • Microsoft.Owin.Host.HttpListener (>= 4.2.2)
  • Microsoft.Owin.Hosting (>= 4.2.2)
  • Unity (>= 5.11.10)

Leaving aside the Unity container, the rest of the dependencies seem to indicate that the SDK is now able to start a self-hosted WebAPI inside the bot process. What I'm interested in is if the SDK now provides a way of running this HTTPS endpoint by itself, or if the process still needs to implement this endpoint? If not, then what is the purpose of those new SDK dependencies?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with IncidentWindowsService.cs and Controllers/PlatformCallController.cs in the IncidentBot sample, then compare the SDK 1.26.0.94 dependency list. Confirm whether the SDK exposes the HTTPS notification endpoint or leaves it to the host process, and document the purpose of the listed dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.