Category Archives: C#

C# – Redis Cache

By | 06/04/2022

In this post, we will see how to manage Redis Cache in a Web API .NET Core project.But first of all, what is Redis Cache?From Redis web site:“Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes,… Read More »

Category: C# Tags:

C# – GraphQL API query in ASP.NET Core (Part I)

By | 16/03/2022

In this post, we will see how to create and consume GraphQL API query using .NET Core.But first of first, what is GraphQL?From GraphQL website:“GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API,… Read More »

Category: C# Tags:

C# – Worker Services

By | 09/02/2022

In this post, we will see how to create a Worker Service in .net core to read messages in a RabbitMQ queue.But first of all, what is a Worker Service?From Microsoft web site:“Background service processing usually doesn’t involve a user interface (UI), but UIs can be built around them. In the early days with .NET… Read More »

Category: C# Tags:

C# – RabbitMQ

By | 19/01/2022

In this post, we will see how to send notification using RabbitMQ with C#.But first of all, what is RabbitMQ?“RabbitMQ is a message-broker that offers multiple messaging protocols and features that help components asynchronously pass data (in the form of messages) among one another.”In RabbitMQ the messages are not published directly to a queue but,… Read More »

Category: C# Tags:

C# – Yield

By | 15/09/2021

In this post, we will see how to use the Yield keyword in a C# application.But first of all, what is Yield?From Microsoft web site:“When you use the yield contextual keyword in a statement, you indicate that the method, operator, or get accessor in which it appears is an iterator. Using yield to define an… Read More »

Category: C# Tags: