< 1 2   Sort: Date

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, 4680👍, 0💬

.NET Remoting versus Distributed COM ?
.NET Remoting versus Distributed COM ? In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks i...
2009-03-19, 4678👍, 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, 4612👍, 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, 4601👍, 0💬

What is Cache Callback in Cache ?
.NET INTERVIEW QUESTIONS - What is Cache Callback in Cache ? Cache object is dependent on its dependencies. Example file based, time based etc. Cache items remove the object when cache dependencies change.ASP.NET provides capabilityto execute a callback method when that item is removed from cache.
2009-05-05, 4589👍, 0💬

How can you use Hidden frames to cache client data ?
.NET INTERVIEW QUESTIONS - How can you use Hidden frames to cache client data ? This technique is implemented by creating a Hidden frame in page which will contain your data to be cached. &lt;FRAMESET cols="100%,*,*"> &lt;FRAMESET rows="100%"> &lt;FRAME src="/data_of_frame1.html"> &l...
2009-07-14, 4583👍, 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, 4559👍, 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, 4518👍, 0💬

What are the Proxies ?
What are the Proxies ? In the general sense, a proxy is any object that stands in for another, either servicing requests directly or passing the requests on to the object for which it is standing in. In .NET Remoting, the proxy manages the marshaling process and the other tasks required to make cros...
2009-03-25, 4502👍, 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, 4496👍, 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, 4492👍, 0💬

What are Value types and Reference types
What are Value types and Reference types ? Value types directly contain their data which are either allocated on the stack or allocated in-line in a structure. Reference types store a reference to the value's memory address, and are allocated on the heap. Reference types can be self-describing types...
2007-10-22, 4477👍, 0💬

Can we create a .NET object for use from COM?
Managed Code and Unmanaged Code related ASP.NET - Can we create a .NET object for use from COM? Yes, Visual Studio can automatically generate type library information and register a .NET class library assembly for use from COM. These automatic tools do not work for ASP.NET Web applications, so you m...
2009-04-09, 4385👍, 0💬

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, 4366👍, 0💬

List the steps in order, to use a COM object from a .NET assembly in Visual Studio?
Managed Code and Unmanaged Code related ASP.NET - List the steps in order, to use a COM object from a .NET assembly in Visual Studio? 1. Install and register the COM object on your system. 2. Open the .NET project in Visual Studio, and add a reference to the COM object, as shown in diagram below. If...
2009-04-08, 4358👍, 0💬

How do you handle exceptions between .NET and COM?
Managed Code and Unmanaged Code related ASP.NET - How do you handle exceptions between .NET and COM? .NET handles errors through exception classes. COM handles errors through 32-bit data types called HRESULTs. All of the .NET exception classes include HResult properties that map to COM HRESULT codes...
2009-04-14, 4351👍, 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, 4339👍, 0💬

What is Managed Code and Unmanaged Code?
Managed Code and Unmanaged Code related ASP.NET- What is Managed Code and Unmanaged Code? Microsoft ASP.NET Web applications run under the control of the common language runtime (CLR). The CLR controls how the application’s assembly executes, allocates, and recovers memory; therefore, ASP.NET applic...
2009-03-30, 4126👍, 0💬

Scope of publication ?
Scope of publication ? .NET Remoting exposes objects to other application domains as if they are local, with a few exceptions. The two exceptions most likely to trip you up are: • Static members are never remoted. Remoting always deals with some form of object instance member. • Private methods are ...
2009-03-25, 3991👍, 0💬

< 1 2   Sort: Date