MS Botframework V4 (c#) Middleware does not get invoked when BotController Class is added

Gaurav Anand 6 Reputation points
2020-10-02T09:09:43.33+00:00

Middleware classes of chatbot made in Botframework V4 (c#) worked perfectly.

But, on upgrading Botbuilder and related packages, introduced BotController class / API Controller and now MiddleWare class is no longer invoked and BotController seems to be working as middleware.

-How do I fix this so that, the Middleware gets invoked despite BotController class / API Controller ?

-Would appreciate support as, am stuck with this for quite some time :(

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
833 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Gaurav Anand 1 Reputation point
    2020-10-12T07:19:30.663+00:00

    @YutongTie-5848

    Apologies for the delay. The have provided the solution in the following link where I had originally posted the question.

    • The HandOffMiddleware gets invoked after upgrading the Microsoft.Bot.Builder and related packages to Version 4.10.3
    • Click here for the solution

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.