ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Microsoft Related >> Dot Net >> Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions (204)
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions (75)
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions (83)
 Dot Net General interview questions  Dot Net General Interview Questions (321)
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions (178)
Question
Difference between <connectionstring> and <appsettings>
 Question Submitted By :: Dot-Net-Framework
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
u can declare ur database connection in connection string
and u can declare all ur application settings in appsettings
like ur service url etc
 
Is This Answer Correct ?    17 Yes 8 No
Bharathi
 
Answer
# 2
Application Setting is mostly use when we want to perform
more then one work just like this setting with the reporting
tools , make new connection for the user control etc.
but if we want to make only connection with the database and
we don't any other work so we use the connection string .
appsetting is working with the group type.
 
Is This Answer Correct ?    0 Yes 0 No
Rituraj Pandey
 
 
 
Answer
# 3
if u do a project in.net you have many webforms.each form
should connect with database.so u have to write
connectionstrings in each form.u can avoid these things.u
can declare connection strings in global wise.then it will
inherit in each form
 
Is This Answer Correct ?    7 Yes 16 No
Sampath
 
Answer
# 4
<appsettings> is used before connection string
we use it to set the applicstion setting so that program
run successfully,but
<connectionstring> is used to make the or establish the
connection.
 
Is This Answer Correct ?    3 Yes 15 No
Guest
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
What is .net framwork? what is web application? what is CLR? How does work CLR & wht is work of CLR? What is compile? wht is thread? what does use in .net? NIIT 4
if u add an import stmt to an application u can do the same by adding reference to the apllication then what is the diff bet these two ?   1
What is serialization ? MMTS 5
how to maintain the session state? what is Abstract class and interface and inheritence with example?   2
What is Partial Assembly References? Microsoft 2
unit test done by tetser on development team? Crea 3
Tell me the best web-sites for Learning the ASP DOT NET.   3
If we not suppress finalize method in dispose what will happen? Kanbay 2
Difference between manifest , metadata? TCS 3
about triggers? CSC 6
How to create an alias name for a namespace? IBM 4
VIEWS WITH SYNTAX AND EXAMPLE IN SQL   1
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com