RetailSolutions.Shared.Microservices 1.2.22

dotnet add package RetailSolutions.Shared.Microservices --version 1.2.22                
NuGet\Install-Package RetailSolutions.Shared.Microservices -Version 1.2.22                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RetailSolutions.Shared.Microservices" Version="1.2.22" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RetailSolutions.Shared.Microservices --version 1.2.22                
#r "nuget: RetailSolutions.Shared.Microservices, 1.2.22"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RetailSolutions.Shared.Microservices as a Cake Addin
#addin nuget:?package=RetailSolutions.Shared.Microservices&version=1.2.22

// Install RetailSolutions.Shared.Microservices as a Cake Tool
#tool nuget:?package=RetailSolutions.Shared.Microservices&version=1.2.22                

Introduction

Esta lib auxilia no setup dos microservices da Retail Solutions

Ela cont�m:

  • Serilog
  • Elasticsearch
  • Redis
  • RabbitMQ
  • Max Sistemas
  • Prime Builder
  • Dotenv
  • Oracle
  • Constants

appsettings.json Exemplo

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Information",
        "System": "Warning"
      }
    }
  },
  "ConnectionStrings": {
    "Gemco": "Data Source=localhost/ORCL;User Id=user;Password=changeme",
    "Redis": "localhost:6379"
  },
  "ElasticConfiguration": {
    "Enabled": false,
    "Uri": "",
    "User": "",
    "Password": ""
  },
  "EventBus": {
    "Connection": "",
    "Retry-Policy": 5
  },
  "MaxSistemas": {
    "BaseUrl": "",
    "BaseUrlUnificado": "",
    "Login": "",
    "Password": ""
  }
}

DotEnv Exemplo

DotEnv.Load();

Serilog Exemplo

builder.AddSerilog(builder.Configuration, APP_NAME);

Elasticsearch Exemplo

builder.Services.Configure<ElasticsearchConfiguration>(builder.Configuration.GetSection(Constants.ELASTICSEARCH_PROPERTY));
builder.AddElasticsearchClient();

Redis Exemplo

builder.AddRedisLock(builder.Configuration, APP_NAME);

RabbitMQ Exemplo

builder.AddEventBus(builder.Configuration, APP_NAME, null);

Max Sistemas Exemplo

builder.Services.Configure<MaxSistemasConfiguration>(builder.Configuration.GetSection(Constants.MAX_SISTEMAS_PROPERTY));
builder.AddMaxHttpClient();

Oracle Exemplo

OracleExtension.ConfigureOracleStartup();
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RetailSolutions.Shared.Microservices:

Package Downloads
RetailSolutions.Shared.Microservices.Gemco.Clientes

Esta lib auxilia na criação de clientes para os microservices da Retail Solutions

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.22 34 11/29/2024
1.2.20 87 11/13/2024
1.2.19 91 11/13/2024
1.2.17 116 11/7/2024
1.2.14 138 10/26/2024
1.2.12 98 10/25/2024
1.2.9 106 10/25/2024
1.2.8 75 10/25/2024
1.1.399 74 10/22/2024
1.1.379 163 10/8/2024
1.1.376 96 10/5/2024
1.1.375 90 10/5/2024
1.1.374 89 10/5/2024
1.1.360 115 9/27/2024
1.1.359 86 9/26/2024
1.1.344 93 9/20/2024
1.1.233 149 8/16/2024
1.1.226 273 8/13/2024
1.1.209 414 7/23/2024
1.1.208 78 7/23/2024
1.1.196 132 6/29/2024
1.1.177 369 6/16/2024
1.1.175 102 6/16/2024
1.1.174 108 6/15/2024
1.1.173 101 6/15/2024
1.1.172 111 6/15/2024
1.1.154 243 6/6/2024
1.1.152 105 6/5/2024
1.1.126 162 5/29/2024
1.1.125 102 5/29/2024
1.1.7 82 10/22/2024
1.0.0 102 5/28/2024
1.0.0-CI-20240528-144859 80 5/28/2024
1.0.0-CI-20240528-141614 82 5/28/2024