< 1 2   Sort: Rank

Can we force garbage collector to run
Can we force garbage collector to run ? System.GC.Collect() forces garbage collector to run. This is not recommended but can be used if situations arises.
2007-10-22, 4357👍, 0💬

What is garbage collection
What is garbage collection? Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding ..... Laziness (Remember in VB6 where one of the good practices is to set object to nothing). CLR automatically releases objects when they are no...
2007-10-22, 4487👍, 0💬

How to add and remove an assembly from GAC
How to add and remove an assembly from GAC? There are two ways to install .NET assembly in GAC:- ¡Ì Using Microsoft Installer Package. You can get download of installer from http://www.microsoft.com. ¡Ì Using Gacutil. Goto ¡°Visual Studio Command Prompt¡± and type ¡°gacutil ¨Ci (assembly_name)...
2007-10-22, 4654👍, 0💬

What is Delay signing
What is Delay signing ? During development process you will need strong name keys to be exposed to developer which is not a good practice from security aspect point of view.In such situations you can assign the key later on and during development you an use delay signing Following is process to dela...
2007-10-22, 5159👍, 0💬

What is the concept of strong names
How do we generate strong names ? or What is use the of SN.EXE ? or How do we apply strong names to assembly? or How do you sign an assembly? Strong name is similar to GUID(It is supposed to be unique in space and time) in COM components.Strong Name is only needed when we need to deploy assembly in ...
2007-10-22, 7089👍, 0💬

What is GAC
What are situations when you register .NET assembly in GAC ? GAC (Global Assembly Cache) is used where shared .NET assembly reside. GAC is used in the following situations :- If the application has to be shared among several application. If the assembly has some special security requirements like on...
2007-10-22, 5377👍, 0💬

Is versioning applicable to private assemblies
Is versioning applicable to private assemblies? Versioning concept is only applicable to global assembly cache (GAC) as private assembly lie in their individual folders.
2007-10-22, 5216👍, 0💬

Where is version information stored of an assembly
Where is version information stored of an assembly ? Version information is stored in assembly in manifest.
2007-10-22, 4602👍, 0💬

What is Manifest
What is Manifest? Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things (See Figure Manifest View for more details): Version of assembly Security identity Scope of the assembly Resolve references to resources and classes. The assembly manifest ...
2007-10-22, 5350👍, 0💬

What is ILDASM
If you want to view a Assembly how do you go about it ? When it comes to understanding of internals nothing can beat ILDASM. ILDASM basically converts the whole exe or dll in to IL code. To run ILDASM you have to go to "C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin". Note that i ha...
2007-10-22, 5282👍, 0💬

What is Difference between NameSpace and Assembly
What is Difference between NameSpace and Assembly? Following are the differences between namespace and assembly : Assembly is physical grouping of logical units. Namespace logically groups classes. Namespace can span multiple assembly.
2007-10-22, 4547👍, 0💬

What is NameSpace
What is NameSpace? Namespace has two basic functionality :- NameSpace Logically group types, example System.Web.UI logically groups our UI related features. In Object Oriented world many times its possible that programmers will use the same class name.By qualifying NameSpace with classname this coll...
2007-10-22, 4324👍, 0💬

What are the different types of Assembly
What are the different types of Assembly? There are two types of assembly Private and Public assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is normally stored in the global assembly ca...
2007-10-22, 4506👍, 0💬

What is a Assembly
What is a Assembly? Assembly is unit of deployment like EXE or a DLL. An assembly consists of one or more files (dlls, exefs, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain references to other assemblies. The...
2007-10-22, 4479👍, 0💬

What is a Managed Code
What is a Managed Code? Managed code runs inside the environment of CLR i.e. .NET runtime. In short all IL are managed code. But if you are using some third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) does not have control over the source code execution...
2007-10-22, 4583👍, 0💬

What is a CLS
What is a CLS(Common Language Specification)? This is a subset of the CTS which all .NET languages are expected to support. It was always a dream of Microsoft to unite all different languages in to one umbrella and CLS is one step towards that. Microsoft has defined CLS which are nothing but guideli...
2007-10-22, 5066👍, 0💬

What is a CTS
What is a CTS? In order that two language communicate smoothly CLR has CTS (Common Type System).Example in VB you have “Integer” and in C++ you have “long” these datatypes are not compatible so the interfacing between them is very complicated. In order to able that two different languages can commu...
2007-10-22, 5280👍, 0💬

What is a CLR?
What is a CLR? Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL, Java has Java Virtua...
2007-10-22, 5351👍, 0💬

What is a IL
What is MSIL or CIL , What is JIT? (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time b...
2007-10-22, 5744👍, 0💬

< 1 2   Sort: Rank