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

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, 4622👍, 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, 4604👍, 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, 4602👍, 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, 4598👍, 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, 4594👍, 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, 4593👍, 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, 4589👍, 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, 4587👍, 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, 4570👍, 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, 4568👍, 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, 4556👍, 0💬

What is a Managed Code?
.NET INTERVIEW QUESTIONS - What is a Managed Code? Managed code runs inside the environment of CLR i.e. .NET runtime. In short all IL are managed code. But if you are using some third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) does not have control ove...
2010-02-16, 4523👍, 0💬

What is file extension of Webservices ?
.NET INTERVIEW QUESTIONS - What is file extension of Webservices ? The extension for Webservices is .ASMX.
2009-10-13, 4522👍, 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, 4520👍, 0💬

Does the performance for viewstate vary according to User controls ?
.NET INTERVIEW QUESTIONS - Does the performance for viewstate vary according to User controls ? Performance of viewstate varies depending on the type of server control to which it is applied. Label, TextBox, CheckBox, RadioButton, and HyperLink are server controls that perform well with ViewState. D...
2009-07-07, 4507👍, 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, 4500👍, 0💬

Can we force garbage collector to run ?
.NET INTERVIEW QUESTIONS - Can we force garbage collector to run ? System.GC.Collect() forces garbage collector to run. This is not recommended but can be used if situations arises.
2010-03-30, 4467👍, 0💬

What are the situations where you will use singleton architecture in remoting ?
.NET INTERVIEW QUESTIONS - What are the situations where you will use singleton architecture in remoting ? If all remoting clients have to share the same data singleton architecture will be used.
2009-08-11, 4463👍, 0💬

Is it a good design practice to distribute the implementation to Remoting Client ?
.NET INTERVIEW QUESTIONS - Is it a good design practice to distribute the implementation to Remoting Client ? It’s never advisable to distribute complete implementation at client, due to following reasons:- * Any one can use ILDASM and decrypt your logic. * It’s a bad architecture move to have full ...
2009-08-26, 4460👍, 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, 4440👍, 0💬

What is ViewState ?
.NET INTERVIEW QUESTIONS - What is ViewState ? Viewstate is a built-in structure for automatically retaining values amongst the multiple requests for the same page. The viewstate is internally maintained as a hidden field on the page but is hashed, providing greater security than developer-implement...
2009-06-30, 4436👍, 0💬

.NET INTERVIEW QUESTIONS - What is an Assembly?
.NET INTERVIEW QUESTIONS - What is an Assembly? * Assembly is unit of deployment like EXE or a DLL. * An assembly consists of one or more files (dlls, exe’s, html files etc.), and represents a group of resources, type definitions, and implementations of those types. An assembly may also contain refe...
2010-02-23, 4434👍, 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, 4419👍, 0💬

What are the different types of Assembly?
.NET INTERVIEW QUESTIONS - What are the different types of Assembly? There are two types of assembly Private and Public assembly. A private assembly is normally used by a single application, and is stored in the application's directory, or a sub-directory beneath. A shared assembly is normally store...
2010-02-23, 4418👍, 0💬

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