.NET & C# — Digitteck
Category

.NET & C#

84 articles

Streaming Content into S3 with Multipart Uploads
dotnet

Streaming Content into S3 with Multipart Uploads

The AWS S3 SDK silently fails when uploading non-seekable streams. Learn how to use S3 multipart upload to genuinely stream chunks into S3 without loading content into memory.

2026-01-20·3 min read
.NET TCP Networking With Pipes
dotnet

.NET TCP Networking With Pipes

Building a high-performance TCP server and client in .NET using System.IO.Pipelines — reducing boilerplate while maximizing throughput through Memory/Span and rented buffers.

2024-05-04·4 min read
ASP File Streams
dotnet

ASP File Streams

How to efficiently forward large file streams through multiple ASP.NET service layers — keeping memory footprint minimal with binary request body and file signature validation.

2024-05-04·4 min read
Monadic Structures
dotnet

Monadic Structures

A Result<T> monad pattern for C# — error types, typed result records, and MonadExecute helpers that chain operations through multiple service calls without relying on exceptions.

2024-03-03·4 min read
Mongo Batch Processes
dotnet

Mongo Batch Processes

Safely delete millions of MongoDB documents without hammering the server — using a custom IAsyncCursor enumerator, a partition helper, and a Hangfire background job with pause intervals.

2023-08-22·5 min read
How to Configure Options in ASP.NET
dotnet

How to Configure Options in ASP.NET

Five approaches to registering and validating ASP.NET configuration options — from Configure<T> to IConfigureOptions, IValidateOptions, and data annotation validation at startup.

2022-12-27·4 min read
IdentityServer — Protecting an API With ClientCredentials
dotnet

IdentityServer — Protecting an API With ClientCredentials

Minimal .NET 6 setup for protecting an ASP.NET API with IdentityServer4 ClientCredentials — IdentityServer project, API Bearer configuration, and three NUnit integration tests.

2022-06-13·4 min read
Optimistic Concurrency Mongo C#
dotnet

Optimistic Concurrency Mongo C#

Implementing optimistic locking in MongoDB with C# using a timestamp field — a CollectionUnitOptimistic wrapper that validates the timestamp on every write and throws on conflicts.

2022-02-08·5 min read
C# Bitwise Operations
dotnet

C# Bitwise Operations

Using bitwise OR, AND, XOR and complement operators in C# to compose, check, and remove permission flags — with binary visualizations showing exactly what each operation does to the bits.

2021-04-28·3 min read
digitteck

© 2026 Digitteck