Questions tagged [web-farm]

Collection of web servers or services deployed behind a load balancer. Also called a server cluster.

Collection of web servers or services deployed behind a load balancer. Also called a server cluster.

For more explanation see the links:

https://en.wikipedia.org/wiki/Server_farm

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

221 questions
6
votes
2 answers

MVC 3 tempdata container disadvantages

Although the question title appears a bit subjective I am sure there is not a lot to discuss. I am currently working on a MVC project where I am using TemData container in some areas. When I read the documentation in MSDN, it appears that using…
NiK
  • 1,827
  • 1
  • 20
  • 37
6
votes
3 answers

SessionID changing across different instances in Azure (and probably in a web farm)

I have a problem with an Azure project with one WebRole but multiple instances that uses cookieless sessions. The application doesn't need Session storage, so it's not using any session storage provider, but I need to track the SessionID.…
vtortola
  • 34,709
  • 29
  • 161
  • 263
6
votes
1 answer

Authentication with a Web farm

Given the idea of a web application (.NET 3.5+) Browser web app the authentication using forms will result in a similar line of code FormsAuthentication.SetAuthCookie(strUsrNm, True) this is fine in a non load balanced server instance. how does…
dbones
  • 4,415
  • 3
  • 36
  • 52
6
votes
1 answer

Use Web Garden to simulate Web Farm session issues?

I just stumbled across the concept of a "Web Garden" in an IIS App Pool. That is, when more than one process serves the same webpage. From what I understand, this means ASP.NET InProc sessions have the same problems as a web farm. My question is,…
Nelson Rothermel
  • 9,436
  • 8
  • 62
  • 81
6
votes
1 answer

ASP.NET MVC CookieTempDataProvider: any experience?

UPDATE: looks like I've misunderstood what TempData is for and what it isn't. It definitively shouldn't be used to "keep certain session-wide data" as I asked initially (see ASP.NET MVC TempData Is Really RedirectData why). I've modified the…
Igor Brejc
  • 18,714
  • 13
  • 76
  • 95
5
votes
2 answers

Setting up persistent forms authentication on multiple servers and subdomains

I'm trying to set up forms authentication across multiple servers and subdomains. I have static machine keys set up for each application like so:
Ian Garrison
  • 747
  • 6
  • 7
5
votes
3 answers

Create an scalable ASP.Net MVC web site without using Session

I'm working on a Web project using Asp.Net MVC, which I'll have to deploy to a farm environment. I've read a lot of articles and I'm thinking on disabling completely the SessionState, I think this would make a more robust application, and will save…
willvv
  • 8,439
  • 16
  • 66
  • 101
5
votes
1 answer

Can/should SignalR Backplane be used to build a distributed cache?

Our web app uses in-memory caching (Application Data Caching) to improve throughput such that frequently queried data does not have to be loaded from the database (SQL Server) for every request. Potentially, it will be deployed in a web-farm so we…
Dejan
  • 9,150
  • 8
  • 69
  • 117
5
votes
1 answer

SignalR connection management in a web farm

We are using SignalR in a large scale web application. We have deployed multiple web servers handling signalR connections. We have our own Redis backplane implemented, I have the following question: SignalR makes three calls to the server: 1)…
guruprasath
  • 277
  • 3
  • 17
5
votes
3 answers

How best to generate a random salt for a Web Site?

i'm wanting to generate a random salt value and put it into the Application state. Now, i'm using a web farm, so the Application state will be different per machine. I don't want to purchase distributed state farm apps, either. So .. what are some…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
5
votes
4 answers

Using DPAPI / ProtectedData in a web farm environment with the User Store

I was wondering if anyone had successfully used DPAPI with a user store in a web farm enviroment? Because our application is a recently converted from 1.1 to 2.0 ASP.NET app, we're using a custom wrapper which directly calls the CryptUnprotect…
Lachman
5
votes
4 answers

Experiences using software load balancing vs. a hardware load balancer?

The ASP.NET application that I am currently responsible for at my day job has hit its limit in terms of its ability to scale inside a single server. Obviously we are working toward moving session out of process and the test and hopefully deploy date…
MikeJ
  • 14,430
  • 21
  • 71
  • 87
4
votes
1 answer

ASP.Net 4.0 web farm caching

In ASP.Net 4.0 which is the best way of storing the cache object when we go with webfarm , 1) Windows Server AppFabric 2) Separate State Machine / SQL Server 3) Thrid party caching mechanisms / Others ?.
kayak
  • 1,805
  • 5
  • 18
  • 22
4
votes
1 answer

ARR and MVC3: The virtual path 'null' maps to another application, which is not allowed

I followed Scott Guthrie's suggestion of trying Microsoft Web Farm Framework, added Application Request Routing, and added an ASP.NET MVC 3 unmodified website. If I remove the inbound rule for IIS's "URL Rewrite", it shows the website. If I add…
Zachary Scott
  • 20,968
  • 35
  • 123
  • 205
4
votes
5 answers

Scaling an ASP.NET application

This is a very broad question, but hopefully I can get useful tips. Currently I have an ASP.NET application that runs on a single server. I now need to scale out to accommodate increasing customer loads. So my plan is to: 1) Scale out the ASP.NET…
AdrianJ
  • 63
  • 1
  • 3
1
2
3
14 15