Popularity
2.9
Growing
Activity
0.0
Stable
117
19
17

Description

Outcome is the ultimate result wrapper! It's great for those awkward moments when you need to return a value, but you might also need to return a list of validation messages, warnings, or a success bit.

It's a fluent, expressive, easy-to-learn spin on the Notification pattern, with a few careful tweaks.

Outcome is particularly useful in MVC projects that do a lot of AJAX calls. If you serialize Outcome objects back to the client, you end up with a standard interface for most of your callbacks, and that opens doors for reuse on the JavaScript side.

Code Quality Rank: L5
Programming language: C#
License: MIT License
Tags: Misc     Notification     Testing     Fluent     C#     Design Pattern     Result Wrapper     vb.net     response     failure     success    
Latest version: v2.9.5

Outcome.NET alternatives and similar packages

Based on the "Misc" category.
Alternatively, view Outcome.NET alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Outcome.NET or a related project?

Add another 'Misc' Package

README

What is Outcome.NET?

Outcome is the ultimate result wrapper! It's great for those awkward moments when you need to return a value, but you might also need to return a list of validation messages, warnings, or a success bit.

It's a fluent, expressive, easy-to-learn spin on the Notification pattern, with a few careful tweaks.

Outcome is particularly useful in MVC projects that do a lot of AJAX calls. If you serialize Outcome objects back to the client, you end up with a standard interface for most of your callbacks, and that opens doors for reuse on the JavaScript side.

How can I get started?

Check out the getting started guide.

Where can I get it?

First, install NuGet. Then, install Outcome.NET from the package manager console:

PM> Install-Package Ether.Outcomes

Outcome.NET is Copyright © 2014 Brian MacKay, Kinetiq, and other contributors under the MIT license.


*Note that all licence references and agreements mentioned in the Outcome.NET README section above are relevant to that project's source code only.