Explain weg config settings for exception managment in asp.net?
Answer Posted / vijay
You should configure exception management settings within
your application's Web.config file. The following is an
example of the exception settings in a Web.config file.
< customErrors defaultredirect="http://hostname/error.aspx"
mode="On"/>
< error statuscode="500" redirect="/errorpages/
servererror.aspx" />
< error statuscode="404" redirect="/errorpages/
filenotfound.htm" />
< /customErrors>
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between the while and for loop. Provide a .net syntax for both loops?
Is .net core managed code?
Conceptually, what is the difference between early-binding and late-binding?
What is the difference between imperative and interrogative code?
Can a dll be changed to an exe?
Tell about your technical profile ?
What is the difference between task and thread in .net?
Explain boxing and unboxing in .net.
What are the differences between user control and server control?
The project which you have made, which methodology did you use?
What is implement a generic action in webapi?
Explain the difference between asp.net and asp?
How can I find out what the garbage collector is doing?
What is garbage collection and how it works. Provide a code example of how you can enforce garbage collection in .net?
What is jit compilers?