Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger


Thursday, 19 June 2008

.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

No comments:

Post a Comment