.NET framework overview
- Has own class libraries. System is the main namespace and all other namespaces are subsets of this.
- It has CLR(Common language runtime, Common type system, common language specification)
- All the types are part of CTS and Object is the base class for all the types.
- If a language said to be .net complaint, it should be compatible with CTS and CLS.
- All the code compiled into an intermediate language by the .Net language compiler, which is nothing but an assembly.
- During runtime, JIT of CLR picks the IL code and converts into PE machine code and from there it processes the request.
- CTS, CLS, CLR
- Garbage Collection
- Dispose, finalize, suppress finalize, Idispose interface
- Assemblies, Namespace: Assembly is a collection of class/namespaces. An assembly contains Manifest, Metadata, Resource files, IL code
- Com interoperability, adding references, web references
- Database connectivity and providers
Application Domain
- Class modifiers: public, private, friend, protected, protected friend, mustinherit, NotInheritable
- Method modifiers: public, private
- Overridable
- Shadows
- Overloadable
- Overrides
- Overloads
- Set/Get Property
- IIF
- Inheritance
- Polymorphism
- Delegates
- Events
- Reflection
- Boxing
- UnBoxing
ASP.Net
- Web Controls: Data grid (templates, sorting, paging, bound columns, unbound columns, data binding), Data list, repeater controls
- HTML Controls
- Code behind pages, system.web.ui.page base class
- Web.config: App settings, identity (impersonate), authentication (windows, forms, anonymous, passport), authorization
- Databind.eval
- Trace, Debug
- Output cache
- Session management
- Application, Session
- Global.asax httpapplication
- User controls, custom controls, custom rendered controls (postback event, postdatachanged event) usercontrol is the base class
- Directives
ADO.Net
- Command object (ExecuteNonquery, ExecuteReader, ExecuteXMLReader, ExecuteScalar)
- DataAdapter object (Fill)
- Dataset (collection of tables)
- CommandBuiler object
- Transaction Object
- Isolation levels

6 Comments on .NET framework programming interview questions
what is object pooling and connection pooling
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
what is the differance between .DLL and .EXE?
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.
-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
define partial class?