Does ASP.NET 4.5 still throw an exception when MaxHttpCollectionKeys is exceeded?
We have an ASP.NET web forms page that may submit more than 1000 form items and we previously had to increase the MaxHttpCollectionKeys default limit to get the page to work. I have recently upgraded the project containing this page to .NET 4.5.1 and after removing the MaxHttpCollectionKeys element I now can't reproduce the original problem. I'd like to know if it's safe to remove MaxHttpCollectionKeys from the web.config file but obviously I don't want to re-introduce the original problem.
This MSDN page for .NET 4.5.1 does include MaxHttpCollectionKeys in its list of appSettings configuration keys and it says the default is 1000.
http://msdn.microsoft.com/en-us/library/hh975440.aspx
I can't find any post that says the limit has been removed or increased in .NET 4.5, but if that's the case why can I submit a page with over 1000 form items? (I debugged the page using Visual Studio and the Request.Form.Count was 1411). The PC has all security updates applied via Windows Update so as far as I know it should enforce the limit.
Thanks for any guidance on this.
Richard