Open in app

Sign In

Write

Sign In

Christian Zink
Christian Zink

612 Followers

Home

About

Published in ITNEXT

·Jul 15, 2021

How to use Redis and Lua Scripts in a C# ASP.NET Core Microservice Architecture

Use StackExchange.Redis and run Redis in Docker to Cache Aggregated Database Data for a Scaled C# Application — Redis has many great use-cases like session or full page caching, queues, pub/sub and leaderboards/counting, etc. Usable in your applications and microservice architectures. In this article, I show you how to use StackExchange.Redis in ASP.NET Core to access a Redis server running in Docker.

Aspnetcore

3 min read

How to use Redis and Lua Scripts in a C# ASP.NET Core Microservice Architecture
How to use Redis and Lua Scripts in a C# ASP.NET Core Microservice Architecture
Aspnetcore

3 min read


Published in ITNEXT

·Jun 30, 2021

How to Cache Aggregated Data with Redis and Lua Scripts for a Scaled Microservice Architecture

A scaled microservice-based application with a huge amount of growing data has a challenge to effectively deliver aggregated data like top lists. In this article, I show you how to use Redis to cache the aggregated data. …

Redis

5 min read

How to Cache Aggregated Data with Redis and Lua Scripts for a Scaled Microservice Architecture
How to Cache Aggregated Data with Redis and Lua Scripts for a Scaled Microservice Architecture
Redis

5 min read


Published in ITNEXT

·Jun 20, 2021

How to Scale an ASP.NET Core Microservice and Sharded Database. Load Test with JMeter

Run multiple DBMS and C# Containers Behind an HAProxy Load Balancer with Docker Compose. Test Scaling with Different Number of Instances — In the previous article, you created a microservice architecture and manually implemented application-layer database sharding. Now, you will scale the application and run multiple container instances of the microservice and databases. You will use Docker Compose and an HAProxy load balancer:

Jmeter

7 min read

How to Scale an ASP.NET Core Microservice and Sharded Database. Load Test with JMeter
How to Scale an ASP.NET Core Microservice and Sharded Database. Load Test with JMeter
Jmeter

7 min read


Published in ITNEXT

·Jun 12, 2021

How to use Database Sharding and Scale an ASP.NET Core Microservice Architecture

Load Balance a C# ASP.NET Core Service and Use MySql App-Layer Sharding. Shows the Concepts, Which Also Apply to MongoDB, etc. — One of the big advantages of microservices is, that they can be scaled independently. This article shows the benefits and challenges of scaling one microservice and its database. You will create a working example application and manually implement application-layer sharding. It shows how to choose a shard key based on…

Aspnetcore

5 min read

How to use Database Sharding and Scale an  ASP.NET Core Microservice Architecture
How to use Database Sharding and Scale an  ASP.NET Core Microservice Architecture
Aspnetcore

5 min read


Published in ITNEXT

·May 26, 2021

The Outbox Pattern in Event-Driven ASP.NET Core Microservice Architectures

How to Build a Resilient Architecture with RabbitMQ, C#, Entity Framework, and the Transactional Outbox Pattern — In the first step, you will create two microservices. Each microservice has its own database. They use events to publish changes to a RabbitMQ event bus. (You can skip this part if you already implemented it in my last article). Next, you will see how messages get lost e.g. when…

Aspnetcore

6 min read

The Outbox Pattern in Event-Driven ASP.NET Core Microservice Architectures
The Outbox Pattern in Event-Driven ASP.NET Core Microservice Architectures
Aspnetcore

6 min read


Published in ITNEXT

·May 16, 2021

How to Build an Event-Driven ASP.NET Core Microservice Architecture

Use RabbitMQ, C#, REST-API and Entity Framework for asynchronous decoupled communication and eventually consistency with integration events and publish-subscribe — In this guide, you will create two C# ASP.NET Core Microservices. Both microservices have their own bounded context and domain model. Each microservice has its own database and REST API. One microservice publishes integration events, that the other microservice consumes.

Aspnetcore

7 min read

How to Build an Event-Driven ASP.NET Core Microservice Architecture
How to Build an Event-Driven ASP.NET Core Microservice Architecture
Aspnetcore

7 min read


Published in ITNEXT

·May 4, 2021

How to Add MySql & MongoDB to a Kubernetes .Net Core Microservice Architecture

How to add a MySQL DB and a MongoDB replica set in K8S on Docker desktop using persistent volumes and access the databases from ASP.NET Core, C# and Angular — In this guide, you will use databases in a raw microservice-based cloud architecture. It starts with a single MySQL instance and continues to a MongoDB replica set with a headless Kubernetes service. Both databases use persistent volumes. The databases are accessed by ASP.NET Core backend services and use Angular as…

Kubernetes

6 min read

How to Add MySql & MongoDB to a Kubernetes Microservice Architecture
How to Add MySql & MongoDB to a Kubernetes Microservice Architecture
Kubernetes

6 min read


Published in Level Up Coding

·Apr 11, 2021

Kubernetes Angular ASP.NET Core Microservice Architecture

How to use K8S on Docker Desktop with Ingress to Develop Locally for the Cloud Using an ASP.NET Core C# REST API and Angular. — Kubernetes runs in a local environment with docker desktop. It is similar to a cloud environment. You can use it for developing and testing. There are no extra costs. You can always easily deploy it later to the cloud. In this guide, you will create a raw microservice-based cloud architecture…

Aspnetcore

6 min read

Kubernetes Angular ASP.NET Core Microservice Architecture
Kubernetes Angular ASP.NET Core Microservice Architecture
Aspnetcore

6 min read


Published in Level Up Coding

·Mar 31, 2021

How to JWT Authenticate with Angular to an ASP.NET Core C# API (OpenAPI/Swagger) using NSwag TypeScript

This guide shows you how to use NSwag to automatically add an OpenAPI specification to an ASP.NET Core C# REST-API. It also serves the Swagger UI to the browser. You will use NSwag Studio to generate a TypeScript client. Then you add the strongly typed client to your Angular app…

Openapi Specification

4 min read

NSwag OpenAPI for Angular & .Net Core Auth
NSwag OpenAPI for Angular & .Net Core Auth
Openapi Specification

4 min read


Published in Level Up Coding

·Mar 11, 2021

How to Sign-In with Google in Angular and use JWT based .NET Core API Authentication (RSA)

This guide shows you all the steps to build an Angular SPA with a focus on authentication. The single-page web application uses Sign-In with google and angularx-social-login. The .NET Core authentication backend creates asymmetrically signed tokens to access another REST-API. …

Angular

7 min read

How to Sign-In with Google in Angular and use JWT based ASP.NET Core API Authentication (RSA)
How to Sign-In with Google in Angular and use JWT based ASP.NET Core API Authentication (RSA)
Angular

7 min read

Christian Zink

Christian Zink

612 Followers
Following
  • gravity well (Rob Tomlin)

    gravity well (Rob Tomlin)

  • ITNEXT

    ITNEXT

See all (6)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech