Details on web.config and global.asax - just explain what
are the sections will be there.



Details on web.config and global.asax - just explain what are the sections will be there...

Answer / alb.shah

1 Use the appSettings part of the Web.Config to store
connection strings.
2 Customer errors can be handled be turned off but I prefer
them to be turned on as below.
<customErrors mode="Off" />

3 Application Tracing can be set up while shows the output
times and all sorts of info of every page if you set it the
values to true below. Local only would mean only onthe
webserver hosting the site. You can also do per page
tracing so that you can turn off application Tracing and
have trace="true" at the top of a single page.
<trace enabled="true" requestLimit="10" pageOutput="true"
traceMode="SortByTime"
localOnly="true"/>
4

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

How to store a dataset in a viewstate?

3 Answers   IBM,


What is the difference between system.stringbuilder and system.string

0 Answers  


What is asp.net? How is it different from asp?

0 Answers  


Difference between HTML control and Web Server Control?

4 Answers  


What are the file extensions for razor views?

0 Answers   NA,






What is in a session cookie?

0 Answers  


how to retrieve property settings from xml .config file.

0 Answers  


What are the 4 tenants of SOA/D.

1 Answers  


what is managed and unmanaged code?

4 Answers   Microsoft,


Differentiate between a page theme and a global theme?

0 Answers  


What is the difference between session and viewstate in asp.net?

0 Answers  


Define static function?

0 Answers  


Categories