Details on web.config and global.asax - just explain what
are the sections will be there.
Answer Posted / 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 View All Answers
What is the difference between ASP.NET Webforms and ASP.NET MVC?
What are the options in ASP.NET to maintain state?
A web service can only be written in .net? State whether true or false.
Why do we use sessions?
What are themes and skins in 2.0, explain usage scenario?
What is state management in asp.net with example?
Explain the main function of razor in asp.net? : asp.net mvc
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
How do you implement sql caching in asp.net?
Can we store object in viewstate?
What are html helpers in asp.net?
What are early binding and late binding.
What is the use of the tag in the web.config file?
What is odata in web api?
Why do we need url encoding?