1 2 >   Sort: Rank

What are benefits and limitations of using Hidden frames?
.NET INTERVIEW QUESTIONS - What are benefits and limitations of using Hidden frames? Following are the benefits of using hidden frames: * You can cache more than one data field. * The ability to cache and access data items stored in different hidden forms. * The ability to access JScript® variable v...
2009-07-14, 4784👍, 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. <FRAMESET cols="100%,*,*"> <FRAMESET rows="100%"> <FRAME src="/data_of_frame1.html"> &l...
2009-07-14, 4570👍, 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, 4573👍, 0💬

What are the practical limitations of using COM objects?
Managed Code and Unmanaged Code related ASP.NET - What are the practical limitations of using COM objects? The following are the practical limitations of using COM objects from .NET: Shared solutions might not allow COM objects : ASP.NET host service providers that use nondedicated servers can limit...
2009-04-21, 4720👍, 0💬

What are the technical limitations of COM Interop?
Managed Code and Unmanaged Code related ASP.NET - - What are the technical limitations of COM Interop? The .NET Framework was developed to address the limitations of COM. Because of this evolution, there are limits to the .NET features that you can use from COM. The following list describes these li...
2009-04-14, 5035👍, 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, 4334👍, 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, 4372👍, 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, 4348👍, 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, 4106👍, 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, 4490👍, 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, 3977👍, 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, 4658👍, 0💬

What is CodeDom
What is CodeDom? “CodeDom” is an object model which represents actually a source code. It is designed to be language independent - once you create a “CodeDom” hierarchy for a program we can then generate the source code in any .NET compliant language. So let’s try to do something real practical an...
2007-10-22, 6350👍, 0💬

If we have two version of same assembly in GAC how do we make a
If we have two version of same assembly in GAC how do we make a choice ? OK first let’s try to understand what the interviewer is talking about. Let’s say you have made an application and its using a DLL which is present in GAC. Now for some reason you make second version of the same DLL and put it ...
2007-10-22, 8062👍, 0💬

What is Native Image Generator (Ngen.exe)
What is Native Image Generator (Ngen.exe)? The Native Image Generator utility (Ngen.exe) allows you to run the JIT compiler on your assembly's MSIL and generate native machine code which is cached to disk. After the image is created .NET runtime will use the image to run the code rather than from th...
2007-10-22, 8436👍, 0💬

What is the difference between Convert.toString and .toString()
What is the difference between Convert.toString and .toString() method ? Just to give an understanding of what the above question means seethe below code. int i =0; MessageBox.Show(i.ToString()); MessageBox.Show(Convert.ToStri ng(i));We can convert the integer “i” using “i.ToString()” or “Convert....
2007-10-22, 4895👍, 0💬

How to prevent my .NET DLL to be decompiled
How to prevent my .NET DLL to be decompiled? By design .NET embeds rich Meta data inside the executable code using MSIL. Any one can easily decompile your DLL back using tools like ILDASM (owned by Microsoft) or Reflector for .NET which is a third party. Secondly there are many third party tools whi...
2007-10-22, 5752👍, 0💬

What is CODE Access security
What is CODE Access security? CAS is part of .NET security model that determines whether or not a piece of code is allowed to run and what resources it can use while running. Example CAS will allow an application to read but not to write and delete a file or a resource from a folder..
2007-10-22, 5023👍, 0💬

What is the difference between System exceptions and Application
What is the difference between System exceptions and Application exceptions? All exception derives from Exception Base class. Exceptions can be generated programmatically or can be generated by system. Application Exception serves as the base class for all applicationspecific exception classes. It d...
2007-10-22, 5131👍, 0💬

What is the difference between VB.NET and C#
What is the difference between VB.NET and C# ? Well this is the most debatable issue in .NET community and people treat there languages like religion. Its a subjective matter which language is best. Some like VB.NET’s natural style and some like professional and terse C# syntaxes. Both use the same ...
2007-10-22, 4700👍, 0💬

What is concept of Boxing and Unboxing
What is concept of Boxing and Unboxing ? Boxing permits any value type to be implicitly converted to type object or to any interface type implemented by value type. Boxing is a process in which object instances are created and copy values in to that instance. Unboxing is vice versa of boxing operati...
2007-10-22, 4695👍, 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, 4469👍, 0💬

What are different types of JIT
What are different types of JIT ? Note :- This question can only be asked when the interviewer does not know what he wants. It was asked to me in one of interview and for 15 minutes he was roaming around the same question in order to get answer from me (requirement was for a simple database project)...
2007-10-22, 4777👍, 0💬

What is reflection
What is reflection? All .NET assemblies have metadata information stored about the types defined in modules. This metadata information can be accessed by mechanism called as “Reflection”.System. Reflection can be used to browse through the metadata information. Using reflection you can also dynamica...
2007-10-22, 4793👍, 0💬

1 2 >   Sort: Rank