RetailSolutions.Shared.Microservices 1.2.12

There is a newer version of this package available.
See the version list below for details.
dotnet add package RetailSolutions.Shared.Microservices --version 1.2.12                
NuGet\Install-Package RetailSolutions.Shared.Microservices -Version 1.2.12                
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.12" />                
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.12                
#r "nuget: RetailSolutions.Shared.Microservices, 1.2.12"                
#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.12

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

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 0 11/29/2024
1.2.20 85 11/13/2024
1.2.19 89 11/13/2024
1.2.17 114 11/7/2024
1.2.14 136 10/26/2024
1.2.12 96 10/25/2024
1.2.9 104 10/25/2024
1.2.8 73 10/25/2024
1.1.399 72 10/22/2024
1.1.379 161 10/8/2024
1.1.376 94 10/5/2024
1.1.375 88 10/5/2024
1.1.374 87 10/5/2024
1.1.360 113 9/27/2024
1.1.359 84 9/26/2024
1.1.344 91 9/20/2024
1.1.233 147 8/16/2024
1.1.226 271 8/13/2024
1.1.209 412 7/23/2024
1.1.208 76 7/23/2024
1.1.196 130 6/29/2024
1.1.177 367 6/16/2024
1.1.175 100 6/16/2024
1.1.174 106 6/15/2024
1.1.173 99 6/15/2024
1.1.172 109 6/15/2024
1.1.154 241 6/6/2024
1.1.152 103 6/5/2024
1.1.126 160 5/29/2024
1.1.125 100 5/29/2024
1.1.7 80 10/22/2024
1.0.0 100 5/28/2024
1.0.0-CI-20240528-144859 80 5/28/2024
1.0.0-CI-20240528-141614 82 5/28/2024