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

mehmood tekfirst 766 Reputation points
2022-12-23T10:01:49.21+00:00

Hi,

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

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,156 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bruce (SqlWork.com) 55,601 Reputation points
    2022-12-23T18:02:53.92+00:00

    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:

    https://learn.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-7.0

    overview see:

    https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/web-farm?view=aspnetcore-7.0

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful