Microsoft Technology Guru Contest - Question 23
In the below code which is configured in web.config file of a Silverlight Business Application .
[code] <connectionStrings> <add name="MyEmpDB" connectionString="Data Source=.\SQL2008;Database=EMPDB; Integrated Security=true" providerName="System.Data.SqlClient" /> </connectionStrings> <system.web> <membership defaultProvider="EmpMembershipProvider"> <providers> <clear /> <add name="EmpMembershipProvider" connectionStringName="MyEmpDB" applicationName="/EmployeeApp" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" : . </providers> </membership> : . </system.web> . What is the use of <clear /> tag ?
1. It clears the existing providers in that section which are inherited from machine.config file.
2. It clears all the entries in the web.config file.
3. Clears all the entries from the Machine.config file
4. None of the above
How to participate:
- Answer the above question and providing your email address along.
- Only the answer provided with email address will be marked.
- Only the first correct answer will be considered.
- For further details kindly refer to the Competition Rules and Guidelines.
Comments
- Anonymous
December 14, 2011
- It clears all the entries in the web.config file. mrsajjadmemon@hotmail.com
- Anonymous
December 14, 2011
- It clears the existing providers in that section which are inherited from machine.config file. aqeel.ahmed5@hotmail.com
- Anonymous
December 14, 2011
- It clears the existing providers in that section which are inherited from machine.config file. me@umair.me
Anonymous
December 14, 2011
Waseemuddin Shaikh Option 1. It clears the existing providers in that section which are inherited from machine.config file waseem.uddin@live.comAnonymous
December 14, 2011
- It clears the existing providers in that section which are inherited from machine.config file. dani_9211@hotmail.com
- Anonymous
December 14, 2011
- It clears the existing providers in that section which are inherited from machine.config file Email : ib_22_dik@yahoo.com
- Anonymous
December 14, 2011
- It clears the existing providers in that section which are inherited from machine.config file. shaikhjunaid@hotmail.com
- Anonymous
December 25, 2011
- It clears the existing providers in that section which are inherited from machine.config file. mary_khan87@hotmail.com