Code-maze.com

Health Checks in ASP.NET Core

Health Checks allow us to determine the overall health and availability of our application infrastructure.They are exposed as HTTP endpoints and can be configured to provide information for various monitoring scenarios, such as the response time and memory usage of our application, or whether our application … See more

Actived: 7 days ago

URL: https://code-maze.com/health-checks-aspnetcore/

Tracking Application Health With OpenTelemetry Metrics in .NET

WEBThese metrics provide insight into the availability, health, and performance of our applications. They allow us to compare values over time, to determine if our …

Category:  Health Go Health

OpenTelemetry in .NET

WEBObservability. Before we start to explore OpenTelemetry in-depth, let’s cover a fundamental, related topic – observability. When talking about observability in relation …

Category:  Health Go Health

Building Distributed Applications With .NET Aspire

WEBbuilder.Build().Run(); In the AppHost ‘s Program class, we use the AddRedisContainer() method passing the name of “cache” to register a Redis container. …

Category:  Health Go Health

How to Test gRPC Services in ASP.NET Core

WEBTest gRPC Services With Integration Testing. To start with integration testing of the gRPC service, first, we need to check if we are creating both client and server …

Category:  Health Go Health

Scale Your Services With Service-Oriented Architecture in .NET

WEBAdditionally, they offer service health monitoring, security, logging, and API load balancing. Conclusion. In this article, we discussed Service-Oriented Architecture …

Category:  Health Go Health

How to Implement Audit Trail in ASP.NET Core Web API

WEBAn audit trail refers to the record of all activities that the users perform in an application. We use it to identify who accessed the application, what changes were …

Category:  Health Go Health

How to Unit Test ILogger in ASP.NET Core

WEBUnit Test ILogger Using Mocked Logger. The first approach we take to test ILogger is to mock an instance of the logger. To set everything up, we need to install the …

Category:  Health Go Health

In-Memory Caching in ASP.NET Core

WEBASP.NET Core supports two types of caching out of the box: In-Memory Caching – This stores data on the application server memory. Distributed Caching – …

Category:  Health Go Health

ASP.Net Core MVC Tutorial

WEBThe ASP.NET Core MVC is a lightweight, open-source, and highly testable framework that seamlessly integrates with the ASP.NET Core. ASP.NET Core MVC provides a patterns …

Category:  Health Go Health

Integration Testing in ASP.NET Core

WEBusing Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; Our class implements the …

Category:  Health Go Health

Testing Controllers with Unit Tests and Moq in ASP.NET Core

WEBAlso, you will see that testing controllers with unit tests is not that hard at all. In the first test, we are going to verify that the Index action returns a result of type …

Category:  Health Go Health

Using MassTransit with RabbitMQ in ASP.NET Core

WEBMassTransit is a free, open-source, distributed application framework for .NET applications. It abstracts away the underlying logic required to work with message …

Category:  Health Go Health

How to Build a Multitenant Application with ASP.NET Core

WEBBuild Multitenant Application with ASP.NET Core Web API. So, let’s think about the effective strategy for the inventory app we’re talking about. We’re going to …

Category:  Health Go Health

How to Use RabbitMQ in ASP.NET Core

WEBusing var channel = connection.CreateModel(); Ensuring we use the RabbitMQ.Client namespace, we first create a new ConnectionFactory, using the …

Category:  Health Go Health

Creating Resilient Microservices in .NET with Polly

WEBCreating a “Fallback” Policy. The easiest way to do this is via the NuGet package manager console: PM> install-package Polly. The first and most simple way to …

Category:  Health Go Health

API Versioning in ASP.NET Core

WEBoptions.GroupNameFormat = "'v'VVV"; options.SubstituteApiVersionInUrl = true; }); The specified format code GroupNameFormat will format the version as …

Category:  Health Go Health

Implementing API Gateway with Ocelot in ASP.NET Core

WEBTo finalize, we should modify the launchSettings.json file to set up this microservice to start at port 5002 and to don’t use the swagger page (similar to the …

Category:  Health Go Health

Automated UI Tests with Selenium and ASP.NET Core

WEBSo, let’s get down to business. Selenium Installation in the Test Project. First thing first. We are going to create a new xUnit test project and name it …

Category:  Health Go Health

Testing Using Testcontainers for .NET and Docker

WEBUnderstanding Testcontainers. Testcontainers is an open-source library that provides a simple and efficient way to manage containers for testing purposes. It does …

Category:  Health Go Health

Different Log Levels in Serilog

WEBBefore we can take a look at the different logging levels, we need to configure our project to use Serilog: var builder = WebApplication.CreateBuilder(args); …

Category:  Health Go Health