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

Answer Posted / saiish

web.config contains values.
global.config contains code.


n we cant place connection string code in global.asax.
we can place only in web.config.

Is This Answer Correct ?    6 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jade template engine?

678


How do u optimize a query in asp.net?

648


Explain diff. Betn dataset and recordset?

645


What are the three parts of an http response?

603


What is the current version of asp.net?

586






How will you maintain versioning in asp.net 2.0?

678


What are the two properties that are common on every validation control?

644


What is Web Server Control Templates.?

670


Explain the difference between singleton and single call?

624


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

650


What is the Difference between MVC And MVP design pattrens

2307


Which authentication uses a combination of windows and iis authentication?

670


a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?

1681


Explain client side state management system.

643


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

667