All Projects → Amitpnk → Hexagonal-architecture-ASP.NET-Core

Amitpnk / Hexagonal-architecture-ASP.NET-Core

Licence: other
App generator API solution template which is built on Hexagnonal Architecture with all essential feature using .NET Core

Programming Languages

C#
18002 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Hexagonal-architecture-ASP.NET-Core

Onion Architecture Asp.net Core
WhiteApp API solution template which is built on Onion Architecture with all essential feature using .NET 5!
Stars: ✭ 196 (+243.86%)
Mutual labels:  unit-testing, repository, aspnetcore, integration-testing, entity-framework-core, asp-net-core, repository-pattern
MinimalApi
ASP.NET Core 7.0 - Minimal API Example - Todo API implementation using ASP.NET Core Minimal API, Entity Framework Core, Token authentication, Versioning, Unit Testing, Integration Testing and Open API.
Stars: ✭ 156 (+173.68%)
Mutual labels:  unit-testing, aspnetcore, entity-framework-core, asp-net-core
Aspnetcore Tests Sample
A project to help demonstrate how to do unit, integration and acceptance tests with an web api project using ASP.NET Core and Angular 7 front end.
Stars: ✭ 40 (-29.82%)
Mutual labels:  unit-testing, aspnetcore, integration-testing, asp-net-core
JwtAuthDemo
ASP.NET Core + Angular JWT auth demo; integration tests; login, logout, refresh token, impersonation, authentication, authorization; run on Docker Compose.
Stars: ✭ 278 (+387.72%)
Mutual labels:  aspnetcore, integration-testing, asp-net-core
Asmin
Asmin is .NET CORE project infrastructure, to get a quick start on the project.
Stars: ✭ 89 (+56.14%)
Mutual labels:  entity-framework-core, asp-net-core, repository-pattern
Apiintegrationtestsamples
Demo project containing end-to-end, in-memory integration tests in ASP.NET Core 2.1
Stars: ✭ 62 (+8.77%)
Mutual labels:  integration-testing, entity-framework-core, asp-net-core
Kodkod
https://github.com/alirizaadiyahsi/Nucleus Web API layered architecture startup template with ASP.NET Core 2.1, EF Core 2.1 and Vue Client
Stars: ✭ 45 (-21.05%)
Mutual labels:  entity-framework-core, asp-net-core, repository-pattern
Urf.core.sample
URF.Core Sample Solution - E2E sample built with ASP.NET Core, Entity Framework Core, URF.Core, Angular, Kendo UI & OData Core. Live demo: https://goo.gl/QpJVgd
Stars: ✭ 40 (-29.82%)
Mutual labels:  repository, entity-framework-core, asp-net-core
Znetcs.aspnetcore.logging.entityframeworkcore
This is Entity Framework Core logger and logger provider. A small package to allow store logs in any data store using Entity Framework Core.
Stars: ✭ 24 (-57.89%)
Mutual labels:  aspnetcore, entity-framework-core, asp-net-core
generic-for-core
🏗️ Generic Repository & UOW Pattern For ASP.NET Core
Stars: ✭ 55 (-3.51%)
Mutual labels:  entity-framework-core, asp-net-core, repository-pattern
StoreCleanArchitecture-NET
This is a basic project to demonstrate an introduction about the implementation of Clean Architecture on .NET
Stars: ✭ 19 (-66.67%)
Mutual labels:  unit-testing, integration-testing, entity-framework-core
Redux Saga Test Plan
Test Redux Saga with an easy plan.
Stars: ✭ 1,135 (+1891.23%)
Mutual labels:  unit-testing, integration-testing
Aspnetcorespa
Asp.Net 5.0 & Angular 11 SPA Fullstack application with plenty of examples. Live demo:
Stars: ✭ 1,211 (+2024.56%)
Mutual labels:  unit-testing, aspnetcore
Testing Workshop
A workshop for learning how to test JavaScript applications
Stars: ✭ 1,276 (+2138.6%)
Mutual labels:  unit-testing, integration-testing
Automation Arsenal
Curated list of popular Java and Kotlin frameworks, libraries and tools related to software testing, quality assurance and adjacent processes automation.
Stars: ✭ 105 (+84.21%)
Mutual labels:  unit-testing, integration-testing
Unit Threaded
Advanced unit test framework for D
Stars: ✭ 100 (+75.44%)
Mutual labels:  unit-testing, integration-testing
Spring Data Mock
Mock facility for Spring Data repositories
Stars: ✭ 110 (+92.98%)
Mutual labels:  unit-testing, repository
Dotnetlabs
.NET Labs -- Show Me the Tips and Tricks and Code
Stars: ✭ 135 (+136.84%)
Mutual labels:  unit-testing, entity-framework-core
Dockertest
Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
Stars: ✭ 2,254 (+3854.39%)
Mutual labels:  unit-testing, integration-testing
Stocker
Stocker is a currency monitoring app. It offers instant currency rates of banks.
Stars: ✭ 38 (-33.33%)
Mutual labels:  unit-testing, repository-pattern

Visual Studio Marketplace version Visual Studio Marketplace downloads Visual Studio Marketplace ratings Visual Studio Marketplace version


Build Bugs Code Smells Duplicated Lines (%) Lines of Code Maintainability Rating Quality Gate Status Reliability Rating Vulnerabilities GitHub license

Hexagonal Architecture ASP.NET Core


Logo

Hexagonal Architecture ASP.NET Core

App generator API solution template which is built on Hexagnonal Architecture with all essential feature using .NET Core!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

Give a Star!

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

Support This Project

If you have found this project helpful, either as a library that you use or as a learning tool, please consider buying me a coffee:

Buy Me A Coffee

Hexagonal Architecture

Hexagonal architecture was proposed by Alistair Cockburn in 2005.

Hexagonal Architecture, or to call it properly, "Ports and Adapters pattern", is driven by the idea that the application is central to your system. All inputs and outputs reach or leave the core of the application through a port that isolates the application from external technologies, tools and delivery mechanics

About The Project

App generator API solution template which is built on Hexagnonal Architecture with all essential feature using .NET Core!

image

Getting Started

Step 1: Download extension from project template

Download from Marketplace

image

Step 2: Create Project

Select project type as WebAPI, and select Hexagonal Architecture

image

Step 3: Select Hexagonal Architecture project template

Select project type as Web API, and select Hexagonal Architecture

image

Step 4: Project is ready

image

Step 5: Build and run application

Health check UI

Navigate to Health Checks UI https://localhost:44377/healthcheck-ui and make sure everything is green.

** Change port number according to your application

image

Swagger UI

Swagger UI https://localhost:44377/OpenAPI/index.html

** Change port number according to your application

image

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
    Note: while commiting message follow conventional standard
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Project description

we can see that all the Layers are dependent only on the Core Layers

Domain Api layer

Domain Api Layers (Core layer) is implemented in center and never depends on any other layer.
It is contract for domain layer interaction(ports) so that primary and secondary adapters can implement the contract.This is also known and DIP or Dependency Inversion Principle

Domain layer

Domain Layers (Business layer) which has business logic. and it is keep clean with no other dependencies.

Rest Adapter layer

Rest Adapter also known as left port's adapter and primary adapter where we implement restfull service (i.e., GET, POST, PUT, DELETE, etc)

Persistence Adapter layer

Rest Adapter also known as right port's adapter and secondary adapterwhere we have implement Entityframework core which already implements a repository design pattern. DbContext will be UoW (Unit of Work) and each DbSet is the repository. This interacts with our database using dataproviders

Bootstrap/Presentation Layer

This is final build of project, where it all begins

Licence Used

GitHub license

See the contents of the LICENSE file for details

Contact

Having any issues or troubles getting started? Drop a mail to [email protected] or Raise a Bug or Feature Request. Always happy to help.

Acknowledgements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].