Basic .NET and ASP.NET interview questions

Last Updated on Saturday, 21 July 2007 03:05 Written by EditorSaturday, 21 July 2007 03:05

Following are some Basic .NET and ASP.NET interview questions, answer them if you can or just read and get answers.

1. Explain the .NET architecture.
2. How many languages .NET is supporting now? – 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.
3. 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.
4. 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.
5. Resource Files: How to use the resource files, how to know which language to use?
6. What is smart navigation? – The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
7. What is view state? – 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
8. Explain the life cycle of an ASP .NET page.
9. How do you validate the controls in an ASP .NET page? – Using special validation controls that are meant for this. We have Range Validator, Email Validator.
10. 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. We can switch off the client side and server side can be done.
11. How to manage pagination in a page? – 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.
12. What is ADO .NET and what is difference between ADO and ADO.NET? – 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.

Post to Twitter


Submit Interview Questions at intr[at]freshershome.com


  • No Related Post

236 Comments
1 2 3 ... 12
  1. please send top inerview questions

  2. please send top 100 .net interview questions

  3. Pls send more fresher asp.net questions

  4. please send me Answers for following questions

  5. Please send the answers for above FAQ’s and more info

    ThankQ………………

  6. please send me answers for these FAQs….also the top 100 .net interview questions….

    THANKS

  7. Please send me answers for these FAQs.
    Thanks

  8. do u have any vb.net ques???

  9. Please send me answers for these FAQs.
    Thanks

  10. Don’t send the above fools any answers

  11. send me more interview Questions & Ans
    Also some aptitude Qstns

  12. please send top 100 .net interview questions

  13. please send top 100 interview questions

  14. Please send me the FAQ with Answers

  15. send me all FAQ answer

  16. Dear Sir/Madam,

    Kindly send the FAQ Answers

  17. send answers

  18. very useful

  19. I want dotnet qutions

  20. send me all the FAQs with answers

1 2 3 ... 12

Leave a Reply