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
Which property is used to identify the Page is Post Back in ASP.NET?
How does http session work?
What does postback mean?
Which authentication uses a combination of windows and iis authentication?
Is viewstate enabled by default?
What is the parent class of all web server control?
Can action method static?
Define static member?
What is the use of session in web application?
What parameters can you pass in the url of the api? Can get and post use the same url?
What is the namespace to create thread in .net?
What is mvc in asp.net interview question? : Asp.Net MVC
How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
What is data grid view in asp.net?