+ Reply to Thread
Results 1 to 3 of 3

Thread: Difference between Web.Config and Machine.Config File

  1. #1
    Garcíarobine is offline Senior Member
    Join Date
    Dec 2009
    Posts
    334
    Rep Power
    3

    Default Difference between Web.Config and Machine.Config File

    I am learning .net and in my class teacher asked me about Difference between Web.Config and Machine.Config File? I am not able to answer that question. If anybody knows the difference please give me . any help would be highly appreciated.

  2. #2
    RodríguezBrown is offline Senior Member
    Join Date
    Dec 2009
    Posts
    322
    Rep Power
    3

    Default

    Difference between instrument.Config and Web.Config

    Machine.Config:

    • This file is getting installed on your machine when you install the Visual Studio. Net.

    • You can as well call this file as machine level configuration file.

    • A single file exists on server.

    • This file comes in the higher level of hierarchy.

    Web.Config:

    • If you create any web application in asp.net this file gets created.

    • You can as well call this file as application level configuration file.

    • You can inherit the setting from machine.config using this file.

  3. #3
    WilsonMartin is offline Senior Member
    Join Date
    Dec 2009
    Posts
    319
    Rep Power
    3

    Default

    2) You can store this in web.config:

    1. Database Connection

    2. Session State

    3. Error handling

    4. Security

    You can store this in machine.config:

    1. Connection strings

    2. Membership

    3. Role Manager

    4. Profile

    5. HTTP Handlers

+ Reply to Thread

Similar Threads

  1. Changing my config ... but how?
    By Graham Thorpe in forum CPU & Components
    Replies: 10
    Last Post: 02-08-2010, 06:51 PM
  2. How to Make Firefox Browsing Smoother by About:Config
    By SmithJohnson in forum General Internet Terms
    Replies: 1
    Last Post: 01-22-2010, 06:04 PM
  3. Require COD4 server config
    By Davismoore in forum Networking Jargons
    Replies: 3
    Last Post: 01-22-2010, 01:48 PM
  4. File vanishes while machine rebooting
    By Richie Dias in forum Windows 7/2000/NT
    Replies: 2
    Last Post: 05-12-2009, 10:29 AM
  5. Replies: 2
    Last Post: 01-30-2008, 01:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48