Giter VIP home page Giter VIP logo

Comments (10)

billba avatar billba commented on May 22, 2024

This idea is being discussed at increasing length over at microsoft/BotFramework-WebChat#243

from botframework-emulator.

forensicsguy20012004 avatar forensicsguy20012004 commented on May 22, 2024

has there been any movement on this?

from botframework-emulator.

eanders-ms avatar eanders-ms commented on May 22, 2024

@forensicsguy20012004 This feature is not on the Emulator roadmap currently. It would be good if you could provide information about your scenario.

from botframework-emulator.

ChrisMiskowiec avatar ChrisMiskowiec commented on May 22, 2024

@eanders-ms We have a web application which calls a bot using Direct Line. Currently our team cannot do local development along the full chain, because the direct line client calls out to the Bot Connector. It would be very helpful to have a way for the direct line client call to a local bot, via the emulator or some other endpoint, so that we can have our local web app call to our local bot.

from botframework-emulator.

gareththackeray avatar gareththackeray commented on May 22, 2024

@ChrisMiskowiec I'm using the Emulator in exactly this way. If I'm understanding you right you just need to:

  • connect to your locally-hosted bot in the emulator by entering a localhost URL
  • see what port the emulator is listening on from the hosted log
  • make directline calls to http://localhost:<emulator port>

There are issues open to make the port configurable from the command line; I've done this in a hacky way in my fork at https://github.com/gareththackeray/BotFramework-Emulator

from botframework-emulator.

SomaSharathSurya avatar SomaSharathSurya commented on May 22, 2024

Hi @gareththackeray ,

                  Can you please explain how to make direct line calls to  http://localhost: . Can we hit it in postman if so what are the request formats ?

Please help ! Thanks in advance .

from botframework-emulator.

gareththackeray avatar gareththackeray commented on May 22, 2024

@SomaSharathSurya I just updated my comment to show the emulator port should go after the :

The api reference is here https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-direct-line-3-0-api-reference

from botframework-emulator.

acwio avatar acwio commented on May 22, 2024

Just a quick follow-up per all of the above comments.

Will this particular item ever be added to the official roadmap? It's a pretty crucial piece of functionality for individuals who use the DirectLineAPI as their primary pathway for bot communication.

from botframework-emulator.

billba avatar billba commented on May 22, 2024

Here is a helpful workaround: https://www.npmjs.com/package/offline-directline

from botframework-emulator.

cwhitten avatar cwhitten commented on May 22, 2024

Closing, no plans to implement.

from botframework-emulator.

Related Issues (20)

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.