<< < 19 20 21 22 23 24 25 26 27 28 29 > >>   Sort: Date

Is it a good design practice to distribute the implementation to
Is it a good design practice to distribute the implementation to Remoting Client ? Itfs never advisable to distribute complete implementation at client, due to following reasons:- ã Any one can use ILDASM and decrypt your logic. ã Itfs a bad architecture move to have full implementation as cli...
2007-10-23, 4676👍, 0💬

What’s a Class
What’s a Class ? A class describes all the attributes of objects, as well as the methods that implement the behavior of member objects. It’s a comprehensive data type which represents a blue print of objects. It’s a template of object.
2007-10-23, 4661👍, 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, 4658👍, 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, 4656👍, 0💬

What the different phase/steps of acquiring a proxy object in Webservice ?
.NET INTERVIEW QUESTIONS - What the different phase/steps of acquiring a proxy object in Webservice ? Following are the different steps needed to get a proxy object of a webservice at the client side :- * Client communicates to UDI node for WebService either through browser or UDDI's public web serv...
2009-10-13, 4653👍, 0💬

Can you compare ASP.NET sessions with classic ASP?
.NET INTERVIEW QUESTIONS - Can you compare ASP.NET sessions with classic ASP? ASP.NET session caches per user session state. It basically uses “HttpSessionState” class. Following are the limitations in classic ASP sessions :- * ASP session state is dependent on IIS process very heavily. So if IIS re...
2009-05-26, 4649👍, 0💬

What is a Web Service ?
.NET INTERVIEW QUESTIONS - What is a Web Service ? Web Services are business logic components which provide functionality via the Internet using standard protocols such as HTTP. Web Services uses Simple Object Access Protocol (SOAP) in order to expose the business functionality.SOAP defines a standa...
2009-10-01, 4633👍, 0💬

Which config file has all the supported channels/protocol ?
.NET INTERVIEW QUESTIONS - Which config file has all the supported channels/protocol ? Machine.config file has all the supported channels and formatter supported by .NET remoting.Machine.config file can be found at “C:\WINDOWS\Microsoft.NET\Fram ework\vXXXXX\CONFIG”path. Find element in the Machine....
2009-09-01, 4631👍, 0💬

What is Reference counting in COM
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, the reference count is set t...
2007-10-22, 4618👍, 0💬

Do webservices have state ?
.NET INTERVIEW QUESTIONS - Do webservices have state ? (How can we maintain State in Webservices ?) Webservices as such do not have any mechanism by which they can maintain state. Webservices can access ASP.NET intrinsic objects like Session, application and so on if they inherit from “WebService” b...
2009-10-20, 4614👍, 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, 4610👍, 0💬

Which class does the remote object has to inherit ?
.NET INTERVIEW QUESTIONS - Which class does the remote object has to inherit ? All remote objects should inherit from System.MarshalbyRefObject.
2009-08-04, 4603👍, 0💬

What is Manifest?
.NET INTERVIEW QUESTIONS - What is Manifest? Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things * Version of assembly * Security identity * Scope of the assembly * Resolve references to resources and classes. * The assembly manifest can be s...
2010-03-09, 4601👍, 0💬

What are Value types and Reference types ?
.NET INTERVIEW QUESTIONS - 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 c...
2010-04-13, 4596👍, 0💬

What is .NET 3.0
What is .NET 3.0? In one simple equation .NET 3.0 = .NET 2.0 + Windows Communication Foundation + Windows Presentation Foundation + Windows Workflow Foundation + Windows CardSpace.
2007-11-03, 4595👍, 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, 4593👍, 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, 4591👍, 0💬

When working with shared data in threading how do you implement synchronization ?
.NET INTERVIEW QUESTIONS - When working with shared data in threading how do you implement synchronization ? There are certain situtations that you need to be careful with when using threads. If two threads (e.g. the main and any worker threads) try to access the same variable at the same time, you'...
2009-12-15, 4586👍, 0💬

What is .NET Remoting ?
.NET INTERVIEW QUESTIONS - What is .NET Remoting ? .NET remoting is replacement the of DCOM. Using .NET remoting you can make remote object calls which lie in different Application Domains. As the remote objects run in different process client calling the remote object can not call it directly. So t...
2009-08-04, 4582👍, 0💬

What is the use of command objects
What is the use of command objects ? They are used to connect connection object to Datareader or dataset. Following are the methods provided by command object ? ExecuteNonQuery :- Executes the command defined in the CommandText property against the connection defined in the Connection property for a...
2007-10-24, 4577👍, 0💬

What are indexes? What is the difference between stered and nonclustered indexes
What are indexes? What is the difference between clustered and nonclustered indexes? Indexes in SQL Server are similar to the indexes in books. They help SQL Server retrieve the data quickly. There are clustered and nonclustered indexes. A clustered index is a special type of index that reorders the...
2007-10-25, 4568👍, 0💬

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

What are the other ways in which you can maintain state ?
.NET INTERVIEW QUESTIONS - What are the other ways in which you can maintain state ? Other than session variables you can use the following technique to store state : * Hidden fields * View state * Hidden frames * Cookies * Query strings
2009-06-16, 4564👍, 0💬

Which attribute is used in order that the method can be used as WebService ?
.NET INTERVIEW QUESTIONS - Which attribute is used in order that the method can be used as WebService ? WebMethod attribute has to be specified in order that the method and property can be treated as WebService.
2009-10-20, 4555👍, 0💬

<< < 19 20 21 22 23 24 25 26 27 28 29 > >>   Sort: Date