AllinOneCommonFunction 2.0.1

dotnet add package AllinOneCommonFunction --version 2.0.1
NuGet\Install-Package AllinOneCommonFunction -Version 2.0.1
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="AllinOneCommonFunction" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AllinOneCommonFunction --version 2.0.1
#r "nuget: AllinOneCommonFunction, 2.0.1"
#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 AllinOneCommonFunction as a Cake Addin
#addin nuget:?package=AllinOneCommonFunction&version=2.0.1

// Install AllinOneCommonFunction as a Cake Tool
#tool nuget:?package=AllinOneCommonFunction&version=2.0.1

The steps need to be followed to integrate this package into the .net core project.

Step 1: Download this package from nuget package manager 'AllinOneCommonFunction'

Step 2: Register a sevice in program.cs as,

builder.Services.AddSingleton<IAllinOneModel, AllinOneModel>();

Step 3: Solve the dependency injection in controller by,

private readonly IAllinOneModel _G;

public HomeController(IAllinOneModel G) { _G = G; }

Note:

  1. This package is build from .Net 6
  2. Always use the latest version
Product Compatible and additional computed target framework versions.
.NET 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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 107 9/28/2023
2.0.0 123 9/25/2023

Package contains common functions for developers which works only on core project.
Always download latest version to get latest code.
1. xml to datatable
2. json to datatable
3. json to dataset
4. datatable to json
5. dataset to json
6. datatable to xml
7. datatable to list
8. validate email
9. generate random number
10. calculate age
11. amount to word
12. get private ip
13. get public ip
14. get mac address
15. get location
16. read excel supports - .xls | .xlsx | .xlsm | .xlt | .xltx | .ots | .ods | .csv | .xlsb
17. encrypt & decrypt
18. hashing
19. read json file from location
20. file content type
21. establishment to MSSQL DB
22. establishment to MYSQL DB
23. establishment to ORACLE DB
24. establishment to POSTGRE DB
25. establishment to MARIA DB
26. establishment to SQLite DB
27. generation azure ad token
28. upload