• Stars
    star
    980
  • Rank 46,713 (Top 1.0 %)
  • Language
    C#
  • License
    BSD 3-Clause "New...
  • Created about 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A sample app for my online course "Clean Architecture: Patterns, Practices, and Principles" in .NET Framework 4.8

Clean Architecture Demo

A sample application for Clean Architecture: Patterns, Practices, and Principles using Microsoft .NET Framework 4.8.

This sample application is intended to be a learning tool for clean architecture practices. It incorporates several of these practices in a way that is simple and easy to understand.

If you'd like to learn more about this style of software architecture, please check out my online course Clean Architecture: Patterns, Practices, and Principles.

Branches

There are three branches in this project to demonstrate various practices:

  • master - contains the simplest implementation used to demonstrate the practices taught in the course at the expense of a bit of coupling with the IDbSet interface from Entity Framework

  • dbset-adaptor - uses a database adapter to completely decouple the application from the persistence layer -- a cleaner but slightly more complex approach

  • repo-and-uow - uses the repository and unit of work patterns to completely decouple the application from the persistance layer -- an even cleaner but also more complex approach

Technologies

This demo application uses the following technologies:

  • .NET Framework 4.8
  • C# .NET 7.3
  • ASP.NET MVC 5.2
  • Entity Framework 6.4
  • Visual Studio 2022
  • SQL Server 2019
  • StructureMap 4.7
  • NUnit 3.13
  • Moq 4.18
  • SpecFlow 3.9

Other Versions

For other versions of this sample application, please see the following:

More Repositories

1

clean-architecture-in-asp-net-mvc-5

An open-source sample project demonstrating how to implement Uncle Bob's Clean Architecture practice called "Screaming Architecture" in ASP.NET MVC 5.
C#
85
star
2

clean-architecture-core

A sample app for my online course "Clean Architecture: Patterns, Practices, and Principles" in .NET Core
C#
76
star
3

powerpoint-to-pdf

A set of Python scripts to convert PowerPoint (PPT/PPTX) files to Adobe PDF
Python
74
star
4

writing-testable-code

Sample code for my course on writing testable code
C#
44
star
5

ai-developers-toolkit

Demo code for my online course The AI Developer's Toolkit
Python
22
star
6

rename-images

A python script to rename image files based on date photo taken from EXIF metadata
Python
15
star
7

matthewrenze.com

Personal website of Matthew Renze
HTML
8
star
8

data-table-builder

Data Table Builder
C#
6
star
9

ren-z-keys

Maximize Your Keyboard Productivity with RenZkeys
AutoHotkey
4
star
10

dark-sky-weather-scripts

A set of Python scripts to get Dark Sky historical weather data based on Google location data
Python
3
star
11

genetic-algorithms

Genetic-algorithm solutions to common problems in computer science
Python
3
star
12

shortcuts-to-hyperlinks

A simple console application that converts a folder of windows shortcuts (.url) to an HTML page of hyperlinks.
C#
3
star
13

google-location-scripts

A set of Python scripts to convert, summarize, and reverse-geocode Google Location data
Python
3
star
14

sleep-to-csv

Converts Sleep as Android export files into .csv files.
C#
2
star
15

asteroids

An open-source top-down space shooter in the style of asteroids
HTML
2
star
16

website-link-checker

Checks a website for broken links
C#
2
star
17

gmail-contacts-filter

A script to create a Gmail filter based on your Google contacts
Python
2
star
18

red-green-refactor

A simple WPF application that helps you learn the red-green-refactor cycle of Test-Driven Development by allowing you to change the color of your second monitor.
C#
2
star
19

machine-learning-final-project

Machine Learning Final Project
HTML
1
star
20

iom-dat-to-csv

Converts Wild Divine IOM .dat files to .csv files
C#
1
star
21

datamunging

Final project for Data Science - Getting and Cleaning Data
R
1
star
22

jhu-reinforcement-learning

Final project for JHU EN.705.741- Reinforcement Learning
Python
1
star