Bat.Core
10.0.0
dotnet add package Bat.Core --version 10.0.0
NuGet\Install-Package Bat.Core -Version 10.0.0
<PackageReference Include="Bat.Core" Version="10.0.0" />
<PackageVersion Include="Bat.Core" Version="10.0.0" />
<PackageReference Include="Bat.Core" />
paket add Bat.Core --version 10.0.0
#r "nuget: Bat.Core, 10.0.0"
#:package Bat.Core@10.0.0
#addin nuget:?package=Bat.Core&version=10.0.0
#tool nuget:?package=Bat.Core&version=10.0.0
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 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (10)
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 |
|---|---|---|
| 10.0.0 | 331 | 12/23/2025 |
| 8.0.18 | 332 | 7/29/2025 |
| 8.0.11 | 658 | 11/26/2024 |
| 8.0.3 | 441 | 3/6/2024 |
| 8.0.2 | 365 | 3/3/2024 |
| 8.0.1 | 737 | 1/22/2024 |
| 8.0.0 | 444 | 12/1/2023 |
| 7.0.4 | 599 | 5/13/2023 |
| 7.0.3 | 712 | 2/28/2023 |
| 7.0.2 | 681 | 2/4/2023 |
| 7.0.0 | 932 | 12/5/2022 |
| 6.0.22 | 426 | 8/21/2023 |
| 6.0.21 | 701 | 8/19/2023 |
| 6.0.2 | 1,011 | 3/28/2022 |
| 6.0.1 | 3,161 | 3/27/2022 |
| 6.0.0 | 985 | 3/27/2022 |
| 1.1.8 | 4,669 | 12/26/2021 |
| 1.1.7 | 859 | 7/13/2021 |
| 1.1.5 | 560 | 7/13/2021 |
- Upgrade to net10.0 and C#14.0
- Switch to System.Text.Json for serialization
- Add AesEncryption and HashGenerator
- Add New and useful extention methods