Interview answers verified by specialists.

Find interview questions and answers on this website:

See right interview answers on 30 common job interview questions

Net. What are different types of configuration files in .Net framework?

The Machine.Config file, which specifies the settings that are global to a particular machine.

This file is located at the following path:
\WINNT\Microsoft.NET\Framework\[Framework Version]\CONFIG\machine.config

The simplest way to add application-specific settings into an application configuration file is to use an application configuration file. 
The file is an XML file and contains add elements with key and value attributes.

<?xml version="1.0" encoding="utf-8" ?>
<add key="ApplicationTitle" value="Sample Console Application" />
<addkey="ConnectionString"value="Server=localhost;Database=Northwind;Integrated Security= false;UserId=sa;Password=;" />

<authentication> The authentication section controls the type of authentication used within your Web application Windows, Forms or Passport type of authentication can be defined.

Eg: <authentication mode="Windows" />
<allow> or <deny> tags can be used with authorization to allow or deny access to your web application to certain users or roles,
<allow roles="Administrators,Users" />
<deny users="*" /> 

Do you know that?

30% Elance jobs are hourly Next


Getting payments for Freelancers
1. Read how to register and get earned money

2. Open account within 5 minPayoneer sing up to get free $25