ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 WCF interview questions  WCF Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the use of location tag in web.config file
 Question Submitted By :: Kiran
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the use of location tag in web.config file
Answer
# 1
configuration setting is applied to specific file/folder 
with appropriate "Path" attribute.
e.g
1)applying setting to everything under System.web
<location path="Administrator" > 
 <system.web>
    <authorization> 
          <deny users="?" />
          <allow roles="Administrator" /> 
          <deny users="*" />
    </authorization>
 </system.web> 
</location>

2)applying setting to specific directory called "folder1"

<!— Configuration for the "folder1" subdirectory. -->
   <location path="sub1">
      <system.web>
         <httpHandlers>
            <add verb="*" path="folder1.Scott" 
type="folder1.Scott"/>
            <add verb="*" path="folder1.David" 
type="folder1.David"/>
         </httpHandlers>
      </system.web>
   </location>
 
Is This Answer Correct ?    15 Yes 4 No
Asif Ismail Kunnibhavi
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
hi i have a problem regarding to datagrid in aspdotnet.i have a datagrid in my application.i have to place add,edit,delete buttons or links what ever it may be. now the problem is if i click on add button then the page has to redirected to another form called "xyz.aspx" and if i click on edit button the page has to redirected to another form called "abc.aspx".i am phasing the problem that if where ever i click on the datagrid the cursor goes to gv1_SelectedIndexChanged event.please tell me the solution about the code. Lambent4
What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum virtual memory for the system? How would this affect a system design?  2
Which control would you use if you needed to make sure the values in two different controls matched?  3
Can you explain what inheritance is and an example of when you might use it?  1
What is web.config. How many web.config files can be allowed to use in an application ? Accenture8
Suppose you display a data having 200 records in a datagrid. Then you edit 100 records of them. Now when you will press update button,all 100 records should be updated in single shot rather than reading every record and updating. How to do it? Wipro3
what is advantage of developing in asp.net.why the same can't be developed in Java or other web developemnt tool.what are advantages of developers. IBM4
What data type does the Range Validator control support?  4
How to check the end of the record in Datareader? Cognizent2
what is usercontrol how we can use acess the controls that are present in the usercontrol in the aspx page suppose we have 2 text boxes in a user control how u can acess the 2 textboxs in the aspx page  1
How do you add a javascript function for a link button in a datagrid ? Microsoft4
How to store a dataset in a viewstate? Patni2
What is Runtime callable wrapper?  2
What is strong-typing versus weak-typing? Which is preferred? Why?  1
accessing a textbox that was created dynamically? for (int i = 0; i < t1; i++) { TextBox t2 = new TextBox(); t2.ID = "adf" + i; PlaceHolder1.Controls.Add(t2); } accessing data entered in the above created controls.  1
what is asp and asp.net ? Inspira-Technologies2
What are the types of assemblies and where can u store them and how a private assembly is used only by a single application, and is stored in that application's install directory (or a subdirectory therein)? Accenture3
difference between <connectionstring> <Appsetting> VebTel6
what is the trace in ASP.NET  4
What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2009  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com