DotNET Technical Interview Questions 2016

DotNET Technical Interview Questions 2016.

1. How many languages .NET is supporting now?
Ans : When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNet Languages. Net says 44 languages are supported..
2. How is .NET able to support multiple languages?
Ans : 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?
Ans : Scripting is separated from the HTML, Code is compiled as a DLL, and these DLLs can be
executed on the server.

4. What is smart navigation?
Ans : The cursor position is maintained when the page gets refreshed due to the server side
validation and the page gets refreshed.

5. What is view state?
Ans: The web is stateless. But in ASP.NET, the state of a page is maintained in the page itself automatically. How? The values are ncrypted and saved in hidden controls. This is done automatically by the ASP.NET. This can be switched off / on for a single control.

6. How do you validate the controls in an ASP .NET page?
Ans : Using special validation controls that are meant for this. We have Range Validator, Email Validator.

7. Can the validation be done in the server side? Or this can be done only in the Client side?
Ans :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..

8. How to manage pagination in a page?
Ans :Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself.

9. What is ADO .NET and what is difference between ADO and ADO.NET?
Ans :ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch..

10 . Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
Ans :inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe..

11. What’s the difference between Response.Write() and Response.Output.Write()?
Ans :The latter one allows you to write formatted output..

12. What methods are fired during the page load?
Ans :Init() – when the page is instantiated, Load() – when the page is loaded into server memory, PreRender() – the brief moment before the page is displayed to the user asHTML, Unload() – when page finishes loading..

13. Where does the Web page belong in the .NET Framework class hierarchy?
Ans :System.Web.UI.Page .

.pdf FileDownload Click here

Need More? Click Here

Click Here for All New Updates | Last Updated Pages  | New Arrival 

See Also……