LokiBulkDataProcessor 8.0.0
dotnet add package LokiBulkDataProcessor --version 8.0.0
NuGet\Install-Package LokiBulkDataProcessor -Version 8.0.0
<PackageReference Include="LokiBulkDataProcessor" Version="8.0.0" />
<PackageVersion Include="LokiBulkDataProcessor" Version="8.0.0" />
<PackageReference Include="LokiBulkDataProcessor" />
paket add LokiBulkDataProcessor --version 8.0.0
#r "nuget: LokiBulkDataProcessor, 8.0.0"
#:package LokiBulkDataProcessor@8.0.0
#addin nuget:?package=LokiBulkDataProcessor&version=8.0.0
#tool nuget:?package=LokiBulkDataProcessor&version=8.0.0
Loki Bulk Data Processor
The Loki Bulk Data Processor is a fast, efficient .NET library for bulk data inserts into SQL Server using SqlBulkCopy. Designed for ASP.NET Core, it supports:
IEnumerable<T>modelsDataTableIDataReader(v6.0.0+)JSON streams(v6.0.0+)Structured logging and mapping support(v6.0.0+)
Perfect for high-throughput ETL pipelines and real-time ingestion scenarios.
This project has been upgraded to target .NET 10.
Install
dotnet add package LokiBulkDataProcessor
Performance
Benchmark: 100,000 records inserted into an empty SQL Server table with 4 columns (1 primary key, 1 foreign key), on a 2.7GHz i7, 16 GB RAM, SSD.
| Method | Time Taken | Memory Usage |
|---|---|---|
| Loki Bulk Processor | 2.99 seconds | 266 MB |
| Entity Framework Core | 68.74 seconds | 1 GB+ |
Inserted 100,000 records into an empty table with 1 PK and 1 FK column.
⚠️ Entity Framework was used with
AddAsyncandSaveChangesAsync. Loki used a single bulk insert call.
Upgrade Guide
| From Version | What Changed | Action Required |
|---|---|---|
| ≤ 6.0.0 | Web API execution failed after the first request | Upgrade to v7.0.0+ ✅ |
| 6.0.0 | DataTableMapping renamed to DataMapping |
Update references ⚠️ |
| 7.0.1 | Project upgraded to .NET 10 | No action required unless you target an earlier runtime ✅ |
Documentation
Everything you need to get started:
- 📝 Full Documentation (Wiki)
- 📺 YouTube Tutorial – Part 1 — Introduction & Setup
- 📺 YouTube Tutorial – Part 2 — Advanced Usage & Mapping
- 🧪 Example Projects on GitHub
Support
If this library saved you time or made your life easier, consider showing your support:
- ☕ Buy me a coffee
- ⭐ Star the GitHub repo to help others discover it
- 🗣️ Share your experience or contribute feedback via issues
Every bit helps keep the project going.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- FastMember (>= 1.5.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.0)
- Microsoft.Extensions.Logging (>= 10.0.0)
- Microsoft.Extensions.Logging.Console (>= 10.0.0)
- System.Data.SqlClient (>= 4.8.6)
- Testcontainers.MsSql (>= 4.1.0)
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 | |
|---|---|---|---|
| 8.0.0 | 92 | 2/21/2026 | |
| 7.0.1 | 220 | 10/28/2025 | |
| 7.0.0 | 149 | 7/19/2025 | |
| 6.0.0 | 200 | 7/7/2025 | |
| 5.0.1 | 214 | 1/26/2025 | |
| 4.0.1 | 238 | 2/15/2024 | |
| 4.0.0 | 539 | 11/5/2022 | |
| 3.5.1 | 660 | 9/30/2020 | |
| 3.5.0 | 640 | 6/21/2020 | |
| 3.0.0 | 689 | 4/7/2020 | |
| 2.0.3 | 668 | 3/8/2020 | |
| 2.0.1 | 916 | 3/8/2020 | |
| 2.0.0 | 927 | 3/8/2020 | |
| 1.0.2 | 1,228 | 2/8/2020 |
Project upgraded to .NET 10. This release updates the target framework to `net10.0` and includes compatibility and dependency updates required for the .NET 10 runtime.