I have a LINQ to SQL/Unity/ASP.NET MVC/SQL Server application hosted on Azure. I am using Lazy Evaluation throughout the whole site. The Application is using a TCP connection to SQL Server and every so often I get a "A transport-level error has occurred when sending the request to the server." SqlException.
Well since the the query is getting materialized when it is called later in code, I can't just wrap a specific piece of code with a try/catch.
Is there a way that I can handle this exception by implementing an interface or attaching a delegate to the DataContext?