TotCS 0.0.7

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

// Install TotCS as a Cake Tool
#tool nuget:?package=TotCS&version=0.0.7                

🥇 Tot CS

Tot is a database file format for managing string data in a file. I would like to say markup-like database without indexing. It is using stream and position to efficiently track where the data is. And it is designed to handle massive data. But developer has full control over limitting the size of data in one tag. Eg. 65536 bytes in one tag. Tot is for replacing some jobs that database, JSON and XML do.

👨‍🏫 Notice

🎉 Releasing version 0.0.7

PLEASE USE THE LATEST VERSION.

  1. Now Clean() will not create extra .tmp file for reserving changes. It still creates 1 .tmp file as a backup for safety.
  2. GetMultipleData() is now GetMultiple() please update them. Queued version is changed as well. Change to QGetMultiple().
  3. SaveDictAsTot(), SaveListAsTot(), QSaveDictAsTot(), QSaveListAsTot(), GetAllByDict(), GetAllByList, QGetAllByDict() and QGetAllByList.

📢 Changes and deprecation in the future

In the future, GetAll() may get deprecated or changed. Try GetAllByDict(), GetAllByList, QGetAllByDict() and QGetAllByList for your project.

📢 About how you handle data writes

Some cases Tot can cause lots of writing. It is sill better than writing whole file every time. I recommend avoid using HardRemove() or HardUpdate(). They only exist for small files. It is always better when we modify small data with Update() and Remove(). And use Clean() like once a day, a week or a month.

📖 Documents

Please read the rule of format for more information about Tot file format.

🛠 Requirements

Tot CS is built with .net 8.0 and Windows 10. I cannot guarantee that this will work in older versions of Windows or other OS and with other tools.

💪 Support Tot CS

👼 Become a Sponsor

🎁 Shop

👨‍💻 Author

Victor Chanil Park

💯 License

MIT, See LICENSE.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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
0.0.7 117 6/30/2024
0.0.6 101 6/23/2024
0.0.5 101 6/8/2024
0.0.4 104 6/7/2024