• +91 9723535972
  • info@interviewmaterial.com

ASP Interview Questions and Answers

ASP Interview Questions and Answers

Question - 111 : -
Which protocol is used to call a Web service?

Answer - 111 : -

HTTP Protocol

Question - 112 : -
What is the difference between web config and machine config?

Answer - 112 : -

Web config file is specific to a web application where as machine config is specific to a machine or server. There can be multiple web config files into an application where as we can have only one machine config file on a server.

Question - 113 : - What is Cross Page Posting?

Answer - 113 : -

When we click submit button on a web page, the page post the data to the same page. The technique in which we post the data to different pages is called Cross Page posting. This can be achieved by setting POSTBACKURL property of the button that causes the postback. Findcontrol method of PreviousPage can be used to get the posted values on the page to which the page has been posted.

Question - 114 : - How can we apply Themes to an asp.net application?

Answer - 114 : -

We can specify the theme in web.config file. Below is the code example to apply theme:






Question - 115 : - What is RedirectPermanent in ASP.Net?

Answer - 115 : -

RedirectPermanent Performs a permanent redirection from the requested URL to the specified URL. Once the redirection is done, it also returns 301 Moved Permanently responses.

Question - 116 : - What is MVC?

Answer - 116 : -

MVC is a framework used to create web applications. The web application base builds on Model-View-Controller pattern which separates the application logic from UI, and the input and events from the user will be controlled by the Controller.

Question - 117 : - Explain the working of passport authentication.

Answer - 117 : -

First of all it checks passport authentication cookie. If the cookie is not available then the application redirects the user to Passport Sign on page. Passport service authenticates the user details on sign on page and if valid then stores the authenticated cookie on client machine and then redirect the user to requested page

Question - 118 : -
What are the advantages of Passport authentication?

Answer - 118 : -

All the websites can be accessed using single login credentials. So no need to remember login credentials for each web site.

Users can maintain his/ her information in a single location.

Question - 119 : - What are the asp.net Security Controls?

Answer - 119 : -

: Provides a standard login capability that allows the users to enter their credentials
: Allows you to display the name of the logged-in user
: Displays whether the user is authenticated or not
: Provides various login views depending on the selected template
: email the users their lost password

Question - 120 : - Differentiate strong typing and weak typing

Answer - 120 : -

In strong typing, the data types of variable are checked at compile time. On the other hand, in case of weak typing the variable data types are checked at runtime. In case of strong typing, there is no chance of compilation error. Scripts use weak typing and hence issues arises at runtime.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners