An open API service indexing awesome lists of open source software.

https://github.com/goodtocode/templates

.NET samples for web-queue-worker durable tasks, microservices, n-tier
https://github.com/goodtocode/templates

Last synced: 24 days ago
JSON representation

.NET samples for web-queue-worker durable tasks, microservices, n-tier

Awesome Lists containing this project

README

        

# Quick-Start .NET Templates

This repository includes templates that can be cloned as working source code in C# .NET, or as an installable Visual Studio Extension Installer (VSIX) template, or as a template for you to build your own VSIX templates.

## Microservice Quick-Start
[![Build Status](https://dev.azure.com/GoodToCode/GoodToCode.com/_apis/build/status/gtg-rg-templates-microservices?branchName=main)](https://dev.azure.com/GoodToCode/GoodToCode.com/_build/latest?definitionId=85&branchName=main)
Microservice template that contains a simple microservice solution and pre-setup projects. Built via DDD, CQRS on the SOLID porinciple.

## Durable Task Framework Quick-Start
[![Build Status](https://dev.azure.com/GoodToCode/GoodToCode.com/_apis/build/status/gtc-rg-templates-durabletasks?branchName=main)](https://dev.azure.com/GoodToCode/GoodToCode.com/_build/latest?definitionId=83&branchName=main)
Durable Task Framework (DTFx) template contains a simple Event Sourcing solution and pre-setup projects.

## Semantic Kernel Framework Quick-Start
[![Build Status](https://dev.azure.com/GoodToCode/GoodToCode.com/_apis/build/status/gtc-rg-templates-durabletasks?branchName=main)](https://dev.azure.com/GoodToCode/GoodToCode.com/_build/latest?definitionId=83&branchName=main)
Semantic Kernmel template contains a simple AI (Open AI, Azure Open AI, etc.) solution and pre-setup projects.

## Repo Contents
Path | Contents | Description
--- | --- | ---
dotnet-durabletasks | src, vsix | Simple Microservice source and VSIX packaging
dotnet-microservices | src, vsix | Simple Durable Task Framework source and VSIX packaging
dotnet-semantickernel | src, vsix | Simple Semantic Kernel source and VSIX packaging
.azure | Azure ARM json | Azure Infrastructure required to host the items in this repo.
.azure-devops | Azure Devops yml | Azure DevOps Pipelines that build, test and deploy /.azure IaC and **/src folders
.github | GitHub Actions yml | GitHub workflows that build, test and deploy /.azure IaC and **/src folders

## Prerequisites
You will need the following tools:
* [Visual Studio Code or 2022](https://www.visualstudio.com/downloads/)
* [.NET Core SDK 6.0 or above](https://www.microsoft.com/net/download/dotnet-core/6.0)

## Contact
* [GitHub Repo](https://www.github.com/goodtocode/templates)
* [@goodtocode](https://www.twitter.com/goodtocode)
* [github.com/goodtocode](https://www.github.com/goodtocode)

## Clean Architecture
Clean Architecture is promoted by Microsoft on their .NET application architecture guide page. The e-book written by Steve "ardalis" Smith ([@ardalis](https://github.com/ardalis)) is beautifully written and well explains the beauty and benefits of using Clean Architecture. For more details, please see [**Architect Modern Web Applications with ASP.NET Core and Azure**](https://docs.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/).

## Architectures and Patterns
All .NET solutions adhere to the following:
* DDD + Onion Architecture
* CQRS Pattern
* Repository Pattern
### dotnet-microservices
* Microservice Architecture

### dotnet-durabletasks
* Web-queue-worker Architecture
* Event Sourcing Pattern

## Technologies
* .NET 6
* EF Core 6
* Azure Functions 4
* Durable Task Framework 2
* CosmosDb SDK v3
* Open API

# Give a star
:star: If you enjoy this project, or are using this project to start your exciting new project, or are just forking it to play, please give it a star. Much appreciated! :star: