All Projects β†’ ardalis β†’ Cleanarchitecture.workerservice

ardalis / Cleanarchitecture.workerservice

Licence: mit
A solution template using Clean Architecture for building a .NET Core Worker Service.

Projects that are alternatives of or similar to Cleanarchitecture.workerservice

Go Bank Transfer
Simple API for banking routines using a Clean Architecture in Golang. πŸ’³ πŸ’° πŸ’Έ
Stars: ✭ 123 (-13.38%)
Mutual labels:  architecture, clean-architecture, clean-code
Android Kotlin Clean Architecture
Android Sample Clean Architecture App written in Kotlin
Stars: ✭ 1,562 (+1000%)
Mutual labels:  architecture, clean-architecture, clean-code
Dev Stuff
😎 Programming stuff for everyone. Collection of articles, videos about architecture, Domain Driven Design, microservices, testing etc.
Stars: ✭ 105 (-26.06%)
Mutual labels:  architecture, clean-architecture, clean-code
iOS-Clean-Architecture-Example
An iOS app designed using clean architecture and MVVM.
Stars: ✭ 50 (-64.79%)
Mutual labels:  clean-code, architecture, clean-architecture
Android Modular Architecture
πŸ“š Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
Stars: ✭ 2,048 (+1342.25%)
Mutual labels:  architecture, clean-architecture, clean-code
Cleanaspnetcorewebapi
Starter project for creating APIs built on ASP.NET Core using clean architecture.
Stars: ✭ 279 (+96.48%)
Mutual labels:  architecture, clean-architecture, clean-code
Architecture
.NET 6, ASP.NET Core 6, Entity Framework Core 6, C# 10, Angular 13, Clean Code, SOLID, DDD.
Stars: ✭ 2,285 (+1509.15%)
Mutual labels:  architecture, clean-architecture, clean-code
Modular Monolith With Ddd
Full Modular Monolith application with Domain-Driven Design approach.
Stars: ✭ 6,210 (+4273.24%)
Mutual labels:  architecture, clean-architecture, clean-code
Go Clean Architecture
πŸ‘¨β€πŸ’» REST API example, built by following Uncle Bob’s clean architecture principles
Stars: ✭ 133 (-6.34%)
Mutual labels:  architecture, clean-architecture, clean-code
Android Clean Architecture Mvvm Dagger Rx
Implemented by Clean Architecture, Dagger2, MVVM, LiveData, RX, Retrofit2, Room, Anko
Stars: ✭ 138 (-2.82%)
Mutual labels:  clean-architecture, clean-code
Php Programming Best Practices
Referencia para los desarrolladores de Tiendanube y para la comunidad de PHP.
Stars: ✭ 138 (-2.82%)
Mutual labels:  clean-architecture, clean-code
Swift Cleanarchitecture
Simple Swift project applying concepts inspired on the Clean Architecture
Stars: ✭ 133 (-6.34%)
Mutual labels:  architecture, clean-architecture
Clean Arch Pokemon
Clean Architecture de um modo divertido e prΓ‘tico integrando uma API com uma API de PokΓ©mon.
Stars: ✭ 103 (-27.46%)
Mutual labels:  clean-architecture, clean-code
Clean Architecture
A (work-in-progress) guide to the methodology behind Made Tech Flavoured Clean Architecture
Stars: ✭ 101 (-28.87%)
Mutual labels:  clean-architecture, clean-code
Study Path
An organized learning path about Clean Code, Test-Driven Development, Legacy Code, Refactoring, Domain-Driven Design and Microservice Architecture
Stars: ✭ 1,357 (+855.63%)
Mutual labels:  clean-architecture, clean-code
Ios Architectures
Sample app for iOS architectures
Stars: ✭ 90 (-36.62%)
Mutual labels:  architecture, clean-architecture
Polysemycleanarchitecture
Showcasing how the Polysemy library can be used to implement a REST application conforming to the guidelines of the Clean Architecture model.
Stars: ✭ 106 (-25.35%)
Mutual labels:  architecture, clean-architecture
Clean Code Javascript
πŸ› Clean Code concepts adapted for JavaScript
Stars: ✭ 62,912 (+44204.23%)
Mutual labels:  clean-architecture, clean-code
Clean Flutter
This repo is a small explanation of clean architecture on with flutter framework and some test where added
Stars: ✭ 108 (-23.94%)
Mutual labels:  clean-architecture, clean-code
Deptrac
Keep your architecture clean.
Stars: ✭ 1,784 (+1156.34%)
Mutual labels:  architecture, clean-architecture

CleanArchitecture.WorkerService

A solution template using Clean Architecture for building a .NET Core 3.1 Worker Service.

Give a Star! ⭐️

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

Credits

Big thanks to all of the great contributors to this project!

Getting Started

Install the ef core cli tools dotnet tool install --global dotnet-ef. If you already have an old version, first try dotnet tool update --global dotnet-ef --version 3.1.0-*, if that doesn't work, see Updating Ef Core Cli First, delete C:\Users{yourUser}.dotnet\tools.store\dotnet-ef tool.

This app is currently configured to run against a localdb SQL Server instance. To configure this, you will need to run dotnet ef database update in the src\CleanArchitecture.Worker folder before running the app.

Check the connection string in appsettings.json in the CleanArchitecture.Worker project

Clone or download the repository. Open it in Visual Studio and run it with ctrl-F5 or in the console go to the src/CleanArchitecture.Worker folder and run dotnet run.

On startup the app queues up 10 URLs to hit (google.com) and you should see it make 10 requests and save them to the database and then do nothing, logging each second.

Using this for your own worker service

To use this as a template for your own worker server projects, make the following changes:

  • Rename CleanArchitecture to YourAppName or YourCompany.YourAppName
  • Configure the connection string to your database if you're using one
  • Replace InMemory queue implementations with Azure, AWS, Rabbit, etc. actual queues you're using
  • Remove UrlStatusHistory and related services and interfaces

References

Useful Pluralsight courses:

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].