开发者

asp.net mvc3 rc2 app deployed to hosting crashes, how can i find out why?

开发者 https://www.devze.com 2023-01-31 02:57 出处:网络
I deployed my asp.net mvc app to hosting and under real load it sometimes restart开发者_Python百科s. My guess is that it crashes.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消