Difference between <connectionstring> and <appsettings>
Answers were Sorted based on User's Feedback
Answer / rituraj pandey
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 |
Answer / sampath
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 |
Answer / guest
<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 |
Explain test driven development (tdd) ?
What is rxjava used for?
what is .net?
what is client wins and store wins mode in entity framework concurrency?
What is Global Assembly Cache (GAC) and what is the purpose of it?
Explain RenderBody and RenderPage in ASP.Net MVC?
What is page life cycle?
Explain how you can send the result back in JSON format in MVC?
Explain what platforms does the .net framework run on?
How to bind table coloum with gridview column
3 Answers Sypher Technologies,
What is code first? : Entity framework
What is entity sql? : Entity framework