Coder Social home page Coder Social logo

guijingting / communication-services-web-calling-wpf-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/communication-services-web-calling-wpf-sample

0.0 0.0 0.0 1.31 MB

Communication Services web application integrated into a desktop application.

License: MIT License

C# 8.80% Shell 0.07% HTML 2.18% CSS 23.25% JavaScript 65.71%

communication-services-web-calling-wpf-sample's Introduction

Project Name

ACS Calling Sample for WPF.

Features

This project framework provides the following features:

  • Uses the ACS Calling Web SDK inside of a desktop application.
  • This wpf sample uses WebView2 SDK.

Getting Started

Prerequisites

Installation

  1. git clone https://github.com/Azure-Samples/communication-services-web-calling-wpf-sample
  2. Get a connection string by provisioning an Azure Communication Services resource from the Azure portal. Use the connection string as value for key connectionString in /project/webapp/config.json
  3. cd project/webapp
  4. npm install
  5. npm run build
  6. npm run start and wait for server to start up, it will run in localhost:5000
  7. In the /project directory from the cloned reposity, open WpfApp.sln in Visual Studio
  8. From Visual Studio solution explorer, right click on the project solution (WpfApp.sln) and click on "Manage Nuget packages..." Manage Nuget packages
  9. From NuGet dialog, browse for Microsoft.Web.WebView2 (Make sure to check the "Include prerelease" box) and install version 0.9.579-prerelease Nuget Dialog
  10. Build and run the WPF app from Visual Studio and the WPF app should come up. This WPF app has two web views. In each web view you should see an ACS Calling web application Wpf App
  11. From either of the ACS Calling web applications:
    1. Copy and paste the User Identity into the other webapp's "Destination User Identity" input box
    2. Click on the "Place call" button for the caller to start the call. Enter User Identity to call
  12. The call will start ringing. Click on the "Accept" button from the callee side. Call Ringing
  13. The call will connect and both ACS Calling web application will be able to speak to each other Wpf Call

Troubleshooting

  1. If the WpfApp shows up blank, reinstall the Microsoft.Web.WebView2 SDK version 0.9.579-prerelease from the Nuget Package Manager dialogue (Right click on WpfApp solutions, then click "Manage NuGet Packages for Solution...").
  2. Please post any issues, and the ACS Calling team will reply and look into any issues as soon as possible: https://github.com/Azure-Samples/communication-services-web-calling-wpf-sample/issues

Resources

communication-services-web-calling-wpf-sample's People

Contributors

chriswhilar avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.