1. Question:Write down the different Method to Navigate Pages. 

    Answer
    Client-side navigation : Client-side code or markup allows a user to request a new webpage. Cross-page posting : A control and form are configured to post back to a webpage that is different than the one that made the original request.</li>Client-side browser redirect Server-side code sends a message to the browser,informing the browser to request a different webpage from the server.
    [b]server-side transfer: [\b] Server-side code transfers control of a request to a different webpage.

    1. Report
  2. Question:What do you mean by master pages? How can we change the master pages programmatically? 

    Answer
    Master Page: An ASP.NET master page defines the common layout of the pages in your site. A master page is defined with the file extension .master.
    We can change Master Page programmatically using MasterPageFile property.

    1. Report
  3. Question:Explain the usages of Copy Web Tool? 

    Answer
    The Copy Web tool can copy individual files or an entire website. You can select a source and a remote site and move files between them. You can also use the tool to synchronize files.

    1. Report
  4. Question:What is the difference between Windows authentication and Forms Authentication? 

    Answer
    Windows Authentiation: Windows authentication is used, the user names should match names in the local user database or Active Directory service and need to include a domain name.Form Authentiation: Forms authentication lets you authenticate users by using your own code and then maintain an authentication token in a cookie or in the page URL. Forms authentication is the better choice for Internet applications

    1. Report
  5. Question:What are the primary types of Custom Control? Explain each in short. 

    Answer
    ASP.NET custom controls are more flexible than user controls. We can create a custom control that inherits from another server-side control and then extend that control. We can also share a custom control among projects.

    1. Report
  6. Question:What are Web Parts? What they are use for? 

    Answer
    Web Parts are components of a webpage that can be personalized and rearranged. You can use Web Parts to improve a site’s consistency while still allowing users to customize 
    content to their specific needs. Forms or Windows

    1. Report
  7. Question:What is Validation Summary control? 

    Answer
    The ValidationSummary control allows you to summarize the error messages from all validation controls on a Web page in a single location. The summary can be displayed as a list, a bulleted list, or a single paragraph

    1. Report
  8. Question:Why HTTP is used? 

    Answer
    An ASP.NET HTTP handler is the process that runs in response to a request made to an ASP.NET Web application. The most common handler is an ASP.NET page handler that processes .aspx files

    1. Report
  9. Question:What is cookies? 

    Answer
    A cookieis a small amount of data that you write to the client to be stored and then passed with requests to your site. You write persistent cookies to a text file on the client machine.

    1. Report
  10. Question:What is Querystrings? 

    Answer
    The query string is a collection of key–value pairs, separated by an ampersand (&) character. The start of the query string is indicated by a question mark (?). 
    The following provides an example.
    GET /getCustomer.aspx?Id=123&color=blue

    1. Report
Copyright © 2024. Powered by Intellect Software Ltd