What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?
Answer Posted / umesh
web.config file is the root page in the application we use
this file to make the connection with the database,we can
use theme attribute,authentication etc.
Where as global.asax file is for handling the Application
or page level error.
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
How does ASP.NET framework maps client side events to Server side events.?
Explain exception handling in .net.
How do I open an ashx file?
Is asp.net web forms dead?
Why session management is required?
Define session in asp.net.
What are sharepoint pages?
What is the purpose of using MVC programming pattern in ASP.NET?
Name the namespace which is used by ado.net?
Web API uses which library for JSON serialization?
Explain client-side scripting?
What is web router?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
Are cookies stored on server or client?
How can we register exception filter from the action?