How CLR works ?
As we know .Net
framework supports code written in different-different languges. In .Net
framework all code written in different-different languges is convert into
common code after compilation, called IL code.Now clr takes place and looks for
an application and system resources .This resources is necessary for our
programe code, CLR find them then it turns on JIT compiler and convert IL code
into native code and give this code to OS. Finally operating system execute
this IL code.
what is IL code in .Net?
.Net
architecture supports many languages, we are free to write code in many
languges. The beauty of .Net is , it converts all code written in
different-different languages into a single common code after compilation,that
common code is known as IL code or we can say it MSIL(microsoft intermidate
language)code.
What is Part is MEF?
MEF is a
framework for creating extensible applications that allows developers to
discover and use extensions with no configuration required.In MEF
terminology, Part is an object (e.g. a class, a method or a
property) that can be imported or exported to the application.The parts are
discovered at runtime implicitly via composition.When a part is created, the
MEF composition engine satisfies its imports with what is available from other
parts.
What is Catalog in MEF?
MEF is a
framework for creating extensible applications that allows developers to
discover and use extensions with no configuration required.Part is an object
(e.g. a class, a method or a property) that can be imported or exported to the
application.The parts are discovered dynamically via catalogs .Catalogs
allow applications to easily consume exports that have self-registered
themselves via the Export attribute.In MEF, Catalog's responsibility is to look
for the compose-able parts (import and export definitions).
There are various kinds of catalogs as Assembly Catalog,Directory Catalog,TypeCatalog,Aggregate Catalog etc.
There are various kinds of catalogs as Assembly Catalog,Directory Catalog,TypeCatalog,Aggregate Catalog etc.
What is Import Attribute?
MEF is a
framework for creating extensible applications that allows developers to
discover and use extensions with no configuration required.Part is an object
(e.g. a class, a method or a property) that can be imported or exported to the
application.In MEF parlance, Import attribute defines the need that a part.
What are the advantages of MEF?
MEF is a
framework for creating extensible applications that allows developers to
discover and use extensions with no configuration required.That means at
runtime, this framework has got the capability to discover extensibile
components.
There are some benefits of using this some of them are enumerated as under -
a.MEF breaks the tightly coupled dependencies across the application but respects the type checking of the loosely coupled parts.
b.Applications can be extended.
c.Components can be added at runtime.
d.Dynamic discovery of the components.
e.Great piece of reusability.
There are some benefits of using this some of them are enumerated as under -
a.MEF breaks the tightly coupled dependencies across the application but respects the type checking of the loosely coupled parts.
b.Applications can be extended.
c.Components can be added at runtime.
d.Dynamic discovery of the components.
e.Great piece of reusability.
Explain about NHibernate..
For .NET
framework, this NHibernate acts as a open source object relational
mapper.
This framework will support the connectivity to multiple databases, as it is simply a matter of updating the driver configuration.
It has to be dowloaded first and then the NHibernate.dll has to be referred by adding a reference in your visual studio.
This framework will support the connectivity to multiple databases, as it is simply a matter of updating the driver configuration.
It has to be dowloaded first and then the NHibernate.dll has to be referred by adding a reference in your visual studio.
Explain about .edmx file..
It is an
extension for a file where the visual studio saves the entire Entity Data Model
Configurations.
This file has an XML format.
This extension file consists of 3 sections as storage schema, conceptual schema, and the mappings In the AssembleCalculatorComponent function we are first looking for the catalogs (here Assembly Catalogs) from where the parts are coming. Once identified, the catalogs are held in a container and lastly the parts are composed.
This file has an XML format.
This extension file consists of 3 sections as storage schema, conceptual schema, and the mappings In the AssembleCalculatorComponent function we are first looking for the catalogs (here Assembly Catalogs) from where the parts are coming. Once identified, the catalogs are held in a container and lastly the parts are composed.
What is the reason for using an IDE?
We should use
IDE at least for the below reasons.
1) Automatic code generation.
2) Debugging is integrated which indicates that the step debugger actually uses your in-place editor to visually show you which code is executed.
3) Integrated source control.
4) Compiling is usually "on the fly" which indicates no more switching to the command line to compile.
5) Filesystem explorer.
6) Quickly navigating to a type without needing to worry about namespace, project etc.
7) Navigating to members by treating them as hyperlinks.
8) Refactoring.
9) Organize imports.
10) Ease of running unit tests from the same window.
1) Automatic code generation.
2) Debugging is integrated which indicates that the step debugger actually uses your in-place editor to visually show you which code is executed.
3) Integrated source control.
4) Compiling is usually "on the fly" which indicates no more switching to the command line to compile.
5) Filesystem explorer.
6) Quickly navigating to a type without needing to worry about namespace, project etc.
7) Navigating to members by treating them as hyperlinks.
8) Refactoring.
9) Organize imports.
10) Ease of running unit tests from the same window.
In which
scenario you need to choose WCF web service ?
Choose WCF web
services when you:
1) Require multiple binding types for supporting different types of client.
2) Want to access from javascript.
3) Want to implement Application Logic Layer.
4) Want to implement specific network protocol (e.g: SOAP, WS-*)
1) Require multiple binding types for supporting different types of client.
2) Want to access from javascript.
3) Want to implement Application Logic Layer.
4) Want to implement specific network protocol (e.g: SOAP, WS-*)
No comments:
Post a Comment