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
Explain page output caching?
Name some asp objects?
Which is the parent class of the ASP.NET server control?
Name the method that needs to be invoked on the dataadapter control to fill the generated dataset with data?
What is the difference between session and viewstate in asp.net?
What describes a query?
Is oauth for authentication or authorization?
Which method is used to enforce garbage collection in .net?
What is the difference between ldap and active directory?
What is form method?
Why will you usually create an aspnet user account in the database for an asp.net web application?
How can you pass multiple complex types in Web API?
What is a web farm?
Differentiate between authentication and authorization.
What are the ways of preserving data on a Web Form in ASP.NET?