darcon77
darcon77
Implement custom API Explorer like so: ```csharp public class FilteredApiExplorer : IApiExplorer { public Collection ApiDescriptions { get; } public FilteredApiExplorer(IApiExplorer explorer) { ApiDescriptions = new Collection(explorer.ApiDescriptions .Where(d => !d.ActionDescriptor.ControllerDescriptor.ControllerType.FullName.Contains("FileConfigurationController"))...
Getting "The remote host closed the connection" Exception for some user's when navigate the website.
Is there a way to catch and handle this exception? It causes app pool recycle that we cannot allow.
Getting "The remote host closed the connection" Exception for some user's when navigate the website.
An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/11/ROOT Process ID: 4444 Exception: System.AggregateException Message: A Task's exception(s) were not observed either by Waiting on the Task...
Getting "The remote host closed the connection" Exception for some user's when navigate the website.
Yes it's 1.1.2 on .NET 4.0. No repro sorry. Its a web application that implements hubs. I can't reproduce this in dev environment, so not sure what causes it. I...
Getting "The remote host closed the connection" Exception for some user's when navigate the website.
Awesome, thanks
Getting "The remote host closed the connection" Exception for some user's when navigate the website.
The article about UnobservedTaskException talks about enabling throwing of the exception in .NET 4.5 where it's not thrown by default. It didn't mention anything about NOT throwing in .NET 4.0....
Getting "The remote host closed the connection" Exception for some user's when navigate the website.
Think that did the trick. Fingers crossed. Here's the implementation I used: protected void Application_Start(object sender, EventArgs e) { TaskScheduler.UnobservedTaskException += new EventHandler((s, arg) => { arg.SetObserved(); ((AggregateException)arg.Exception).Handle(ex => {...
There seems to be a widespread issues with 2.0. Most likely these timeouts are caused by the fact that CPU utilization using Version 2.* of StackExchange.Redis is 100%. Any update...
@mgravell Do you have any explanation about why would it work without debugger attached, but fail when debugging?