ASP.Net Interview Questions and Answers - ASP.NET FAQs

ASP.NET application life cycle - This section covers all about ASP.NET application life cycle and events processing
ASP.Net Server Control vs HTML control - This article includes differences between Server Control and HTML control in ASP.NET.
ASP.NET Application and Session - Here are the answers of interview questions on the topic ASP.NET Application and Session state variables.
ASP.NET Navigation - This article covers details of navigation ways available in ASP.NET.
ADO.NET architecture - Data Provider provides objects through which functionalities like opening and closing connection, retrieving and updating data can be availed....
ASP.NET Server Control Events - This section covers all about ASP.NET Server Control Events.
What is Fragment Caching in ASP.NET? - Fragment caching refers to the caching of individual user controls within a Web Form....
What is partial classess in .net? - When there is a need to keep the business logic separate from the User Interface....
Explain how to pass a querystring from an .asp page to aspx page. - This html addresses use QueryString property to pass values between pages....
What is a ViewState? - If a site happens to not maintain a ViewState, then if a user has entered some information in a large form with many input fields and the page is refreshes, then the values filled up in the form are lost...
What is the difference between src and Code-Behind? - With the ‘src’ attribute, the source code files are deployed and are compiled by the JIT as needed...
What is the difference between URL and URI? - A URL (Uniform Resource Locator) is the address of some resource on the Web. A resource is nothing but a page of a site...
What is the Pre-Compilation feature of ASP.NET 2.0? - the pre-compilation feature is used with which an entire site is precompiled before it is made available to users...
How can we create custom controls in ASP.NET? - Custom controls are user defined controls. They can be created by grouping existing controls..
What is an application domain? - It's a way in CLR to maintain a boundary between various applications to ensure....
Different types of remote object creation mode in .NET - Ways in which object can be created using Remoting...
Answer for the question - Explain Singleton architecture of Remoting....
Terms related to lifecycle of a remoting object.....
How to specify remoting parameters using config files - The remoting parameters can be specified through both programming and in config files....
What is marshalling? Explain types of marshalling - Marshaling is a process of transforming or serializing data from one application domain....
What is ObjRef object in remoting? - ObjRef is a searializable object returned by Marshal()..
Steps of acquiring a proxy object in web services - Client communicates to UDI node to retrieve a list of available web services...
Steps to create and consume a webservice - create a new website by selecting ASP.NET Web Site and giving it a suitable name...
Difference between cache object and application object - Application variable/object stores an Object with a scope of availability...
What is Cache Callback in Cache? - The cache object has dependencies e.g. relationships to the file it stores..
What is Scavenging? - A process where items are removed from cache in order to free the memory based on their priority...
Types of Caching - Page output: Is used to fetch information or data at page level..
How to Cache different version of same page - The ways to cache different versions on the same page using ASP.NET cache object is using OutputCache object..
Explain how to implement Fragment Cache - Fragment cache is to store user controls individually within a web form in cache..
Various modes of storing ASP.NET session - Types of sessions...
What are the benefits and limitations of using hidden fields? - Easy to implement..
Benefits and limitations of using Hidden Frames - Hidden frames allow you to cache more than one data field....
Benefits and limitations of using Cookies - They are simple to use...
What is QueryString? Benefits and limitations of using querystring - Querystring is way to transfer information from one page to another through the URL..
Absolute and Sliding expiration in .NET - Absolute and sliding expiration are two Time based expiration strategies...
concepts of cross page posting - Cross Page Posting: It refers to the scenario where on event of some controls posts...
How to access ViewState value of this page in the next page - PreviousPage property is set to the page property of the nest page to access..
SQL Cache Dependency in ASP.NET - It is the mechanism where the cache object gets invalidated when the related data or the related resource is modified....
Concepts of Post Cache Substitution in .NET - It works opposite to fragment caching. The entire page is cached, except what is to be kept dynamic..
Use of localization and Globalization - users of different countries, use different languages and others settings like currency, and dates...
Concepts of CODE Page approach - Code Page was used before Unicode came into existence..
Resource files and explain how do we generate resource files - Resource files are files in XML format. They contain all the resources needed by an application...
Satellite assemblies and how to generate Satellite assemblies - To support the feature of multiple languages, we need to create different modules that are customized on the basis of localization...
Define AL.EXE and RESGEN.EXE - Al.exe: It embeds the resources into a satellite assembly. It takes the resources in .resources binary format...
Concepts of resource manager class - ResourceManager class: It provides convenient access to resources that are culture-correct. The access is provided at run time.
What is Windows communication foundation, WCF? - WCF is a framework that builds applications that can inter-communicate based on....
Explain the important principle of SOA - A service-oriented architecture is collection of services which communicate...
Difference between WCF and Web Services - WCF can create services similar in concept to ASMX, but has much more capabilities....
What are different bindings supported by WCF? - BasicHttpBinding, WSHttpBinding...
What is duplex contract in WCF? - Duplex contract: It enables clients and servers to communicate with each other....
Different transaction isolation levels in WCF - Read Uncommitted, Read Committed, Repeatable Read, Serializable, Snapshot...
Volatile and Dead letter queues - There are scenarios in the project when you want the message to deliver in proper time...
What is Windows workflow foundation? - It is a platform for building, managing and executing workflow-enabled applications...
Types of Workflow - There are 3 types of workflows in WWF....
What are XOML files? - XOML is an acronym for Extensible Object Markup Language...
How to make an application offline in ASP.NET 2.0. - Microsoft's Internet Information Services web server software is used to make an application offline..
What are script injection attacks? - Script injection attacks called Cross-site scripting (XSS) attacks exploit vulnerabilities..
What is Authentication in ASP.NET? - Authentication is the process of verifying user’s details..
ASP.NET Login controls vs Forms authentication - Login controls are part of ASP. Net’s UI controls collection which allows users to enter their...
ASP.NET - What is Fragment Caching in ASP.NET? - Fragment caching does not cache a WebForm, rather it allows for caching of individual...
ASP.NET - What is partial classes in .net? - .Net2.0 supports the concept of partial classes which is unlike the concept of one class...
ASP.NET - Explain how to pass a querystring from an .asp page to aspx page - Yes you can do it using a hyperlink...
.NET Compact Framework - .NET Compact Framework is a scaled down versions of .NET framework for supporting Windows CE based mobile....
Language Integrated Query (LINQ) - LINQ is a set of extensions to .NET Framework that encapsulate language integrated query, set and other transformation operations....
ASP.NET - What are access modifiers? - Access modifiers are used to control the scope of type members..
ASP.NET - namespace for Web page in ASP.NET - System.Web.UI.Page.
ASP.NET overloading and overriding - Overriding - Methods have the same signature as the parent class method....
ASP.NET - user locale in ASP.NET - System.Web.UI.Page.Culture....
.NET - How do you implement inheritance in .NET? - In VB.Net we implements using Inherits keyword....
ASP.NET - Differences between Server-side and Client-side code - Server-side code executes on the server...
ADO.NET Dataset- A Dataset can represent an entire relational database in memory, complete with tables...
ASP.NET - Global.asax in ASP.NET - The Global.asax is including the Global.asax.cs file.....
ASP.NET - Application_Start and Session_Start subroutines - These subroutines set the variables for the Application and Session objects.....
ASP.NET - Inline code and code behind - Inline code written along side the html in a page....
ASP.NET - What is MSIL in .NET? - MSIL is the Microsoft Intermediate Language....
Class Web Forms inherit from - XOML is an acronym for Extensible Object Markup Language. XOML files are the markup files....
ASP.NET - What are the different IIS isolation levels in ASP.NET? - Low (IIS Process): This is the fastest and the default IIS4 setting. ASP pages run in INetInfo.exe and so they are executed in-process...