1 2 3 4 5 > >>   Sort: Date

What is Suspend and Resume in Threading ?
.NET INTERVIEW QUESTIONS - What is Suspend and Resume in Threading ? It is Similar to Sleep and Interrupt. Suspend allows you to block a thread until another thread calls Thread.Resume. The difference between Sleep and Suspend is that the latter does not immediately place a thread in the wait state....
2009-12-01, 10333👍, 0💬

What are Daemon threads and how can a thread be created as Daemon?
.NET INTERVIEW QUESTIONS - What are Daemon threads and how can a thread be created as Daemon? Daemon thread's run in background and stop automatically when nothing is running program. Example of a Daemon thread is "Garbage collector". Garbage collector runs until some .NET code is running or else it...
2009-12-09, 10087👍, 0💬

How to prevent my .NET DLL to be decompiled?
.NET INTERVIEW QUESTIONS - 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...
2010-05-04, 8802👍, 0💬

What is the difference between thread and process?
.NET INTERVIEW QUESTIONS - What is the difference between thread and process? A thread is a path of execution that run on CPU, a process is a collection of threads that share the same virtual memory. A process has at least one thread of execution, and a thread always run in a process context..
2010-01-05, 7682👍, 0💬

What is COM ?
.NET INTERVIEW QUESTIONS - What is COM ? Microsoft’s COM is a technology for component software development. It is a binary standard which is language independent. DCOM is a distributed extension of COM.
2010-01-12, 7597👍, 0💬

How can you avoid deadlock in threading?
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can avoid deadlocks.There are so many ways Microsoft has provided by which you can reduce deadlocks example Monitor, Interlocked classes, Wait handles, Event raising from one thread to other thread, Threa...
2010-01-05, 7542👍, 0💬

Can we use events with threading ?
.NET INTERVIEW QUESTIONS - Can we use events with threading ? Yes, you can use events with thread; this is one of the techniques to synchronize one thread with other.
2009-12-15, 7283👍, 0💬

What is application domain? Explain.
What is application domain? Explain. An application domain is the CLR equivalent of an operation system's process. An application domain is used to isolate applications from one another. This is the same way an operating system process works. The separation is required so that applications do not af...
2009-03-06, 6927👍, 0💬

Which is the best place to store ConnectionString in Dot Net Projects?
Which is the best place to store ConnectionString in Dot Net Projects? I am about to deploy my first ASP.NET project. But, I was used to store my variables, such as connection strings, in the global.asa file, in an application. However, these variables are different on my development and production ...
2009-03-18, 6820👍, 0💬

Where do you specify session state mode in ASP.NET ?
.NET INTERVIEW QUESTIONS - Where do you specify session state mode in ASP.NET ? The following code explains about specifying session state mode in ASP.NET. <sessionState mode=”SQLServer” stateConnectionString=”tcpip=1 92.168.1.1:42424"sqlConnectionString=”data source=192.168.1.1; Integrated ...
2009-06-16, 6759👍, 0💬

Is versioning applicable to private assemblies?
.NET INTERVIEW QUESTIONS - Is versioning applicable to private assemblies? Versioning concept is only applicable to global assembly cache (GAC) as private assembly lie in their individual folders.
2010-03-16, 6699👍, 0💬

What are types of compatibility in VB6?
.NET INTERVIEW QUESTIONS - What are types of compatibility in VB6? There are three possible project compatibility settings: * No Compatibility * Project Compatibility * Binary Compatibility No Compatibility With this setting, new class ID’s, new interface ID’s and a new type library ID will be gener...
2010-01-26, 6561👍, 0💬

Did VB6 support multi-threading ?
.NET INTERVIEW QUESTIONS - Did VB6 support multi-threading ? While VB6 supports multiple single-threaded apartments, it does not support a freethreading model, which allows multiple threads to run against the same set of data.
2009-11-03, 6492👍, 0💬

What is the difference between System exceptions and Application exceptions?
.NET INTERVIEW QUESTIONS - 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 applicationspeci...
2010-04-27, 5943👍, 0💬

What is equivalent for regsvr32 exe in .NET ?
.NET INTERVIEW QUESTIONS - What is equivalent for regsvr32 exe in .NET ? Regasm
2010-02-02, 5439👍, 0💬

What are different types of JIT ?
.NET INTERVIEW QUESTIONS - What are different types of JIT ? JIT compiler is a part of the runtime execution environment. In Microsoft .NET there are three types of JIT compilers: * Pre-JIT :- Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the t...
2010-04-13, 5343👍, 0💬

What is GAC ?
.NET INTERVIEW QUESTIONS - 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...
2010-03-16, 5219👍, 0💬

When we use windows API in .NET is it managed or unmanaged code ?
.NET INTERVIEW QUESTIONS - When we use windows API in .NET is it managed or unmanaged code ? Windows API in .NET is unmanaged code.
2010-01-12, 5156👍, 0💬

What are benefits and limitations of using Cookies?
.NET INTERVIEW QUESTIONS - What are benefits and limitations of using Cookies? Following are benefits of using cookies for state management :- * No server resources are required as they are stored in client. * They are light weight and simple to use Following are limitation of using cookies :- * Mos...
2009-07-21, 5137👍, 0💬

What are wait handles ?
.NET INTERVIEW QUESTIONS - What are wait handles ?(What is a mutex object ?) Wait handles sends signals of a thread status from one thread to other thread. There are three kind of wait modes :- * WaitOne. * WaitAny. * WaitAll. When a thread wants to release a Wait handle it can call Set method. You ...
2009-12-22, 5108👍, 0💬

What is a thread? How to use and create a thread in .NET?
What is a thread? How to use and create a thread in .NET? Can we use events with threading? Threads - When we want to run one or more instances of a method, we make use of threading. Suppose we have a method like this... Private Sub OnGoingProcess() Dim i As Integer = 1 Do While True ListBox1.Items....
2009-03-06, 5098👍, 0💬

What are benefits and limitations of using Viewstate for state management?
.NET INTERVIEW QUESTIONS - What are benefits and limitations of using Viewstate for state management? Following are the benefits of using Viewstate :- * No server resources are required because state is in a structure in the page code. * Simplicity. * States are retained automatically. * The values ...
2009-07-07, 4972👍, 0💬

How many types of Transactions are there in COM + .NET ?
.NET INTERVIEW QUESTIONS - How many types of Transactions are there in COM + .NET ? There are 5 transactions types that can be used with COM+. Whenever an object is registered with COM+ it has to abide either to these 5 transaction types. Disabled: - There is no transaction. COM+ does not provide tr...
2010-01-26, 4938👍, 0💬

What is the difference between Convert.toString and .toString() method ?
.NET INTERVIEW QUESTIONS - What is the difference between Convert.toString and .toString() method ? Consider this 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.ToString” so what’s the difference...
2010-05-04, 4907👍, 0💬

1 2 3 4 5 > >>   Sort: Date