ASP.NET Interview Questions

Ques. What is Asp.Net ?

Ans. Asp.Net is a framework of .Net Technology for developing web applications.

Ques. What is WebForm in Asp.Net ?

Ans. A webform is a page is asp.net with the extension of .aspx.

Ques. What is the fullform of ASPX ?

Ans. ASPX stands for Active Server Page Extended.

Ques. What is are languages support by Asp.Net ?

Ans. Asp.Net supports any .net language like C#.net,VB.net, C++.net,F#.net etc. We can use any of these languages for developing asp.net applications.

Ques. A webform in asp.net consists of how many pages?

Ans. A webform consists of three pages linked with each other. Webform.aspx (Design Page or View) webform.aspx.cs(Code Behind class) webform.aspx.designer.cs(Autogenerated Designer class)

Ques. What are the steps for creating a webform in asp.net ?

Ans. For creating a webform, first we need to design the page using html,css and asp.net controls and then write the code in the code behind file by generating events for the controls.

Ques. What are the types of controls supported in asp.net?

Ans. Asp.net supports html controls which are client side controls and asp.net controls which are server side controls. Along with controls there can be differents stypes applied using css and we can also use scripting languages like javascripts,jquery , angualar etc

Ques. What is the major difference between client side controls and server side controls?

Ans. Client side controls are html controls which can be accessed only in the design page and the controls cannot be accessed in the code behind file. Server side controls are asp.net controls which can be accessed both in the design page and the code behind file using any .net programming langauges like C#.

Post Question