< 1 2 3 4 5 > >>   Sort: Date

What is a CLR?
.NET INTERVIEW QUESTIONS - 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 MSVBVM6...
2010-02-09, 4916👍, 0💬

What is reflection?
.NET INTERVIEW QUESTIONS - 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 reflec...
2010-03-30, 4893👍, 0💬

Calling unmanaged function from within managed code
Calling unmanaged function from within managed code When we use windows API in Dot Net?Is it managed or un managed code? Have you ever tried to called an unmanaged function (eg: MessageBox function inside the User32.dll ) with in a managed code? Let's try to do that. Open up your Visual studio 2005 ...
2009-03-06, 4888👍, 0💬

here is version information stored in an assembly ?
.NET INTERVIEW QUESTIONS - Where is version information stored in an assembly ? Version information is stored in assembly in manifest.
2010-03-09, 4790👍, 0💬

Which namespace has threading ?
.NET INTERVIEW QUESTIONS - Which namespace has threading ? Systems.Threading has all the classes related to implement threading. Any .NET application who wants to implement threading has to import this namespace.
2009-11-10, 4772👍, 0💬

What is Absolute expiration and Sliding expiration?
.NET INTERVIEW QUESTIONS - What is Absolute expiration and Sliding expiration? Absolute Expiration allows one to specify the duration of the cache, starting from the time the cache is activated. The following example shows that the cache has a cache dependency specified, as well as an expiration tim...
2009-07-28, 4756👍, 0💬

I want to use the Win32 API function .....
When we use windows API in Dot Net? I want to use the Win32 API function : SendMessageToDescendants I want to use it in a VB.Net app, but I have a few questions..... 1) Can one use Win32 API functions in VB.Net 2) Is doing so a "no no" 3) are VB.Net windows, underneath the covers, Win32 windows? and...
2009-03-06, 4755👍, 0💬

What is marshalling and what are different kinds of marshalling ?
.NET INTERVIEW QUESTIONS - What is marshalling and what are different kinds of marshalling ? Marshaling is used when an object is converted so that it can be sent across the network or across application domains. Unmarshaling creates an object from the marshaled data. There are two ways to do marsha...
2009-09-15, 4736👍, 0💬

What is scavenging ?
.NET INTERVIEW QUESTIONS - What is scavenging ? When server running your ASP.NET application runs low on memory resources, items are removed from cache depending on cache item priority. Cache item priority is set when you add item to cache. By setting the cache item priority controls the items scave...
2009-05-12, 4720👍, 0💬

What is Query String and What are benefits and limitations of using Query Strings?
.NET INTERVIEW QUESTIONS - What is Query String and What are benefits and limitations of using Query Strings? A query string is information sent to the server appended to the end of a page URL. Following are the benefits of using query string for state management:- * No server resources are required...
2009-07-28, 4693👍, 0💬

What's Thread.Sleep() in threading ?
.NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? .NET INTERVIEW QUESTIONS - What's Thread.Sleep() in threading ? Thread's execution can be paused by calling the Thread.Sleep method. This method takes an integer value that determines how long the thread should sleep. Example Thread.Cur...
2009-11-24, 4653👍, 0💬

.NET INTERVIEW QUESTIONS - What is Thread.Join() in threading ?
What is Thread.Join() in threading ? There are two versions of Thread.Join :- * Thread.join(). * Thread.join(Integer) this returns a Boolean value. The Thread.Join method is useful for determining if a thread has completed before starting another task. The Join method waits a specified amount of tim...
2009-12-09, 4617👍, 0💬

What is Reference counting in COM ?
.NET INTERVIEW QUESTIONS - What is Reference counting in COM ? Reference counting is a memory management technique used to count how many times an object has a pointer referring to it. The first time it is created, the reference count is set to one. When the last reference to the object is nulled, t...
2010-01-19, 4613👍, 0💬

What is the difference between VB.NET and C# ?
.NET INTERVIEW QUESTIONS - What is the difference between VB.NET and C# ? 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# syntax...
2010-04-20, 4612👍, 0💬

What is Asynchronous One-Way Calls ?
.NET INTERVIEW QUESTIONS - One-way calls are a different from asynchronous calls from execution angle that the .NET Framework does not guarantee their execution. In addition, the methods used in this kind of call cannot have return values or out parameters. One-way calls are defined by using [OneWay...
2009-09-15, 4593👍, 0💬

What is concept of Boxing and Unboxing ?
.NET INTERVIEW QUESTIONS - 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 v...
2010-04-20, 4577👍, 0💬

What is CODE Access security (CAS)?
.NET INTERVIEW QUESTIONS - What is CODE Access security (CAS)? 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 resour...
2010-04-27, 4573👍, 0💬

What is the difference between System.String and System.StringBuilder classes?
Difference between System.String & System.StringBuilder Classes? System.String is immutable; System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. prefer System.StringBuilder when you are doing lot of string manuplation oper...
2009-03-06, 4565👍, 0💬

What is a monitor object?
.NET INTERVIEW QUESTIONS - What is a monitor object? Monitor objects are used to ensure that a block of code runs without being interrupted by code running on other threads. In other words, code in other threads cannot run until code in the synchronized code block has finished. SyncLock and End Sync...
2009-12-22, 4559👍, 0💬

Can we have multiple threads in one App domain ?
.NET INTERVIEW QUESTIONS - Can we have multiple threads in one App domain ? One or more threads run in an AppDomain. An AppDomain is a runtime representation of a logical process within a physical process. Each AppDomain is started with a single thread, but can create additional threads from any of ...
2009-11-10, 4557👍, 0💬

How can we make a thread sleep for infinite period ?
.NET INTERVIEW QUESTIONS - How can we make a thread sleep for infinite period ? You can also place a thread into the sleep state for an indeterminate amount of time by calling Thread.Sleep (System.Threading.Timeout.Infi nite).To interrupt this sleep you can call the Thread.Interrupt method.
2009-11-24, 4542👍, 0💬

What is dot Net Remoting?
What is dot Net Remoting? NET Remoting is an enabler for application communication. It is a generic system for different applications to use to communicate with one another. .NET objects are exposed to remote processes, thus allowing interprocess communication. The applications can be located on the...
2009-03-11, 4509👍, 0💬

Are CAO stateful in nature ?
.NET INTERVIEW QUESTIONS - Are CAO stateful in nature ? Yes. In CAO remoting model client creates a instance on server and instance variable set by client on server can be retrieved again with correct value.
2009-08-26, 4503👍, 0💬

How to add and remove an assembly from GAC?
.NET INTERVIEW QUESTIONS - 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 –i...
2010-03-23, 4470👍, 0💬

< 1 2 3 4 5 > >>   Sort: Date