+91-90427 10472
         
Dot net training in Chennai -Maria Academy

ASP.NET INTERVIEW QUESTIONS AND ANSWERS

13 Jan 2022

Posted by Ganesan – +919042710472

1. What is ASP.NET? Why ASP.NET?

ASP.NET is a .NET web technology or server-side technology. To develop a web application by using .NET. we must use a .NET web technology called ASP.NET and a .NET language called C# .NET.

2. What do you mean by server-side technology?

The code which is executing within the WEB SERVER is called as SERVER-SIDE CODE.

Server-side code we can implement by using server-side technologies.

Ex: ASP, ASP.NET, JSP, PHP

Using server-side technology, we can develop server-side web pages.

3. What do you mean by client-side technology?

The code which is executing within the WEB BROWSER is called as CLIENT-SIDE CODE.

Client-side code we can implement by using side technologies.

Ex: HTML, CSS.

4. What are the programming techniques will be supporting by ASP.NET?

ASP.NET will support two programming techniques. They are,

1. In page technique

2. Code behind technique.

5. How can you pass values between ASP.NET pages?

Different techniques to move data from one form to another are:

1. Query string

2. Cookies

3. Session state

4. Application state

5. Cross page post back

6. Context.Handler object

6. Explain about validation controls in ASP.NET?

There are 6 validator controls.

1. Required field control

2. Compare validator

3. Range validator

4. Regular Expression validator

5. Custom validator

6. Validation summary

7. When we will go for custom validator control?

Whenever our validation requirement is unable to achieve with the help of existing validation controls then we have to go for custom validator control.

8. How to access information about a user’s locale in ASP.NET?

User’s locale information can be accessed through System.Web.Page.Culture property.

9. In ASP.NET page life cycle events which will fire first?

Page_Prelnit

10. What are the life cycle events of ASP.NET?

  • Application level
  • Control level
  • Page level.
Social tagging: