Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What was the difference between machine.config and
web.config files

Answers were Sorted based on User's Feedback



What was the difference between machine.config and web.config files..

Answer / naveen malik

Machine.Config:-

1. This file comes from the Visual Studio .net installation.
2. You can refer this file as machine level configuration
file.
3. This file you can search in the server.


Web.Config:-

1. This file gets created with your application.
2. You can refer this file as application level
configuration file.
3. This file inherits setting from the machine.config

Is This Answer Correct ?    2 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / srinu

machine. config is configuration file for all the
application in the IIS.
web.config is a configuration file for a application or
folder

machine.config for machine level configuration.
web.config for a application/folder level configuration

Is This Answer Correct ?    2 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / abu

WebConfig: It's more than one web.config files in application
Machine: Only One

Is This Answer Correct ?    5 Yes 4 No

What was the difference between machine.config and web.config files..

Answer / morasa.srinivasarao

Machine.Config:-

1. This file comes from the Visual Studio .net installation.
2. You can refer this file as machine level configuration
file.
3. This file you can search in the server.


Web.Config:-

1. This file gets created with your application.
2. You can refer this file as application level
configuration file.
3. This file inherits setting from the machine.config

Is This Answer Correct ?    1 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / m.srinivasarao

Machine.config:This is automatically installed when you
install Visual Studio. Net.This is also called machine level
configuration file. Only one Machine.config file exists on a
server.This file is at the highest level in the
configuration hierarchy.
Web.config:This is automatically created when you create
an ASP.Net web application project. This is also called
application level configuration file. This file inherits
setting from the Machine.config

Is This Answer Correct ?    1 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / kalyan ch sarkar

Two types of configuration files supported by ASP.Net.
Configuration files are used to control and manage the
behavior of a web application.

i) Machine.config
ii)Web.config

Difference between Machine.Config and Web.Config
Machine.Config:
i) This is automatically installed when you install Visual
Studio. Net.
ii) This is also called machine level configuration file.
iii)Only one machine.config file exists on a server.
iv) This file is at the highest level in the configuration
hierarchy.

Web.Config:
i) This is automatically created when you create an
ASP.Net web application project.
ii) This is also called application level configuration
file.
iii)This file inherits setting from the machine.config

Is This Answer Correct ?    1 Yes 0 No

What was the difference between machine.config and web.config files..

Answer / mansi

Two types of configuration files supported by ASP.Net.
Configuration files are used to control and manage the behavior of a web application.

i) Machine.config
ii)Web.config

Difference between Machine.Config and Web.Config
Machine.Config:
i) This is automatically installed when you install Visual Studio. Net.
ii) This is also called machine level configuration file.
iii)Only one machine.config file exists on a server.
iv) This file is at the highest level in the configuration hierarchy.

Web.Config:
i) This is automatically created when you create an ASP.Net web application project.
ii) This is also called application level configuration file.
iii)This file inherits setting from the machine.config

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is viewstate in asp net with example?

0 Answers  


What tag do you use to add a hyperlink column to the DataGrid?

2 Answers   Siebel Systems,


How can we access static variable?

0 Answers  


In early binding will the method invoked on com component will verify it?s existance in the system or not ?

0 Answers   DELL,


What is the difference between repeater over datalist and datagrid ?

1 Answers  


What is the need to give <compilation debug=true> command ?

3 Answers   Netsweeper,


What is autopostback in asp net?

0 Answers  


what is abstract class and method..

2 Answers  


How can we create Tree control in asp.net?

0 Answers  


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "<EmpID>" & TxtEmpId.Text & "</EmpID>" & _ "<Empname>" & TxtName.Text & "</Empname>" & _ "<EmpSalary>" & TxtSalary.Text & "</EmpSalary>" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file <?xml version="1.0" encoding="utf-8" ?> <Employee> <empdetails> <empid>100</empid> <empname>xxx</empname> <empsalary>2000</empsalary> </empdetails> <EmpDetails> <EmpID>yyy</EmpID> <Empname>dddd</Empname> <EmpSalary>77777</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>rrrr</EmpID> <Empname>rrrr</Empname> <EmpSalary>6666</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>qaqa</EmpID> <Empname>sini</Empname> <EmpSalary>50000</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>errrrrrrrr</EmpID> <Empname>rrrrrrrrr</Empname> <EmpSalary>677777</EmpSalary> </EmpDetails> <EmpDetails> <EmpID>rrr</EmpID> <Empname>rrr</Empname> <EmpSalary>33</EmpSalary> </EmpDetails> </Employee>

0 Answers   InfoCom,


Define caching.

0 Answers  


What is data caching?

0 Answers  


Categories