Microsoft.Bot.Connector.DirectLine Support in .NET MAUI

Viewed 29

I am converting my Xamarin Forms Application to .NET MAUI.

In existing app we have used Microsoft.Bot.Connector.DirectLine(3.0.2) for using the Bot Framework Direct Line REST API.

Is Microsoft.Bot.Connector.DirectLine package supported in .net MAUI?

In the Microsoft.Bot.Connector.DirectLine Nuget Link I don't see the net6.0 as the compatible target framework. enter image description here
If it's not supported is there any alternative package?

Any help is appreciated!

1 Answers

This is an old package which hasn't been updated since 2017. It likely doesn't support .NET 6.0 and probably won't be updated to support it.

The good news is that you do not need this package to communicate with a bot over Direct Line. You can use .NET Standard Library objects (such as HttpClient) to communicate with Direct Line as you would any other REST API. There may be other libraries and frameworks you could use as well.

See the Direct Line 3.0 Documentation to see how to use the API.

Related