What should I check in my ASP.NET application to make sure it won't run out of resources?
We have a website on IIS7 using ASP.NET Routing that seems as though it might be running out of resources. It just hangs after a few days, there is no error message or apparent crash.
We are making sure every .Open command is matched by a .Close command on the database conne开发者_StackOverflow社区ction. We are doing the same with file Open/Close but there are very few of those.
Is there anything else we should check?
From another user response:
You want to add a rule to ignore certain routes. See: Asp.Net Routing: How do I ignore multiple wildcard routes? or http://haacked.com/archive/2008/07/14/make-routing-ignore-requests-for-a-file-extension.aspx
Try ELMAH
Call me in the morning (:))
精彩评论