|
.NET dotnet framework programming interview questions
1) 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 |
|