How Enumerable.Concat brought down a production server

Posted on Wed 26 November 2014 in Coding • Tagged with .net, linq, iis

TL;DR Using Enumerable.Concat to build a long sequence one item at a time is a particularly bad idea, since enumerating the items will consume a lot of stack space.

A while ago, a customer reported that our .NET application running in IIS started crashing on user registration after …


Continue reading