12/14/12

Today I want to write about try and catch block in asp.net

I have developed a website and wrote try catch block where I have done traction with database. But then also IIS pool crashed and stop website to work. So now I am writing try catch everywhere.

Mainly on the content management, I have passed he value using sessions on every page and I am suspecting may be on some page the session has null value and raising exception. I pass session on page load method and never used try cache block.
So I am planning to check all the page and used try catch where ever is required

let see what happens !!!

No comments: