Comments (3)
It's true, 'use case' isn't really a term I use in this context. In my experience a use case is similar to a user story, and is captured as documentation of requirements, not part of the software domain itself. From the diagram you've provided, it seems like a use case maps to an application service. In fact, if one uses MediatR or something similar to minimize the size of one's controllers, you'll end up creating message types that could easily map to the Use Case Input Port (Request) and Use Case Output Port (Response). With the Use Case Interactor as simply the Handler in that case.
I'll check out the Medium article you linked to and respond later perhaps once I've had a chance to read it. Thanks!
from cleanarchitecture.
Can you link to one so I can see an example of what you mean? This one is meant to be a solution starter kit, so it's light on features such that when you start from it, you don't have to rip a whole lot out.
from cleanarchitecture.
Sure, for example this article https://medium.com/@stephanhoekstra/clean-architecture-in-net-8eed6c224c50 with this solution structure https://github.com/stephanhoekstra/clean-architecture
This series of blogposts is also worth looking into: https://plainionist.github.io/Implementing-Clean-Architecture-UseCases/
The image below comes from this series and is particularly interesting for this topic.
I understand this is a starter solution, but it just seemed odd to me that others see the use cases as an integral part of the architecture and you might not? The phrase "use case" is not mentioned once in your e-book either.
from cleanarchitecture.
Related Issues (20)
- Open the Discussions area in Github area so people can discuss the template and the whys
- Why is this repo using AutoFac instead of .NET's own DI infrastructure? HOT 3
- Handling Third-Party Authentication and Role Synchronization in DDD and Clean Architecture HOT 1
- GetContributorByIdRequest - Filename should probably match the classname
- Why is the implementation of the DeleteContributorService in the core layer? HOT 2
- Test case ReturnsTwoContributors() fails HOT 6
- Replace Autofac with Vanilla dotnet DI HOT 3
- Renaming Enhacement in Web Project. HOT 3
- Update Sample to Latest Version of Template HOT 4
- 404 when launching the project HOT 2
- Error when launching the newly created project from template HOT 2
- Add More Warning as Error Checks
- Mixed SharedKernel : Clean.Architecture and Ardalis HOT 1
- ProjectItemMarkComplete test fails HOT 4
- Support Microsoft.Identity in tenplate
- ProjectStatus and PriorityStatus
- Documentation update: Update requests for the section on Controllers and Razor Pages HOT 1
- UseCases project: Remove unused reference
- Web Project: Remove unused references
- [![CodeQL Analysis](https://github.com/ardalis/CleanArchitecture/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ardalis/CleanArchitecture/actions/workflows/codeql-analysis.yml)
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 cleanarchitecture.