Skip to content

About

Never write a result wrapper again! Outcome.NET is a simple, powerful helper for methods that return a value, but sometimes also need to return validation messages, warnings, or a success bit.

Resources

Stars

127 stars

Watchers

20 watching

Forks

Latest commit

 

History

75 Commits

Folders and files

Repository files navigation

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.

Support This Project

If you find Outcome.NET useful, consider buying me a coffee!

Buy Me A Coffee

About

Never write a result wrapper again! Outcome.NET is a simple, powerful helper for methods that return a value, but sometimes also need to return validation messages, warnings, or a success bit.

Resources

Stars

127 stars

Watchers

20 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages