Bat.Core
7.0.2
See the version list below for details.
dotnet add package Bat.Core --version 7.0.2
NuGet\Install-Package Bat.Core -Version 7.0.2
<PackageReference Include="Bat.Core" Version="7.0.2" />
paket add Bat.Core --version 7.0.2
#r "nuget: Bat.Core, 7.0.2"
// Install Bat.Core as a Cake Addin #addin nuget:?package=Bat.Core&version=7.0.2 // Install Bat.Core as a Cake Tool #tool nuget:?package=Bat.Core&version=7.0.2
For use Bat.Core just do it :
1- Install Bat.Core on your project
2- Use it in bussiness logic for example :
public class BaseService : IBaseService
{
public void UseBatCoreSample()
{
FileLoger.Info($"Method Started At {DateTime.Now}");
FileLoger.CriticalInfo($"Method Started At {DateTime.Now}");
string randomString = Randomizer.GetUniqueKey(length: 10);
int randomInteger = Randomizer.GetRandomInteger(length: 6);
string time = DateTime.Now.ToTime();
DateTime miladiDate = "1400/12/15".ToDateTime();
string persianDate = DateTime.Now.ToPersianDate();
bool validation1 = "https://google.com".IsUrl();
bool validation2 = "1400/12/15".IsPersianDate();
bool validation3 = "0080799999".IsNationalCode();
string encryptedString1 = AesEncryption.Encrypt(plainText: "Encrypt Me");
string encryptedString2 = AesEncryption.Encrypt(plainText: "Encrypt Me", encryptKey: "EncryptionKey");
string encryptedString3 = AesEncryption.Encrypt(plainText: "Encrypt Me", encryptKey: "EncryptionKey", salt: "Salt");
string decryptedString1 = AesEncryption.Decrypt(cipherText: encryptedString1);
string decryptedString2 = AesEncryption.Decrypt(cipherText: encryptedString2, encryptKey: "EncryptionKey");
string decryptedString3 = AesEncryption.Decrypt(cipherText: encryptedString3, encryptKey: "EncryptionKey", salt: "Salt");
var newObject = new
{
Id = 1,
FirstName = "Mehran",
LastName = "Norouzi"
};
string serialized = newObject.SerializeToJson();
object deSerialized = serialized.DeSerializeJson();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net5.0
- Newtonsoft.Json (>= 13.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net6.0
- Newtonsoft.Json (>= 13.0.1)
- System.ComponentModel.Annotations (>= 5.0.0)
-
net7.0
- No dependencies.
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Bat.Core:
Package | Downloads |
---|---|
Bat.EntityFrameworkCore
For Contact Us Please Send Mail Or Call To : Tel : +989301919109 Mail : mehrannoruzi@gmail.com |
|
Bat.Http
This Package Contain Useful Library And Extention Method For Easy Develop High Tech .Net Application. ForExample : Implementation Of HttpRequestTools, ClientInfo, ExtentionMethod, ... |
|
Bat.AspNetCore
This Package Contain Useful Library And Extention Method For Easy Develop High Tech Asp.Net Core Mvc Application. ForExample : Implementation Of Authentication, Authorization, TagHelpers, CustomAttribute, ResponseCache, ExtensionMethod, ... |
|
Bat.Di
This Package Contain Useful Library And Extention Method For Dependency Injection in High Tech .Net Application. ForExample : ExtensionMethods For Dynamically Register Services And Componnent Base On Inherit From ITransientInjection, IScopedInjection Or ISingletonInjection |
|
Bat.Cache
This Package Contain Useful Library And Extention Method For Easy Develop High Tech .Net Core Application. ForExample : Implementation Of Runtime Caching, MemoryCache, ExtensionMethods, ... |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.0.11 | 183 | 11/26/2024 |
8.0.3 | 260 | 3/6/2024 |
8.0.2 | 208 | 3/3/2024 |
8.0.1 | 534 | 1/22/2024 |
8.0.0 | 284 | 12/1/2023 |
7.0.4 | 389 | 5/13/2023 |
7.0.3 | 510 | 2/28/2023 |
7.0.2 | 482 | 2/4/2023 |
7.0.0 | 673 | 12/5/2022 |
6.0.22 | 282 | 8/21/2023 |
6.0.21 | 473 | 8/19/2023 |
6.0.2 | 779 | 3/28/2022 |
6.0.1 | 2,612 | 3/27/2022 |
6.0.0 | 781 | 3/27/2022 |
1.1.8 | 4,052 | 12/26/2021 |
1.1.7 | 670 | 7/13/2021 |
1.1.5 | 387 | 7/13/2021 |
1.1.4 | 2,771 | 7/11/2021 |
1.1.3 | 922 | 4/14/2021 |
1.1.2 | 1,027 | 4/8/2021 |
1.1.1 | 394 | 4/7/2021 |
1.1.0 | 2,273 | 3/26/2021 |
1.0.9 | 435 | 3/10/2021 |
1.0.8 | 986 | 2/7/2021 |
1.0.7 | 1,758 | 2/3/2021 |
1.0.6 | 848 | 1/30/2021 |
1.0.4 | 3,018 | 10/19/2020 |
1.0.3 | 500 | 10/19/2020 |
1.0.2 | 712 | 10/11/2020 |
1.0.1 | 702 | 10/11/2020 |