webfarm

Any examples of implementing DotNetOpenId on ASP.NET State Server?

We have dotopenopenId implemented on our web farm which currently uses scaleout. We want to replace ScaleOut with ASP.NET State Server, but I'm wondering if there are any examples of the interfaces that need to be built for the AssociationStore and the ProviderStore. ...

Can't use WCF NetPeerTcpBinding in ASP.NET?

I write applications for web farms and I wanted to create a simple peer network between server applications so they could pass messages to each other. For example, to coordinate when dropping cache items, or to increment a shared counter to have a better shared view of a crucial statistic. But apparently this isn't possible. I had pee...

Cheapest way to mirror an ASP web application on IIS with SQL Server Express

Rather than relying on one server, is it possible to achieve high availability with two servers and no hardware load balancer? Either Network Load Balancing and have SQL Server Express mirrored between the two servers (IIS would be on both servers too) or using something like Round Robin DNS and again mirrored databases between two serv...

Http Error 12031 when calling a Web Service Method in Web Farm Environment

Hi All, Currently we have an ASP.NET application running on 3 web servers (in a webfarm). We have an ASMX Webservice with ScriptService enabled, and we used it with ScriptManager in some of our ASPX pages and invoked some methods using javascript (with Microsoft Ajax Framework). Our problem is that when more than 1 servers are running...

Multiple webservice calls

I have a webservice (ASP.NET) deployed on a webfarm. A client application consumes it on daily basis. The problem is that some of its calls are duplicated (with difference of milliseconds). For example I have a function Foo(string a,string b). The client app calls this webmethod as Foo('test1','test2') once but my log shows that it is be...

How can we cache running webservice through c# in webfarm scenario?

I want to cache running web services in webfarm scenario. ...

In a web farm environment, should we base the system date/time to the web servers or the database server?

Assuming there are a number of load-balanced web servers in a web farm, is it safe to use the app/web server time in the application code for getting the system date/time or should we leave this responsibility to the database server? Would there be a chance that machine date/time settings on all servers in the webfarm are out of sync? ...

Can we use Web Farm and Web Garden together ?

Web farm is used for multiple request and multiple user using switching among them. Web Garden creates worker processes for every processor individually for one user. Is it possible to use worker process as a switch and convert it into Web Farm that can allocate multiple processor on bases of algorithm? ...

How to configure web farm in ASP.NET ?

What changes are required in web.config file to configure Web Farm ? ...

ASP.NET session lost but only for one particular user

I have an ASP.NET application that is running on two load balanced servers. Everything is working fine except for one group of customers. All of these customers are coming from the same company. Randomly, an unhandled NullReferenceException error is thrown. It happens at random times in random places. It seems as if the session is j...

Asp.Net GetVaryByCustomString(...) in web farm scenario

We have a problem with output caching used within a web farm environment which cannot be replicated in a single node situation. An un-cached page has an un-cached parent user control which has child user controls which are cached. The time to cache is set by setting the PartialCachingAttribute on the user control's class declaration and ...

SharePoint In 2 Locations - any way of making fast for both?

Our company has offices in the US and the UK. We have a MOSS 2007 SharePoint installation which is located in the US but both UK and US use and share the same content. As a result, our UK office finds the speed at which SharePoint runs really slow and so that gives a bad user experience. Is there anything that can be done to make it ...

ASP.NET and distributed caching in more than one web server

I need distributed cache to be used in more than one web server. I've tried a file based cache dependency, but it doesn't work in UNC path. I think .NET can not monitor the files on the UNC path. I know that Microsoft has presented a new feature in Velocity. But, is there any other solution (like memcache in PHP)? ...

How do you manage large web farms?

I have a quickly growing web farm running IIS 7 (30+ servers). All servers are identical copies of each other and all servers are physical. We update the software about once a month, and in the current process, we follow the following steps: 1) Disable server from pool on F5 load balancer. 2) Disable HTTP Keep-alives in IIS so connect...

Synchronize access to keys stored in distributed cache (SharedCache)

In my project I am using SharedCache as a distributed caching mechanism. There are multiple instances of a service deployed in webfarm which accesses this cached data. The data which is cached is transient and can have updates. I would like to know if there is any way we can synchronize the access to the data between two or more services...

Are there any patterns for monitoring log4net exception logs from across a cluster of web servers?

Hi there, Are there any patterns or practices for monitoring log4net exception logs across a cluster of web servers. I have considered several options including the following: A central database A log file retrieval system A service based loggin architecture Thanks, Richard ...

Make an ASP.NET MVC application Web Farm Ready

What will be the most efficient way to make an ASP.NET MVC application web-farm ready. Most importantly sharing the current user's information (Context) and (not so important) cached objects such as look-up items (States, Street Types, counties etc.). I have heard of/read MemCache but haven't seen a simple applicable way (documentatio...

Web application architecture in a web farm

I know there are a some changes to a web application when moving from a single web server to two, or more, web servers. But architectually, are there any other changes to consider when adding more servers to the farm? I understand deployment would become more complex with more servers in the farm. I ask because a while ago during an in...

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

Hi, 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 me a couple of headaches (Everything I've read tells me that handling sessions on a ...

storage for uploaded images on a web farm

I work on mvc.net application. Client is going to move production on a cluster environment. The problem is I store images in the local file system. Images can be dynamically uploaded by users through web site interface. How can I change the application in order to keep the images in working state? The possible solution is the using of s...