Skip to content

Commit

Permalink
Release;
Browse files Browse the repository at this point in the history
EasMe 4.0.0
EasMe.Authorization 2.0.0
EasMe.EntityFrameworkCore 3.0.0
EasMe.Logging 3.3.0
EasMe.PostSharp 1.0.0
EasMe.Result 2.1.0
EasMe.SharpBuilder 1.1.0
EasMe.System 2.1.0
  • Loading branch information
bberka committed Jun 28, 2023
1 parent a22310e commit 49ea493
Show file tree
Hide file tree
Showing 134 changed files with 1,410 additions and 1,622 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ You can install the package via Nuget:
```
Install-Package EasMe
Install-Package EasMe.Authorization
Install-Package EasMe.Box
Install-Package EasMe.EntityFrameworkCore
Install-Package EasMe.Logging
Install-Package EasMe.PostSharp
Expand Down Expand Up @@ -456,7 +455,7 @@ var decrypted = encryptor.Decrypt(encrypted); // 123123
#### Time seeding
Time seeding creates a salt key based on the time the instance is created.
You can set the sensitivity of the time seeding when enabling time seeding with EasEncrypt.UseTimeSeeding method.
If sensitivity set to seconds, the salt key will change every second. Meaning the encrypted key will also change.
If sensitivity set to seconds, the salt key will change every second. Meaning the encrypted text will also change.
Created salt key will be stored inside of the instance. You can use same instance to decrypt the encrypted text,
even after the time has changed.

Expand Down Expand Up @@ -1209,7 +1208,7 @@ var user = _db.Users.FirstOrDefault(x => x.Id == id);
//And error code will automatically will be set to NullValue
return user;
```
#### Converting ResultData to Result
### Converting ResultData to Result
```csharp
ResultData<User> resultData = Result.Warn("NotFound"); //ResultData<User>
var result = resultData.ToResult(); //Result
Expand All @@ -1225,7 +1224,7 @@ var result = resultData.ToActionResult(); //ActionResult
var result2 = resultData.ToActionResult(400); //ActionResult with 400 status code
var result3 = Result.Warn("NotFound").ToActionResult(): //ActionResult
```
#### Mapping ResultData
### Mapping ResultData
```csharp
var getUserResult = GetUser(1); //ResultData<User>
var user = getUserResult.Map<UserDto>(x => {
Expand Down
3 changes: 2 additions & 1 deletion src/EasMe.Authorization/EasMe.Authorization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<BaseOutputPath>C:\Users\kkass\source\build\easme</BaseOutputPath>
<Version>1.0.0</Version>
<Version>2.0.0</Version>
<AssemblyVersion>2.0.0</AssemblyVersion>
<Title>EasMe.Authorization</Title>
<Authors>bberka</Authors>
<Description>AspNetCore authorization extender library. Easily manage and apply required roles for desired endpoints.</Description>
<PackageProjectUrl>https://github.com/bberka/EasMe/tree/master</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/bberka/EasMe/blob/master/LICENSE.txt</PackageLicenseUrl>
<RepositoryUrl>https://github.com/bberka/EasMe/tree/master</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>

</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
[assembly: System.Reflection.AssemblyDescriptionAttribute("AspNetCore authorization extender library. Easily manage and apply required roles" +
" for desired endpoints.")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("EasMe.Authorization")]
[assembly: System.Reflection.AssemblyTitleAttribute("EasMe.Authorization")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
32474c9c61229a5d2571b2d6687832561b8afe6c
6b27e16d4c1ceb7b8dac7fd6b2fcfdf13acf2bd5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
aeedc4284f04e07a61c4999a2ba39b935d430ab2
78d686f912503c404ef570e71a943efac3d8d585
Binary file not shown.
Binary file modified src/EasMe.Authorization/obj/Release/net6.0/EasMe.Authorization.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<BaseOutputPath>C:\Users\kkass\source\build\easme</BaseOutputPath>
<Version>2.0.0</Version>
<AssemblyVersion>2.0.0</AssemblyVersion>
<Version>3.0.0</Version>
<AssemblyVersion>3.0.0</AssemblyVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Title>EasMe.EntityFrameworkCore</Title>
<Description>EntityFrameworkCore extender library with built in repository pattern interfaces and more.</Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("EntityFrameworkCore extender library with built in repository pattern interfaces " +
"and more.")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("3.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("EasMe.EntityFrameworkCore")]
[assembly: System.Reflection.AssemblyTitleAttribute("EasMe.EntityFrameworkCore")]
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.0.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/bberka/EasMe/tree/master")]

// Generated by the MSBuild WriteCodeFragment class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
646446d24a9ee0a3da71dae21b8404a1c6b5118c
74871fb4053f77e51506259b6465548aab9f5965
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions src/EasMe.Logging/EasMe.Logging.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<BaseOutputPath>C:\Users\kkass\source\build\easme</BaseOutputPath>
<Version>3.1.0</Version>
<AssemblyVersion>3.1.0</AssemblyVersion>
<Version>3.2.0</Version>
<AssemblyVersion>3.2.0</AssemblyVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Title>EasMe.Logging</Title>
<Description>Simple lightweight Json logging library.</Description>
Expand Down
8 changes: 4 additions & 4 deletions src/EasMe.Logging/obj/EasMe.Logging.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@
"target": "Package",
"version": "[13.0.3, )"
},
"System.Configuration.ConfigurationManager": {
"target": "Package",
"version": "[7.0.0, )"
},
"System.Data.HashFunction.xxHash": {
"target": "Package",
"version": "[2.0.0, )"
Expand All @@ -232,10 +236,6 @@
"System.IdentityModel.Tokens.Jwt": {
"target": "Package",
"version": "[6.31.0, )"
},
"log4net": {
"target": "Package",
"version": "[2.0.15, )"
}
},
"imports": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
[assembly: System.Reflection.AssemblyCompanyAttribute("bberka")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Simple lightweight Json logging library.")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.1.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("3.1.0")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.2.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("3.2.0")]
[assembly: System.Reflection.AssemblyProductAttribute("EasMe.Logging")]
[assembly: System.Reflection.AssemblyTitleAttribute("EasMe.Logging")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.1.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("3.2.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/bberka/EasMe/tree/master")]

// Generated by the MSBuild WriteCodeFragment class.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0ea68726221e9b9689c037d0e1eb89faf8815e6f
b1d04facfe1122e2f1b2f5b2ac526dc5caa7de1c
Binary file modified src/EasMe.Logging/obj/Release/net6.0/EasMe.Logging.assets.cache
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5aba53f7cd7938c12a01021116824e8bad6bbf99
46c812bd0d2eedee7f67a67dfdc9f3394d7aa840
Binary file modified src/EasMe.Logging/obj/Release/net6.0/EasMe.Logging.dll
Binary file not shown.
Binary file modified src/EasMe.Logging/obj/Release/net6.0/EasMe.Logging.pdb
Binary file not shown.
Binary file modified src/EasMe.Logging/obj/Release/net6.0/ref/EasMe.Logging.dll
Binary file not shown.
Binary file modified src/EasMe.Logging/obj/Release/net6.0/refint/EasMe.Logging.dll
Binary file not shown.
Loading

0 comments on commit 49ea493

Please sign in to comment.