Forum Discussion

Lakshmi_145's avatar
Lakshmi_145
Iron Contributor
Dec 21, 2022

Alternative method for using Middleware in CloudAdapter

In BotFrameworkAdapter ,we have method called 'Use(IMiddleware middleware)' to add middleware to adapter pipeline. We were able to use this method to unit test the middleware functions.

 

Now we have upgraded to .Net 6 and now using Cloud Adapter. But in this one we couldn't found any method to pass middleware object  for unit testing.

 

Is there any alternative method to add middleware object to adapter pipeline in Cloud Adapter 

5 Replies

Resources