Lädt...

🔧 Result.Simplified now live on nuget


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

TL;DR; - Here's the Nuget link

A few years back I've decided to create a Result and Result<T> classes to handle a situation in my code - I've had a couple of classes that contained methods with expected points of failures, but couldn't inject a logger into these classes (well, technically I could, but it was prohibited by the architect in charge).

The solution I came up with was to use a couple of classes to enhance the return value of these methods - the Result and Result<T> classes which I've blogged about in 2021

So this project was collecting dust as a GitHub repository for a while, before I found out that this is an actual known pattern adopted into C# from functional programming - and that pattern actually has quite a few implementations - like Amichai Mantinband's ErrorOr which is a great implementation that offers a very rich API.

Lately I've needed to use the result pattern again, and as I was searching for an implementation that was accurate for my needs, I came to realize that my old ResultOf project was just what I needed - nothing less, nothing more. I mean, I could go with ErrorOr or any other implementation, but they all seemed to be a bit of an overkill for my specific need.

So I did what any other reasonable developer did and tried to upload my existing project to Nuget - however, it turned out the package id ResultOf was already in use (with another implementation that wasn't exactly what I wanted) so I named it Result.Simplified.

One thing led to another and 16 days later I'm at version 2.1.0, with a 100% test coverage, a newly created repository, and almost 700 downloads.

If you've made it so far I would love to get some feedback on it, if that's not too much to ask :-)

...

🔧 Result.Simplified now live on nuget


📈 55.05 Punkte
🔧 Programmierung

🔧 What is NuGet? [1 of 5] | NuGet 101


📈 37.91 Punkte
🔧 Programmierung

🕵️ FetLife: Able to see highest poll result without voting or view result


📈 28.68 Punkte
🕵️ Sicherheitslücken

🔧 Released Result::Simple - a dead simple perl-ish Result like F#, Rust, Go


📈 28.68 Punkte
🔧 Programmierung

🎥 LIVE at 12pm ET: ZippyShare, NuGet, PinDuoDuo, ERNIE, Lantern, HDDs, Jason Wood, and More News


📈 23.1 Punkte
🎥 IT Security Video

🕵️ CVE-2024-37304 | NuGet Gallery prior 2024.05.28 Autolinks cross site scripting


📈 18.95 Punkte
🕵️ Sicherheitslücken

🔧 How to Build a NuGet Package with iOS Frameworks for .NET MAUI Development


📈 18.95 Punkte
🔧 Programmierung

📰 Private Nuget-Pakete über GitHub verteilen


📈 18.95 Punkte
🤖 Android Tipps

🔧 Publish C# Project to Nuget.org


📈 18.95 Punkte
🔧 Programmierung

🔧 Over 150,000 .NET Developers Hit by Harmful NuGet Packages


📈 18.95 Punkte
🔧 Programmierung

🔧 Best MySQL NuGet Packages for .NET Development


📈 18.95 Punkte
🔧 Programmierung

🔧 Publishing Nuget in GitHub Packages


📈 18.95 Punkte
🔧 Programmierung

🕵️ GitLab Enterprise Edition 12.8 NuGet path traversal


📈 18.95 Punkte
🕵️ Sicherheitslücken

📰 Neu in .NET 8.0 [35]: Sicherheitswarnungen vor NuGet-Paketen


📈 18.95 Punkte
📰 IT Nachrichten

📰 Bösartige NuGet-Pakete – Angreifer nehmen .NET-Entwickler ins Visier


📈 18.95 Punkte
📰 IT Security Nachrichten

🔧 My First Nuget Package -Aadhaar Offline KYC Verification in .NET


📈 18.95 Punkte
🔧 Programmierung

🔧 How To Publish and Install DotNet SDK With NuGet


📈 18.95 Punkte
🔧 Programmierung

🕵️ Microsoft NuGet/ADAL.NET Azure Active Directory Cache privilege escalation


📈 18.95 Punkte
🕵️ Sicherheitslücken

🔧 Neu in .NET 8.0 [35]: Sicherheitswarnungen vor NuGet-Paketen


📈 18.95 Punkte
🔧 Programmierung

📰 Rogue NuGet Packages Infect .NET Developers with Crypto-Stealing Malware


📈 18.95 Punkte
📰 IT Security Nachrichten

🔧 How to Publish a Private NuGet Package to GitHub Packages


📈 18.95 Punkte
🔧 Programmierung

🔧 How I Built a NuGet Package


📈 18.95 Punkte
🔧 Programmierung

🕵️ Microsoft NuGet 5.0.2 privilege escalation [CVE-2019-0976]


📈 18.95 Punkte
🕵️ Sicherheitslücken

🔧 My Very First NuGet package


📈 18.95 Punkte
🔧 Programmierung

📰 .NET Devs Targeted With Malicious NuGet Packages


📈 18.95 Punkte
📰 IT Security Nachrichten

🕵️ NuGet up to 4.9.4 Package Manager privilege escalation


📈 18.95 Punkte
🕵️ Sicherheitslücken

📰 WDK NuGet: Microsoft will Entwicklung neuer Windows-Treiber weiter vereinfachen


📈 18.95 Punkte
📰 IT Nachrichten

🎥 ZippyShare, NuGet, PinDuoDuo, ERNIE, Lantern, HDDs, &amp; Jason Wood - SWN #282


📈 18.95 Punkte
🎥 IT Security Video

🔧 Publish Private Nuget Packages on Github


📈 18.95 Punkte
🔧 Programmierung

📰 Malicious NuGet Packages Abuse MSBuild Integrations for Code Execution


📈 18.95 Punkte
📰 IT Security Nachrichten

🔧 Hosting your own NuGet Server and Feed for build artifacts with BaGet


📈 18.95 Punkte
🔧 Programmierung

🕵️ Malicious NuGet Campaign Tricking Developers To Inject Malicious Code


📈 18.95 Punkte
🕵️ Hacking

📰 Hackers Use NuGet Packages to Target .NET Developers


📈 18.95 Punkte
📰 IT Security Nachrichten