What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?

Answer Posted / asmita

web.config file if root level file you do not need to create it it is mainly used for authentication authorization ,database connection etc







global.asax file mainly handles application and session events.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?

540


What is __ requestverificationtoken?

555


How to bind all the binding controls in a page at once in ASP.NET?

533


What does the hotspot class in .net do?

571


How many types of sessions are there in asp net?

526






What are strong names?

594


Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?

554


What is asp net_sessionid?

639


What is asp according to you?

530


Is asp net front end or backend?

532


How does asp net store session ids by default?

536


What is the difference between asp.net and mvc?

586


What is clr? Difference between clr & cts?

691


What are the media types of http requests and response?

512


What is inproc mode in session?

513