Skip to content

mariojsnunes/MediatorOrchardCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Experiment with using Mediator on an OrchardCore solution.

Two issues:

  1. Uncomment the following on Program.cs. It throws an error when resolving services like ShellSettings.
builder.Services.AddMediator(opts =>
{
    opts.ServiceLifetime = ServiceLifetime.Transient;
});
  1. If instead try to AddMediator on each Feature project, it will conflict with itself.
image

This second approach is how I have a working setup with MediatR.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published