<< < 15 16 17 18 19 20 21 22 23 24 25 > >>   Sort: Rank

What are dependencies in cache and what are the different types of dependencies ?
.NET INTERVIEW QUESTIONS - What are dependencies in cache and what are the different types of dependencies ? When you add an item to the cache, you can define dependency relationships that can force that item to be removed from the cache under specific activities of dependencies. Example if the cach...
2009-05-05, 4316👍, 0💬

How can we get access to cache object ?
.NET INTERVIEW QUESTIONS - How can we get access to cache object ? The Cache object is defined in the System.Web.Caching namespace. You can get a reference to the Cache object by using the Cache property of the HttpContext class in the System.Web namespace or by using the Cache property of the Page ...
2009-04-28, 4329👍, 0💬

What is the difference between Cache object and application object ?
.NET INTERVIEW QUESTIONS - What is the difference between Cache object and application object ? The main difference between the Cache and Application objects is that the Cache object provides cache-specific features, such as dependencies and expiration policies.
2009-04-28, 4402👍, 0💬

What is an application object ?
.NET INTERVIEW QUESTIONS - What is an application object ? Application object can be used in situation where we want data to be shared across users globally.
2009-04-21, 4094👍, 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, 4743👍, 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, 5059👍, 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, 4357👍, 0💬

How do you hide Public .NET Classes and other public members from COM?
Managed Code and Unmanaged Code related ASP.NET - How do you hide Public .NET Classes and other public members from COM? In some cases, you might want to hide selected .NET classes from COM but keep them public for use from other .NET assemblies. The ComVisible attribute allows you to select which p...
2009-04-09, 8026👍, 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, 4388👍, 0💬

What happens when you add a reference to a COM object from with in a dot net application?
Managed Code and Unmanaged Code related ASP.NET - What happens when you add a reference to a COM object from with in a dot net application? When you add a reference to a COM object, Visual Studio automatically generates an interop assembly for the object and places it in the project’s /bin folder. T...
2009-04-08, 5175👍, 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, 4367👍, 0💬

What are COM objects?
Managed Code and Unmanaged Code related ASP.NET - What are COM objects? COM objects are another type of unmanaged code that you can use from .NET assemblies. Because COM is widely used, Visual Studio includes built-in tools for importing and using COM objects within .NET assemblies. Visual Studio al...
2009-04-07, 5240👍, 0💬

What are the limitations of using Unmanaged Code from within a .NET assembly?
Managed Code and Unmanaged Code related ASP.NET- What are the limitations of using Unmanaged Code from within a .NET assembly? Performance : Although native-code DLLs can perform some operations more quickly than equivalent code managed by the CLR, these benefits might be offset by the time it takes...
2009-04-07, 4311👍, 0💬

What are the steps to follow to use Platform Invoke?
Managed Code and Unmanaged Code related ASP.NET - What are the steps to follow to use Platform Invoke? To use platform invoke, follow the following steps: 1. Import the System.Runtime.InteropServices namespace. 2. Declare the unmanaged procedure using the DllImport attribute or the Declare statement...
2009-03-31, 4405👍, 0💬

What is Platform Invoke or pinvoke?
Managed Code and Unmanaged Code related ASP.NET- What is Platform Invoke or pinvoke? The process of executing native code from within a .NET assembly is called platform invoke, or pinvoke for short. You use platform invoke to call the Win32 API directly, to access existing (legacy) DLLs your company...
2009-03-30, 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, 4127👍, 0💬

What is Serialization Formatters in .NET Remoting ?
What is Serialization Formatters in .NET Remoting ? When any object is to be sent across the transport channel, it must be serialized and packed into a data format that can be transmitted with the wire. On the other end of the wire, this serialized data is read and deserialized back to the actual ob...
2009-03-27, 4164👍, 0💬

.NET Remoting Overview ?
.NET Remoting Overview ? .NET Remoting is very flexible. You have a wide range of communications options and activation methods, as well as full control over a distributed object's lifecycle. You can choose TCP or HTTP communications protocols on any port, using text or binary formatting. The .NET R...
2009-03-27, 4383👍, 0💬

Some Important Notes about .NET
Some Important Notes about .NET The dependence on assembly metadata implies that client applications must understand .NET concepts. As a result, applications that make use of .NET Remoting are not interoperable with other systems. Although it's possible to write an XML Web service using .NET Remotin...
2009-03-26, 4191👍, 0💬

What is Abstract ?
What is Abstract ? NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based WebServices. .NET Remoting is easier to use than Jav...
2009-03-26, 4062👍, 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, 4504👍, 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, 3995👍, 0💬

Advantage of Remoting over Web Services ?
Advantage of Remoting over Web Services ? .NET Remoting is a distributed objects infrastructure. It allows processes to share objects—to call methods on and access properties of objects that are hosted in different application domains within the same process, different processes executing on the sam...
2009-03-24, 4153👍, 0💬

Security in Remoting ?
Security in Remoting ? Security is of paramount importance to any distributed application. Although the .NET Remoting infrastructure does not define any security features itself, because distributed applications are managed code they have full access to all of the .NET security features. In addition...
2009-03-24, 4579👍, 0💬

<< < 15 16 17 18 19 20 21 22 23 24 25 > >>   Sort: Rank