asp.net mvc3 rc2 app deployed to hosting crashes, how can i find out why?
I deployed my asp.net mvc app to hosting and under real load it sometimes restart开发者_Python百科s. My guess is that it crashes. What are my ways of finding out why it does so?
my primary candidates are my Session[] and Application[] code. and maybe not disposed DbContexts.
But there should be a way to know why app restarted.
Have you tried setting up Elmah on your website?
This should let you see where your problems lie.
You can install it via Nuget -> install-package elmah
.
Make sure you secure it though so that Joe Public can't see it.
精彩评论