How to setup an Asp.Net MVC CORE 6 application in Web Farm through Windows Server 2019 / 2022?

mehmood tekfirst 766 Reputation points


We have a windows server 2019 and Windows server 2022.

We need to deploy an Asp.Net MVC Core 6 application.

Now we are facing at some point, our web site is increasing the traffic.

So we want to setup another server with it.

Now what we have is

There are three servers.

One server is used for centralize the database (Sql Server 2017 Web Edition)

Two servers are used for the deployment of web application (Asp.Net MVC CORE 6).

Please guide me

A set of technologies in the .NET Framework for building web applications and XML web services.
2,591 questions
Internet Information Services
No comments
{count} votes

Accepted answer
  1. Bruce ( 28,276 Reputation points

    are you going to use a load balancer or just dns entry with multiple ipaddresses?

    you will have to make shared resources are shared. if you use in-memory caches, and they must match on each server you may have to switch to another technology like a distributed cache.

    if you use identity, cookies, etc, then you will need to configure a common storage for data protection keys:

    overview see:

0 additional answers

Sort by: Most helpful