Skip to content

adessoTurkey-dotNET/Medesso

Repository files navigation

Medesso

GitHub issues Nuget GitHub contributors GitHub forks GitHub Repo stars Nuget GitHub

Medesso is a customized library inspired by MediatR library. We develop and use it in line with our needs.

How To Install

Install with Nuget:

install-package Medesso

NET Core command line:

dotnet add package Medesso

Configuration

var assemblies = GetAssemblies();
builder.Services.AddMedesso(assemblies);


static Assembly[] GetAssemblies()
{
    var path = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
            
    return Directory
        .GetFiles(path, "Medesso.Sample.*.dll", SearchOption.TopDirectoryOnly)
        .Select(AssemblyLoadContext.Default.LoadFromAssemblyPath)
        .ToArray();
}

Features:

  • Mediator implementation in .NET
  • Dependency-free in-process messaging.

Registers:

  • IMedessoMediator
  • IMedessoQueryHandler
  • IMedessoCommandHandler
  • IMedessoRequestPreProcessor
  • IMedessoRequestPostProcessor

License:

Distributed under the MIT License. See LICENSE.md for more information.

Contact: