Undoubtedly the most popular design pattern when writing distributed applicationis Pub/Sub. Turns out that there's another important design pattern used indistributed applications not as frequently mentioned, that can also beimplemented with queues: async resquests/responses. Async resquests/responsesare very useful and widely used to exchange data between microservices innon-blocking calls, allowing the resqueted service to throttle incoming requestsvia a queue preventing its own exhaustion.
This repo implements async resquest/response exchange between two ASP.NET Corewebsites via RabbitMQ queues using MassTransit. We'll also wire everything upusing Docker and Docker Compose.
To understand how to use this repo, make sure you read this article:
Async Request/Response with MassTransit, RabbitMQ, Docker and .NET core
This project is licensed underthe MIT License.
To learn more about this app, ASP.NET Core, Docker, Azure, Linux andmicroservices, check my blog at: blog.hildenco.com
Docker images for ASP.NET Core apps on Google Cloud This repo containes the definition of the Docker images for the .NET runtime to be able to run ASP.NET Core apps on App Engine Flexible environment
etec-aspnet-exercises Exercícios de ASP.NET do meu curso na ETEC Exercícios Todos os exercícios estão disponíveis no diretório exercises/.
aspnet-core-webapi Esse é um projeto para futuras consultas de técnicas empregadas com ASP.NET Core 2.2 aplicando API-Guidelines da Microsoft. Técnicas RESTfull Autenticação JWT Swagger Versionamento
Getting Started If you don't have Docker, download it from the address below. https://www.docker.com/products/docker-desktop Download this repository Open onion-architecture.sln with Visual studio Con
aspnet-distributed-caching Sample repo to demo an ASP.NET Core 3.1 website distributedcaching with Docker, MongoDB, Redis using Docker Compose. This is a sample application to demo Microservices in .N
async()函数是一个简单任务的”启动”(launcher)函数,它是本FAQ中唯一一个尚未在标准草案中投票通过的特性。我希望它能在调和两个略微不同的意见之后最终于10月份获得通过(记得随时骚扰你那边的投票委员,一定要为它投票啊?)。 下边是一种优于传统的线程+锁的并发编程方法示例(译注:山寨map-reduce哦): template<class T,class V> struct Accum