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 >> ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions (615)
 C Sharp interview questions  C Sharp Interview Questions (722)
 ASP.NET interview questions  ASP.NET Interview Questions (1443)
 VB.NET interview questions  VB.NET Interview Questions (150)
 COM+ interview questions  COM+ Interview Questions (41)
 ADO.NET interview questions  ADO.NET Interview Questions (199)
 IIS interview questions  IIS Interview Questions (86)
 MTS interview questions  MTS Interview Questions (5)
 Crystal Reports interview questions  Crystal Reports Interview Questions (62)
 BizTalk interview questions  BizTalk Interview Questions (33)
 Dot Net interview questions  Dot Net Interview Questions (861)
 Exchange Server interview questions  Exchange Server Interview Questions (103)
 SharePoint interview questions  SharePoint Interview Questions (25)
 WCF interview questions  WCF Interview Questions (8)
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions (193)
Question
difference between <connectionstring> <Appsetting>
 Question Submitted By :: Dotnet_knowledge
I also faced this Question!!     Rank Answer Posted By  
 
  Re: difference between <connectionstring> <Appsetting>
Answer
# 1
The <appSettings> element of a web.config file is a place
to store connection strings, server names, file paths, and
other miscellaneous settings needed by an application to
perform work
 
Is This Answer Correct ?    9 Yes 7 No
Priya
 
  Re: difference between <connectionstring> <Appsetting>
Answer
# 2
The syntax differences between the application settings and
connection strings sections
 
Is This Answer Correct ?    2 Yes 11 No
Ved
 
 
 
  Re: difference between <connectionstring> <Appsetting>
Answer
# 3
<Appsetting> in Web.Config can be used to store Settings
which are applicable for the whole Application

<connectionstring> is a node within <Appsetting> in the
Web.config
it can be used to store the Connection String
 
Is This Answer Correct ?    3 Yes 19 No
Jerry Joseph
 
  Re: difference between <connectionstring> <Appsetting>
Answer
# 4
Simply connection string is saved in web con fig file
in between <Appsetting> tags
 
Is This Answer Correct ?    3 Yes 15 No
Sandeep
 
  Re: difference between <connectionstring> <Appsetting>
Answer
# 5
Well inside the appsettings is where you put all properties
that have to do with the entire web application you are
building. Connection strings can be placed inside the
appsettings to make it easy to connect each page from your
site to a database. Instead of defining a connection string
on each page, you write it once it the web.config and can
reference it from all other pages.
 
Is This Answer Correct ?    2 Yes 6 No
Sivaram
 
  Re: difference between <connectionstring> <Appsetting>
Answer
# 6
there are three way to stablished the connection in
web.config file
1- <appsetting>
code.....
</appsetting>
2-
<ConnectionString>
......code
...
</ConnectionString>
3-
you can create own type of tag and register this tag with
machine.comfig files,

there is no more difference to stablish the connection with
any tag,
mostly developer prefer <AppSettion> beause it provieds
some extra properties,but no diff. of the performance,
u can use anyone,
 
Is This Answer Correct ?    10 Yes 5 No
Prabhat Saxena(manu)
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
How to retrieve the information from datatable citywise in c#? HCL 2
What is difference b/w Data Grid in ASP.Net 1.1 and Gridview in 2.0 IntraLogic 11
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?   1
why should i use FormsAuthentication.RedirectFromLoginPage (); Method in Form Authentication?Without using this method also it's good??   2
can i inherit one web applications into another web applications in asp.net?   7
How do you retrieve information from web.config ? MMTS 5
In Crystal Report Refresh Button is not working. when I click on it it givesh error like "missing parameter values " I have used propery of Crystal Viewer like ReuseParameterValuesOnRefresh="True" but this also not working. Plz give me any solution.   1
How we can bind textbox,listbox and datagrid to sql server database in asp.net using visualstudio.net language (vb.net)? rocsearch 2
How to Insert a TextBox value in to Sql database using C# coding? Sona 17
What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?   1
what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example? Satyam 1
What is a DLL Hell Problem in .Net?   12
 
For more ASP.NET 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