Skip to content

Commit

Permalink
[REFACTOR] Refactoring extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kallebelins committed Dec 26, 2023
1 parent a0ce5f2 commit 8654ecd
Show file tree
Hide file tree
Showing 33 changed files with 63 additions and 59 deletions.
2 changes: 1 addition & 1 deletion docs/_footer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@

---

Version 3.12.261. [.NET Core 3.1](https://docs.microsoft.com/pt-br/dotnet/core/whats-new/dotnet-core-3-1). Maintained by [@kallebelins](https://www.linkedin.com/in/kallebelins). Proudly published with [Docsify](https://docsify.js.io).
Version 3.12.262. [.NET Core 3.1](https://docs.microsoft.com/pt-br/dotnet/core/whats-new/dotnet-core-3-1). Maintained by [@kallebelins](https://www.linkedin.com/in/kallebelins). Proudly published with [Docsify](https://docsify.js.io).
2 changes: 1 addition & 1 deletion docs/en-us/broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### Installation
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure.RabbitMQ -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.RabbitMQ -Version 3.12.262
```


Expand Down
4 changes: 2 additions & 2 deletions docs/en-us/database/nosql.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You will be able to use direct database connection, which is not recommended. Ac
```csharp
/// Package Manager Console >
Install-Package MongoDB.Driver -Version 2.13.2
Install-Package Mvp24Hours.Infrastructure.Data.MongoDb -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.MongoDb -Version 3.12.262
```
#### Configuration
```csharp
Expand Down Expand Up @@ -78,7 +78,7 @@ You can use structural configuration or connection string.
#### Installation
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure.Caching.Redis -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Caching.Redis -Version 3.12.262
```

#### Configuration
Expand Down
6 changes: 3 additions & 3 deletions docs/en-us/database/relational.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You will be able to use direct database connection, which is not recommended. Ac
/// Package Manager Console >
Install-Package Microsoft.Extensions.DependencyInjection -Version 6.0.0
Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 5.0.10
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.262
```
### Configuration
```csharp
Expand Down Expand Up @@ -54,7 +54,7 @@ Data Source=.,1433;Initial Catalog=MyTestDb;Persist Security Info=True;User ID=s
/// Package Manager Console >
Install-Package Microsoft.Extensions.DependencyInjection -Version 6.0.0
Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 5.0.10
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.262
```
### Configuration
```csharp
Expand Down Expand Up @@ -89,7 +89,7 @@ Host=localhost;Port=5432;Pooling=true;Database=MyTestDb;User Id=postgres;Passwor
/// Package Manager Console >
Install-Package Microsoft.Extensions.DependencyInjection -Version 6.0.0
Install-Package MySql.EntityFrameworkCore -Version 5.0.8
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.262
```
### Configuration
```csharp
Expand Down
2 changes: 1 addition & 1 deletion docs/en-us/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Swagger allows you to easily document your RESTful API by sharing with other dev
### Installation
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.WebAPI -Version 3.12.261
Install-Package Mvp24Hours.WebAPI -Version 3.12.262
```

### Configuration
Expand Down
5 changes: 4 additions & 1 deletion docs/en-us/home.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img style="vertical-align:middle" width="42" height="42" src="/_media/icon.png" alt="Mvp24Hours" /> Mvp24Hours (v3.12.261)
# <img style="vertical-align:middle" width="42" height="42" src="/_media/icon.png" alt="Mvp24Hours" /> Mvp24Hours (v3.12.262)


This project was developed to contribute to the rapid construction of services. I used the reference of solutions for building microservices.
Expand Down Expand Up @@ -46,6 +46,9 @@ Be a sponsor by choosing this project to accelerate your products.

## Release

### 3.12.262
* Refactoring extensions.

### 3.12.261
* Middleware test implementation.

Expand Down
2 changes: 1 addition & 1 deletion docs/en-us/mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### Installation
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure -Version 3.12.262
```

### Configuration
Expand Down
2 changes: 1 addition & 1 deletion docs/en-us/pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ It is a design pattern that represents a tube with several operations (filters),
## Installation
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure.Pipe -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Pipe -Version 3.12.262
```

## Configuration
Expand Down
2 changes: 1 addition & 1 deletion docs/en-us/release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# What's new?

## v3.12.261
## v3.12.262
* Refactoring to migrate json file settings to fluent extensions;
* Replacement of the notification pattern;
* Review of templates;
Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### Instalação
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure.RabbitMQ -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.RabbitMQ -Version 3.12.262
```

### Configuração Básica
Expand Down
4 changes: 2 additions & 2 deletions docs/pt-br/database/nosql.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Você poderá usar a conexão de banco de dados direto, o que não é recomendad
/// Package Manager Console >
Install-Package MongoDB.Driver -Version 2.13.2
Install-Package Mvp24Hours.Infrastructure.Data.MongoDb -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.MongoDb -Version 3.12.262
```
#### Configuração
```csharp
Expand Down Expand Up @@ -80,7 +80,7 @@ Você poderá usar configuração estrutural ou string de conexão.
#### Instalação
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure.Caching.Redis -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Caching.Redis -Version 3.12.262
```

#### Configuração
Expand Down
6 changes: 3 additions & 3 deletions docs/pt-br/database/relational.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Você poderá usar a conexão de banco de dados direto, o que não é recomendad
Install-Package Microsoft.Extensions.DependencyInjection -Version 6.0.0
Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 5.0.10
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.262
```
### Configuração
```csharp
Expand Down Expand Up @@ -55,7 +55,7 @@ Data Source=.,1433;Initial Catalog=MyTestDb;Persist Security Info=True;User ID=s
Install-Package Microsoft.Extensions.DependencyInjection -Version 6.0.0
Install-Package Npgsql.EntityFrameworkCore.PostgreSQL -Version 5.0.10
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.262
```
### Configuração
```csharp
Expand Down Expand Up @@ -91,7 +91,7 @@ Host=localhost;Port=5432;Pooling=true;Database=MyTestDb;User Id=postgres;Passwor
Install-Package Microsoft.Extensions.DependencyInjection -Version 6.0.0
Install-Package MySql.EntityFrameworkCore -Version 5.0.8
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Data.EFCore -Version 3.12.262
```
### Configuração
```csharp
Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ O Swagger permite você documentar facilmente sua API RESTful compartilhando com
### Instalação
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.WebAPI -Version 3.12.261
Install-Package Mvp24Hours.WebAPI -Version 3.12.262
```

### Configuração
Expand Down
5 changes: 4 additions & 1 deletion docs/pt-br/home.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img style="vertical-align:middle" width="42" height="42" src="/_media/icon.png" alt="Mvp24Hours" /> Mvp24Hours (v3.12.261)
# <img style="vertical-align:middle" width="42" height="42" src="/_media/icon.png" alt="Mvp24Hours" /> Mvp24Hours (v3.12.262)
Este projeto foi desenvolvido para contribuir com a construção rápida de serviços. Usei a referência de soluções para construção de microserviços.

## Características
Expand Down Expand Up @@ -43,6 +43,9 @@ Seja um patrocinador escolhendo este projeto para acelerar seus produtos.

## Release

### 3.12.262
* Refatoração de extensões.

### 3.12.261
* Implementação de teste de middleware.

Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### Instalação
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure -Version 3.12.262
```

### Configuração
Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/pipeline.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Instalação
```csharp
/// Package Manager Console >
Install-Package Mvp24Hours.Infrastructure.Pipe -Version 3.12.261
Install-Package Mvp24Hours.Infrastructure.Pipe -Version 3.12.262
```

## Configuração
Expand Down
2 changes: 1 addition & 1 deletion docs/pt-br/release.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# O que há de novo?

## v3.12.261
## v3.12.262
* Refatoração para migrar configurações de arquivo json para extensões fluentes;
* Substituição do padrão de notificação;
* Revisão dos templates;
Expand Down
6 changes: 3 additions & 3 deletions src/Mvp24Hours.Application/Mvp24Hours.Application.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Mvp24Hours.Core/Extensions/Data/QueryableExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Linq.Expressions;
using System.Reflection;

namespace Mvp24Hours.Extensions.Data
namespace Mvp24Hours.Extensions
{
/// <summary>
///
Expand Down
2 changes: 1 addition & 1 deletion src/Mvp24Hours.Core/Extensions/TelemetryExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Mvp24Hours.Helpers;
using System;

namespace Mvp24Hours.Core.Extensions
namespace Mvp24Hours.Extensions
{
public static class TelemetryExtensions
{
Expand Down
6 changes: 3 additions & 3 deletions src/Mvp24Hours.Core/Mvp24Hours.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using Mvp24Hours.Core.Contract.ValueObjects.Logic;
using Mvp24Hours.Core.Enums.Infrastructure;
using Mvp24Hours.Extensions;
using Mvp24Hours.Extensions.Data;
using Mvp24Hours.Helpers;
using Mvp24Hours.Infrastructure.Data.EFCore.Configuration;
using System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using System.Text.RegularExpressions;
using System.Threading.Tasks;

namespace Rottur.Shared.Infrastructure.Extensions
namespace Mvp24Hours.Extensions
{
public static class DatabaseExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using Mvp24Hours.Core.Entities;
using Mvp24Hours.Core.Enums.Infrastructure;
using Mvp24Hours.Extensions;
using Mvp24Hours.Extensions.Data;
using Mvp24Hours.Helpers;
using Mvp24Hours.Infrastructure.Data.MongoDb.Configuration;
using System;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//=====================================================================================
using System.Diagnostics;

namespace Mvp24Hours.Infrastructure.Extensions
namespace Mvp24Hours.Extensions
{
public static class ActivityExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/Mvp24Hours.WebAPI/Mvp24Hours.WebAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<Company>Kallebe Lins</Company>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>3.12.261</Version>
<AssemblyVersion>3.12.26.1</AssemblyVersion>
<FileVersion>3.12.26.1</FileVersion>
<Version>3.12.262</Version>
<AssemblyVersion>3.12.26.2</AssemblyVersion>
<FileVersion>3.12.26.2</FileVersion>
<RepositoryUrl>https://github.com/kallebelins/mvp24hours-netcore</RepositoryUrl>
</PropertyGroup>

Expand Down

0 comments on commit 8654ecd

Please sign in to comment.