.NET tutorials

How to use SignalR when receiving a message from a RabbitMQ queue in .NET Core

How to use SignalR when receiving a message from a RabbitMQ queue in .NET Core

Use the IHostApplicationLifetime parameter and Dependency Injection to consume a RabbitMQ on startup and send a SignalR message once a message is received.
Using LINQ expressions to build dynamic queries in Entity Framework

Using LINQ expressions to build dynamic queries in Entity Framework

Make use of LINQ expressions to produce a Lambda expression dynamically. Build an expression for Entity Framework with the following clauses: And, Or, Any.
How the Mediator design pattern simplifies an application

How the Mediator design pattern simplifies an application

See the benefits of the mediator design pattern with MediatR. Example of how to set up a request, send it through a request handler and return a response.
A beginners guide to xUnit

A beginners guide to xUnit

Use XUnit, the unit testing framework to create "Fact" and "Theory" methods and how you can use your constructor and the IDisposable objects in tests.
An efficient way of handling multiple actions through one route

An efficient way of handling multiple actions through one route

Using a singleton is Dependency Injection to run and store all the different types of URL's and routing those URL's to different controllers and actions in MVC.
Changing controllers and actions using one route in ASP.NET Core

Changing controllers and actions using one route in ASP.NET Core

Find out how to build the functionality to direct one route to multiple controllers and actions in ASP.NET Core MVC and how it differs to ASP.NET MVC.