Skip to content

Kernel handling in mulit chat/service solution #8104

Closed Answered by dmytrostruk
akordowski asked this question in Q&A
Discussion options

You must be logged in to vote

@akordowski I think you can create a new Kernel instance for each chat and configure it respectively. We have AddKernel extension method for IServiceCollection, where we register it as Transient for exactly the same purpose, so in different places in your application you can configure your Kernel in unique way by adding different set of plugins, filters, data etc:

// Register a KernelPluginCollection to be populated with any IKernelPlugins that have been
// directly registered in DI. It's transient because the Kernel will store the collection
/…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants