Qualm 0.0.1

Library for quickly implementing common microservice patterns in .Net Standard.

There is a newer version of this package available.
See the version list below for details.
Install-Package Qualm -Version 0.0.1
dotnet add package Qualm --version 0.0.1
<PackageReference Include="Qualm" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Qualm --version 0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Qualm

A C# library for implementing common microservice patterns. It's focus is first-class support for .Net Standard patterns in order to make the implementations simple and maintainable. The library supports things like:

  • Command-Query Responsibility Segregation (CQRS)

  • Dependency Injection through IServiceCollection / Provider

  • Logging through ILogger<T>

  • First-class support for .Net Core standard features like logging in order to make implementations simple and maintainable

  • Async is the supported way to implement features

Getting Started

git clone https://github.com/Cyberkruz/qualm.git

Open src/Qualm.sln in Visual Studio. Build it.

Implementing Commands

Create a command:

public class TestCommand : ICommand
{
    public TestCommand()
    {
        Id = Guid.NewGuid();
    }

    public Guid Id { get; set; }

    public string Parameter { get; set; }
}

Now create the command handler for it.

public class TestCommandHandler : CommandHandler<TestCommand>
{
    public override async Task ExecuteAsync(TestCommand command, 
        CancellationToken cancellationToken = default(CancellationToken))
    {
        await Task.Run(() => command.CommandNumber = 20);
    }
}

Qualm

A C# library for implementing common microservice patterns. It's focus is first-class support for .Net Standard patterns in order to make the implementations simple and maintainable. The library supports things like:

  • Command-Query Responsibility Segregation (CQRS)

  • Dependency Injection through IServiceCollection / Provider

  • Logging through ILogger<T>

  • First-class support for .Net Core standard features like logging in order to make implementations simple and maintainable

  • Async is the supported way to implement features

Getting Started

git clone https://github.com/Cyberkruz/qualm.git

Open src/Qualm.sln in Visual Studio. Build it.

Implementing Commands

Create a command:

public class TestCommand : ICommand
{
    public TestCommand()
    {
        Id = Guid.NewGuid();
    }

    public Guid Id { get; set; }

    public string Parameter { get; set; }
}

Now create the command handler for it.

public class TestCommandHandler : CommandHandler<TestCommand>
{
    public override async Task ExecuteAsync(TestCommand command, 
        CancellationToken cancellationToken = default(CancellationToken))
    {
        await Task.Run(() => command.CommandNumber = 20);
    }
}

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.0.10 297 1/24/2019
0.0.9 122 1/24/2019
0.0.8 180 1/22/2019
0.0.7 233 12/27/2018
0.0.3 190 10/3/2018
0.0.2 190 10/2/2018
0.0.1 142 9/28/2018
Show less