.NET Interview Questions – Part 20

1.What is fragment caching? Caching parts of web form is called as fragment caching. Sometimes you want to cache only part of a Web form response. For instance, a Web form might contain many pieces of variable information plus a single large table that almost never changes. In this case, you might place that table […]

.NET Interview Questions – Part 19

1.What’s the difference between Response.Write() andResponse.Output.Write()? Response.Output.Write() allows you to write formatted output. 2.What methods are fired during the page load? Init() – when the page is instantiated Load() – when the page is loaded into server memory PreRender() – the brief moment before the page is displayed to the user as HTML Unload() – […]

.Net Interview Questions – Part 17

1.What is an Application Domain? An AppDomain can be thought of as a lightweight process. Multiple AppDomains can exist inside a Win32 process. The primary purpose of the AppDomain is to isolate an application from other applications. Win32 processes provide isolation by having distinct memory address spaces. This is effective, but it is expensive and […]

.NET Interview Questions – Part 18

1.What is MS-IL (Microsoft Intermediate Language) ? When a program is complied in .Net , the source code will be converted into an intermediate language called  Microsoft Intermediate Language (MS-IL) . This is done by Just-In time Complier (JIT). .Net framework is built in such a way that , Code is Just-In time complied, that […]

.NET interview Questions – Part 16

1.What’s involved in certain piece of code being managed? The advantages include automatic garbage collection, memory management, support for versioning and security. These advantages are provided through .NET FCL and CLR, while with the unmanaged code similar capabilities had to be implemented through third-party libraries or as a part of the application itself. 2.Are COM […]

.NET Interview Questions – Part 15

1. How information about the user’s locale can be accessed? The information regarding a user’s locale can be accessed by using the System.Web.UI.Page.Cultureproperty. 2. Can you set which type of comparison you want to perform by the CompareValidator control? Yes, by setting the Operator property of the CompareValidator control. 3 What is the behavior of […]

.NET Interview Questions – Part 14

1. Where the viewstate is stored after the page postback? ViewState is stored in a hidden field on the page at client side.  ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. 2. Which validator control you use if you need […]

.NET Interview Questions – Part 13

1.What’s a bubbled event? When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their event handlers, allowing the main DataGrid event handler to take care of its constituents. 2.Suppose you want a certain ASP.NET function executed […]

.NET Interview Questions – Part 12

1. What is new with ASP.Net 4 WebForms ? Some of the Features are: . Ability to Set Metatags. . More control over view state. . Added and Updated browser definition files. . ASP.Net Routing. . The ability to Persist Selected rows in data Control. . More control over rendered HTML in FormView and ListView […]

.NET Interview Questions – Part 11

1. What is an IL? Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler. 2. What is Manifest? […]