Dot Net Interview Questions And Answers
1. How many languages .NET is supporting now?
When .NET was introduced it came with several languages.
The site DotNetLanguages.Net says 44 languages are supported by .NET
2. How is .NET able to support multiple languages?
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.
3. How ASP .NET different from ASP?
Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.
What is smart navigation in .NET?
The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
What is view state in .NET?
The web is stateless. But in ASP.NET, the state
How do you validate the controls in an ASP .NET page?
Using special validation controls that are meant for validation of any controle.
We have Range Validator, Email Validator in .NET to validate any control.
Can the validation be done in the server side? Or this can be done only in the Client side?
Client side is done by default. Server side validation is also possible in .NET. We can switch off the client side and server side can be done only in .NET