Comments (2)
I created a project that illustrates the above, would you change anything? Mainly look at https://github.com/VictorioBerra/ArdalisResult-Architecture-Example/blob/main/ArdalisResultArch/Pages/Blog/Edit.cshtml.cs#L42
I validate the model, and I also validate in the app service (class that returns Result<>). So I validate twice.
from result.
Related Issues (20)
- Add helpers to translate from Ardalis.Result to ASP.NET Core IResult HOT 3
- Map error messages when result is not found HOT 1
- Partial Failure HOT 1
- Package Downgrade HOT 1
- Update to net7 HOT 2
- Add global props files
- Support non-generic Result HOT 1
- Latest Ardalis.Result.AspNetCore not published? HOT 2
- Add Unit Type to Support Void Methods and requests for non-generic Result types
- Add sample showing how to use api response
- Add next page token to PagedResult HOT 2
- Adding additional Result types for additional scenarios HOT 1
- Collision with IResult from minimal apis in .Net 6 HOT 3
- Support FluentValidation's ErrorCode property of ValidationResult in ValidationError HOT 4
- System.NotSupportedException: Serialization and deserialization of 'System.Type' instances are not supported. Path: $.ValueType. HOT 7
- Result is both a namespace and a type HOT 5
- Use with DTOs HOT 1
- NotFound override to return a body HOT 3
- [Question] What would be a good way to return CreatedAtAction 201 result? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from result.