• +91 9723535972
  • info@interviewmaterial.com

DotNet Interview Questions and Answers

DotNet Interview Questions and Answers

Question - 11 : - How many languages .NET is supporting now?

Answer - 11 : - When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported.

Question - 12 : - What is .NET?

Answer - 12 : -   .NET is essentially a framework for software development. It is similar in nature to any other software development framework (J2EE etc) in that it provides a set of runtime containers/capabilities, and a rich set of pre-built functionality in the form of class libraries and APIs The .NET Framework is an environment for building, deploying, and running Web Services and other applications. It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP.NET.

Question - 13 : - What is .NET?

Answer - 13 : - .NET is essentially a framework for software development. It is similar in nature to any other software development framework (J2EE etc) in that it provides a set of runtime containers/capabilities, and a rich set of pre-built functionality in the form of class libraries and APIs The .NET Framework is an environment for building, deploying, and running Web Services and other applications. It consists of three main parts: the Common Language Runtime, the Framework classes, and ASP.NET.

Question - 14 : - How many languages .NET is supporting now?

Answer - 14 : - When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported.

Question - 15 : - How is .NET able to support multiple languages?

Answer - 15 : - A language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. So after compilation to this IL the language is not a barrier. A code can call or use a function written in another language.

Question - 16 : - How ASP .NET different from ASP?

Answer - 16 : - Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.

Question - 17 : - What is smart navigation?

Answer - 17 : - The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.

Question - 18 : - What is view state?

Answer - 18 : - The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control

Question - 19 : - How do you validate the controls in an ASP .NET page?

Answer - 19 : - Using special validation controls that are meant for this. We have Range Validator, Email Validator.

Question - 20 : - Can the validation be done in the server side? Or this can be done only in the Client side?

Answer - 20 : - Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done.


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners