.NET framework programming interview questions

.NET framework overview

  1. Has own class libraries. System is the main namespace and all other namespaces are subsets of this.
  2. It has CLR(Common language runtime, Common type system, common language specification)
  3. All the types are part of CTS and Object is the base class for all the types.
  4. If a language said to be .net complaint, it should be compatible with CTS and CLS.
  5. All the code compiled into an intermediate language by the .Net language compiler, which is nothing but an assembly.
  6. During runtime, JIT of CLR picks the IL code and converts into PE machine code and from there it processes the request.
  7. CTS, CLS, CLR
  8. Garbage Collection
  9. Dispose, finalize, suppress finalize, Idispose interface
  10. Assemblies, Namespace: Assembly is a collection of class/namespaces. An assembly contains Manifest, Metadata, Resource files, IL code
  11. Com interoperability, adding references, web references
  12. Database connectivity and providers

Application Domain

  1. Class modifiers: public, private, friend, protected, protected friend, mustinherit, NotInheritable
  2. Method modifiers: public, private
  3. Overridable
  4. Shadows
  5. Overloadable
  6. Overrides
  7. Overloads
  8. Set/Get Property
  9. IIF
  10. Inheritance
  11. Polymorphism
  12. Delegates
  13. Events
  14. Reflection
  15. Boxing
  16. UnBoxing

ASP.Net

  1. Web Controls: Data grid (templates, sorting, paging, bound columns, unbound columns, data binding), Data list, repeater controls
  2. HTML Controls
  3. Code behind pages, system.web.ui.page base class
  4. Web.config: App settings, identity (impersonate), authentication (windows, forms, anonymous, passport), authorization
  5. Databind.eval
  6. Trace, Debug
  7. Output cache
  8. Session management
  9. Application, Session
  10. Global.asax httpapplication
  11. User controls, custom controls, custom rendered controls (postback event, postdatachanged event) usercontrol is the base class
  12. Directives

ADO.Net

  1. Command object (ExecuteNonquery, ExecuteReader, ExecuteXMLReader, ExecuteScalar)
  2. DataAdapter object (Fill)
  3. Dataset (collection of tables)
  4. CommandBuiler object
  5. Transaction Object
  6. Isolation levels
This entry was posted in .NET. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

6 Comments on .NET framework programming interview questions

  1. Anonymous
    Posted 10/6/2004 at 9:23 am | Permalink

    what is object pooling and connection pooling

  2. sekhar
    Posted 3/22/2005 at 1:36 am | Permalink

    1. if a three requests are sending to webserver.And that web server
    is genrating a auto number using sql server @identity.so three
    request are coming at exact time. how the web server hanles the
    request and what is the life cycle of asp.net page

  3. sunita apte
    Posted 8/12/2006 at 7:02 am | Permalink

    what is the differance between .DLL and .EXE?

  4. Madhu Venugopal
    Posted 9/6/2006 at 5:04 am | Permalink

    what is the differance between .DLL and .EXE?

    DLLs are libraries or suporting code for an application. they run in the same memory space as that of the application and there fore are fast. however if the app crashes, dl also crash.
    EXEs are processes, which can act as libraries like DLLs and have separate memory processes. they run independent of the calling application.

  5. Babu
    Posted 4/14/2007 at 4:20 am | Permalink

    -a dll can be changed to an exe, if we provide it the main entry function

    -a single .NET DLL can contain unlimited classes

    -We can Run the .exe
    but we can not Run the .

    -exe use by End User like-Client
    .Dll can not use by End User.

    -fullname of .exe is Extensible Execute File
    fullname of .dll is Dynamic Link Liberary

  6. ashokkumar.M
    Posted 7/20/2007 at 10:20 am | Permalink

    define partial class?

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*