I want to use the Microsoft's CDN for hosting the AJAX Library for my .NET 4.0 web application. However, I was asked to implement a fallback for when the CDN isn't available or when developers want to develop locally without internet. In these scenarios the ScriptManager should send the locally hosted copies rather than the CDN copies of the JavaScript. I know I can manually disable the CDN in the scriptmanager, but this can be tedious and potentially lead to missed configurations reaching production.
Is there a more elegant way to use a local copy of the JavaScript files without manually disabling CDN in every spot in code via ScriptManager?