Repository navigation
Home
Utility libraries for .NET, published to NuGet as independent packages.
| Package | Version | Targets | Dependencies | Docs |
|---|---|---|---|---|
| Utilme.Result | 26.9.7 | net10.0 |
none | Getting Started |
| Utilme.SdpTransform | 26.9.7 | net10.0 |
none | Getting Started |
The two libraries are unrelated and share no code.
A small result type for operations that can fail: on success it carries a value, on failure a
ResultStatus and a message.
using Utilme;
Result<User> FindUser(int id) =>
_users.TryGetValue(id, out var user)
? Result.Ok(user)
: Result.Fail<User>(ResultStatus.NotFound, $"no user with id {id}");→ Getting Started · API Reference
Read this before adopting it: Result vs. ErrorOr is an honest assessment of where this library stands against the mainstream alternatives. If you are starting a new project with no constraints, that page most likely points you at ErrorOr instead.
SDP parser and writer — converts between SDP text, an object graph, and JSON. Useful for VoIP and WebRTC work.
using Utilme.SdpTransform;
Sdp? sdp = sdpText.ToSdp(); // null if it cannot be parsed
string text = sdp!.ToText(); // byte-identical to what it parsed from→ Getting Started · API Reference
- Design Notes — the constraints that shape each library and the invariants any change must preserve: Result, SdpTransform.
- Refactor Logs — the .NET 10 migration and what changed in 26.9.7: Result, SdpTransform.
-
Building and Testing — commands, and the
dotnet testsetup gotchas.
Both packages are released by GitHub Actions on a result-v* / sdptransform-v* tag.
MIT.
Utilme.Result
Utilme.SdpTransform
Repository