What are the various modes of storing ASP.NET session ?
.NET INTERVIEW QUESTIONS - What are the various modes of storing ASP.NET session ? * InProc:- In this mode Session state is stored in the memory space of the Aspnet_wp.exe process. This is the default setting. If the IIS reboots or web application restarts then session state is lost. * StateServer:-... 2009-06-02, 4219👍, 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, 3984👍, 0💬
How can you cache different version of same page using ASP.NET cache object ?
.NET INTERVIEW QUESTIONS - How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. The syntax is as follows:- <%@ OutputCache Duration="20" Location="Server" VaryByParam="stat... 2009-05-19, 4955👍, 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, 4847👍, 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, 4017👍, 0💬
Can you explain what is remotable and non-remotable objects ?
Can you explain what is remotable and non-remotable objects ? The remotable objects are the objects which can be distributed accross domains, can be used with domain. The non-remotable objects are the objects which can't be distributed accross domains. In distributed system, if an object is very big... 2009-03-19, 4067👍, 0💬
.NET Remoting versus Distributed COM ?
.NET Remoting versus Distributed COM ? In the past interprocess communication between applications was handled through Distributed COM, or DCOM. DCOM works well and the performance is adequate when applications exist on computers of similar type on the same network. However, DCOM has its drawbacks i... 2009-03-19, 4228👍, 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, 4262👍, 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, 4932👍, 0💬
What does address of operator do in background?
What does address of operator do in background? The AddressOf operator creates a delegate object to the BackgroundProcess method. A delegate within VB.NET is a type-safe, object-oriented function pointer. After the thread has been instantiated, you begin the execution of the code by calling the Star... 2009-03-06, 7195👍, 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, 4343👍, 0💬
What is the main difference between Gridlayout and FlowLayout
What is the main difference between Gridlayout and FlowLayout ? GridLayout provides absolute positioning for controls placed on the page. Developers that have their roots in rich-client development environments like Visual Basic will find it easier to develop their pages using absolute positioning, ... 2007-10-24, 4658👍, 0💬
How do we configure “WebGarden”
How do we configure “WebGarden”? “Web garden” can be configured by using process model settings in “machine.config” or “Web.config” file. The configuration section is named <processModel> and is shown in the following example. The process model is enabled by default (enable=”true”). Below... 2007-10-24, 6985👍, 0💬
What is the difference between “Web farms” and “Web garden”?
What is the difference between “Web farms” and “Web garden”? “Web farms” are used to have some redundancy to minimize failures. It consists of two or more web server of the same configuration and they stream the same kind of contents. When any request comes there is switching / routing logic which... 2007-10-24, 5214👍, 0💬
What are the steps to create a windows service in VB.NET
What are the steps to create a windows service in VB.NET? Windows Services are long-running executable applications that run in its own Windows session, which then has the ability to start automatically when the computer boots and also can be manually paused, stopped or even restarted. Following are... 2007-10-24, 4309👍, 0💬
How to use a checkbox in a datagrid
How can I track event in checkbox which is one of the columns of a datagrid ? Note: - This is normally asked when the interviewer want to see that have you really worked practically on a project. Following are the steps to be done :- 1. In ASPX page you have to add Itemtemplate tag in datagrid. &... 2007-10-24, 4595👍, 0💬
Can you explain Forms authentication in detail
Can you explain Forms authentication in detail ? In old ASP if you where said to create a login page and do authentication you have to do hell lot of custom coding. But now in ASP.NET that’s made easy by introducing Forms authentication. So let’s see in detail what form authentication is. Forms auth... 2007-10-24, 5968👍, 0💬
Explain the differences between Server-side and Clientside code
Explain the differences between Server-side and Clientside code? Server side code is executed at the server side on IIS in ASP.NET framework, while client side code is executed on the browser. 2007-10-24, 4325👍, 0💬
What is the use of attribute
What is the use of attribute ? This attribute works like a compatibility option. As mentioned before ASP worked in STA model and ASP.NET works in MTA model, but what if your ASP.NET application is using a VB COM component. In order that VB COM runs properly in ASP.NET threading model we have to set ... 2007-10-24, 4781👍, 0💬
How can we implement singleton pattern in .NET? Singleton pattern mainly focuses on having one and o...
What's the difference between J2SDK 1.5 and J2SDK 5.0? There is no difference, Sun Microsystems just...
How To Enter Microseconds in SQL Statements? - MySQL FAQs - Introduction to SQL Date and Time Handli...
How To Use SELECT Statement to Count the Number of Rows? - Oracle DBA FAQ - Understanding SQL SELECT...
Can you have virtual functions in Java? Yes, all functions in Java are virtual by default. This is a...