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

What is the difference between trace and debug in asp.net?

0 Answers  


In how many ways we can retrieve table records count?

0 Answers  


What is server transfer?

0 Answers  


What is enableviewstate in asp net?

0 Answers  


What is difference between web config and global asax?

0 Answers  






What is personalization? What are the properties available in personalization?

1 Answers  


Define web services in asp.net.

0 Answers  


How do u deploy ur project?

0 Answers   HCL, Microsoft,


Can we throw exception from catch block ?

4 Answers   Accenture, BirlaSoft,


What data type does the Range Validator control support?

5 Answers  


What is difference between singleton and single call?

0 Answers  


Where code pages are used?

0 Answers   Blue Star,


Categories