Software Alternatives & Reviews

A Developer's Guide to CQRS Using .NET Core and MediatR

JSON Placeholder Microsoft .NET Framework
  1. JSON Placeholder is a modern platform that provides you online REST API, which you can instantly use whenever you need any fake data.
    Using System; Using Application.Posts; Using Infrastructure.JsonPlaceholderApi; Using Microsoft.Extensions.Configuration; Using Microsoft.Extensions.DependencyInjection; Namespace Infrastructure { public static class DependencyInjection { public static IServiceCollection AddInfrastructure(this IServiceCollection services, IConfiguration configuration) { services.AddHttpClient("JsonPlaceholderClient", config => { config.BaseAddress = new Uri("https://jsonplaceholder.typicode.com/"); config.Timeout = TimeSpan.FromSeconds(30); }); services.AddTransient(); return services; } } }.

    #Development #Online Services #Web Browsers 123 social mentions

  2. Microsoft.
    As an alternative to creating everything from scratch, you may want to check out this repo before you start reading so you can follow along with all the examples. It’s based on .NET Core 3.1.

    #Developer Tools #Development Tools #Rapid Application Development 82 social mentions

Discuss: A Developer's Guide to CQRS Using .NET Core and MediatR

Log in or Post with