Tag Archives: Interview Questions

ASP.Net Interview Questions 6

What is different b/w  webconfig.xml & Machineconfig.xml Web.config & machine.config both are configuration files.Web.config contains settings specific to an application where as machine.config contains settings to a computer. The Configuration system first searches settings in machine.config file & then looks in application configuration  files.Web.config, can appear in multiple directories on an ASP.NET Web application server. […]

ASP.Net Interview Questions 5

Which template must you provide, in order to display data in a Repeater control? You have to use the ItemTemplate to Display data. Syntax is as follows,   < ItemTemplate >    < div class =”rItem” >         < img src=”images/<%# Container.DataItem(“ImageURL”)%>”  hspace=”10” />     < b > <% # Container.DataItem(“Title”)%>    < /div > […]

ASP.Net Interview Questions 4

When you’re running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003? On Windows 2003 (IIS 6.0) running in native mode, the component is running within the w3wp.exe process associated with the application pool which has been configured for the web application containing the component. On Windows […]

ASP.Net Interview Questions 3

What is the difference between repeater over datalist and datagrid? The Repeater class is not derived from the WebControl class, like the DataGrid and DataList. Therefore, the Repeater lacks the stylistic properties common to both the DataGrid and DataList. What this boils down to is that if you want to format the data displayed in […]

WinForm Interview Questions

Windows Forms Interview Questions What base class do all Web Forms inherit from? System.Windows.Forms.Form W hat is the difference between Debug.Write and Trace.Write? When should each be used? The Debug.Write call won’t be compiled when the DEBUGsymbol is not defined (when doing a release build). Trace.Write calls will be compiled. Debug.Write is for information you […]

.Net Framework Interview Questions 11

When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET ‘vision’. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. When was the first version of .NET released? […]

.Net Framework Interview Questions 10

What is side-by-side execution? Can two application one using private assembly and other using Shared assembly be stated as a side-by-side executables? Side-by-side execution is the ability to run multiple versions of an application or component on the same computer. You can have multiple versions of the common language runtime, and multiple versions of applications […]

.Net Framework Interview Questions 9

How do I change the permission set for a code group? Use caspol. If you are the machine administrator, you can operate at the ‘machine’ level – which means not only that the changes you make become the default for the machine, but also that users cannot change the permissions to be more permissive. If […]

.Net Framework Interview Questions 8

What is JIT and how is works ? An acronym for “just-in-time,” a phrase that describes an action that is taken only when it becomes necessary, such as just-in-time compilation or just-in-time object activation What is portable executable (PE) ? The file format used for executable programs and for files to be linked together to […]

.Net Framework Interview Questions 7

What does assert() do? In debug compilation, assert takes in a Boolean condition as a parameter, and shows the error dialog if the condition is  false. The program proceeds without any interruption if the condition is true. What’s the difference between the Debug class and Trace class? Documentation looks the same. Use Debug class for […]