Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

[C#][Bot-Solutions] Rehome used services of Microsoft.Bot.Configuration to Microsoft.Bot.Solutions in Services folder #3618

Conversation

Batta32
Copy link
Collaborator

@Batta32 Batta32 commented Aug 13, 2020

Fixes #3617

Purpose

What is the context of this pull request? Why is it being done?
With the new Microsoft.Bot.Builder@4.10.0 packages, the LuisService class has been deprecated so Bot-Solutions doesn't build as it runs into a "LuisService is obsolete: This class is deprecated" error.

Changes

Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)
Rehome the used Services of Microsoft.Bot.Configuration to Microsoft.Bot.Solutions:

Tests

Is this covered by existing tests or new ones? If no, why not?
We tested the C# solutions, after apply this fix, manually and worked as expected.

Successfully communication in Emulator
image

Feature Plan

Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.
-

Checklist

General

  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the appropriate tests
  • I have updated related documentation

@peterinnesmsft
Copy link
Contributor

Hey @Batta32, I'm not sure the right path forward on this one is to mark these properties as obsolete. I'm assuming we are still ultimately need these in the current Virtual Assistant. If there's an alternative to LuisService that we are intended to be using, then I think we should figure out what that is. Let's discuss and we can figure out a path forward with the SDK team.

Copy link
Contributor

@peterinnesmsft peterinnesmsft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's talk to the SDK team first - would like to understand if there is an intended alternative to LuisService if it's been marked as deprecated in the SDK.

@Batta32
Copy link
Collaborator Author

Batta32 commented Aug 14, 2020

@peterinnesmsft - Sure! At the meantime, I'll change this PR to draft and we will review another alternatives with the team 😊.

@Batta32 Batta32 marked this pull request as draft August 14, 2020 12:13
@Batta32 Batta32 changed the title [C#][Bot-Solutions] Add System.Obsolete in the LuisService implementation of BotSettingsBase [C#][Bot-Solutions] Rehome used services of Microsoft.Bot.Configuration to Microsoft.Bot.Solutions in Services folder Aug 19, 2020
@Batta32
Copy link
Collaborator Author

Batta32 commented Aug 19, 2020

@peterinnesmsft - we finished doing the rehome of the used services of Microsoft.Bot.Configuration to Microsoft.Bot.Solutions . We will move this PR ready to be merged!

@Batta32 Batta32 marked this pull request as ready for review August 19, 2020 21:01
@peterinnesmsft peterinnesmsft added the Language: C# This issue is specifically related to C# implementations. label Sep 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Language: C# This issue is specifically related to C# implementations. PR: merged PR: reviewed-approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C#][Bot-Solutions] Avoid use of the Deprecated LuisServices class
5 participants