https://github.com/jtom38/janus
https://github.com/jtom38/janus
csharp
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jtom38/janus
- Owner: jtom38
- License: mit
- Created: 2018-11-12T17:20:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-20T14:26:46.000Z (over 7 years ago)
- Last Synced: 2025-03-11T01:30:01.439Z (over 1 year ago)
- Topics: csharp
- Language: HTML
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Janus
## Requirements
* .Net Core 2.1
## Personal Notes
## Application Layers
### Domain - Core
This is the layer for things like entities, types, enum, exceptions
No running code exists here.
Depends on:
* Nothing
### Application Layer - Business Logic
This layer contains all application logic. It is dependent on the domain layer, but has no dependencies on any other layer or project.
This layer defines interfaces that are implemented by outside layers.
For example, if the application need to access a notification service, a new interface would be added to application and an implementation would be created within infrastructure.
Depends on:
* Domain
* Persistence
### Infrastructure Layer - Service Layer
This layer contains classes for accessing external resources such as file systems, web services, smtp, and so on.
These classes should be based on interfaces defined within the application layer
This will implament the interfaces we defined in Domain/Core
Depends on:
* Application
### Persistence Layer - Database
This layer contains the interaction to the DB.
Depends on:
* Domain
### Presentation Layer - UI/Console/Desktop Interfaces
This layer is the interface that the end user interacts with.
The thought is if you make a change to the UI the layers below will still support that new UI given the logic exists in other places.
Depends on:
* Application
* Infrastructure