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
Define reflection in .net?
What is cookieless session id explain in brief?
Explain server-side scripting?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
What is AutoPostback?
Is it true that a Web service must be written in .NET or not?
How do session tokens work?
How to display validation messages in one control?
Explain the difference between web user control and web custom control?
Why select Web API?
What are the asp.net security controls?
Explain Features in ASP.NET
Whats the difference between abstract factory pattern and factory pattern?
Explain how can you debug your .net application?
Is post back property in asp net?