Find jobs | Company-wise jobs
Jobseekers | Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Interview Q&A Tutorials .NET Java Soft skills CV GD Work from home IT practice test MBA practice test FAQs in PDF Books Jobs FAQs

ASP.NET interview questions

ASP.NET interview questions - part 1

Next>>
What is the difference between login controls and Forms authentication?

Latest answer: Login control provides form authentication. If we implement for authentication through form authentication then we do it through code. On the other hand, login control allows the easy implementation...............
Read answer

What is Fragment Caching in ASP.NET?

Latest answer: Fragment caching allows to cache specific portions of the page rather than the whole page. It is done by implementing the page in different parts............ 
Read answer

What is partial classess in .net?

Latest answer: When there is a need to keep the business logic separate from the User Interface or when there is some class which is big enough to have multiple number of developers............
Read answer

Explain how to pass a querystring from an .asp page to aspx page.

Latest answer: FromHTMLinasppage:<ahref="abc.aspx?qstring1=test">Test Query String</a>
From server side code: <%response.redirect "webform1.aspx?id=11"%>...............
Read answer

What is a ViewState?

Latest answer: 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...........
Read answer

What is the difference between src and Code-Behind?

Latest answer: With the ‘src’ attribute, the source code files are deployed and are compiled by the JIT as needed.
Though the code is available to everyone with an access to the server (NOT anyone on the web)................
Read answer

What is the difference between URL and URI?

Latest answer: A URL (Uniform Resource Locator) is the address of some resource on the Web. A resource is nothing but a page of a site. There are other type of resources than Web pages, but that's the easiest conceptually...........
Read answer

What is the Pre-Compilation feature of ASP.NET 2.0?

Latest answer: Previously, in ASP.NET, the pages and the code used to be compiled dynamically and then cached so as to make the requests to access the page extremely efficient............
Read answer

How can we create custom controls in ASP.NET?

Latest answer: Custom controls are user defined controls. They can be created by grouping existing controls, by deriving the control from System.Web.UI.WebControls..........
Read answer

What is an application domain?

Latest answer: It's a way in CLR to maintain a boundary between various applications to ensure that they do not interfere in working of any other application...........
Read answer

Explain the two different types of remote object creation mode in .NET. [Hint SAO and CAO]

Latest answer: SAO Server Activated Object (call mode): lasts the lifetime of the server. They are activated as SingleCall/Singleton objects. It makes objects stateless...........
Read answer

Describe SAO architecture of Remoting.

Latest answer: Remoting has at least three sections:-

1. Server
2. Client: This connects to the hosted remoting object
3. Common Interface between client and the server .i.e. the channel..........
Read answer

Explain Singleton architecture of Remoting.

Latest answer: Singleton architecture is to be used when all the applications have to use or share same data...........
Read answer

Define LeaseTime, SponsorshipTime, RenewOnCallTime, LeaseManagePollTime.

Latest answer: The LeaseTime property protects the object so that the garbage collector does not destroy it as remoting objects are beyond the scope of the garbage collector. Every object created has a default leasetime for which it will be activated..........
Read answer

Briefly explain how to specify remoting parameters using config files.

Latest answer: The remoting parameters can be specified through both programming and in config files. All the settings defined in config files are placed under <system.runtime.remoting>...........
Read answer

What is marshalling? Explain types of marshalling.

Latest answer: Marshaling is a process of transforming or serializing data from one application domain and exporting it to another application domain...........
Read answer

What is ObjRef object in remoting?

Latest answer: ObjRef is a searializable object returned by Marshal() that knows about location of the remote object, host name, port number, and object name........
Read answer

Explain the steps of acquiring a proxy object in web services.

Latest answer: Every service listed has a URI pointing to the service's DISCO or WSDL document, which is needed to access the webservice and its 'webmethod" methods..........
Read answer

Explain the steps to create a web services and consume it.

Latest answer: Create a new website by selecting "ASP.NET Web Site" and giving it a suitable name. service.cs file appears inside the solution with a default webmethod named as "HelloWorld()"........
Read answer

Explain the difference between cache object and application object.

Latest answer: Application Object: Application variable/object stores an Object with a scope of availability of the entire Application unless explicitly destroyed.............
Read answer

What is Cache Callback in Cache?

Latest answer: The cache object has dependencies e.g. relationships to the file it stores. Cache items remove the object when these dependencies change. As a work around we would need to simply execute a callback method............
Read answer

What is Scavenging?

Latest answer: A process where items are removed from cache in order to free the memory based on their priority. A property called "CacheItemPriority" is used to figure out the priority of each item inside the cache...........
Read answer

Explain the types of Caching using Cache object of ASP.NET.

Latest answer: Page output: Is used to fetch information or data at page level. It is best used when the site is mainly static. Used by declaring the output page directive............
Read answer

Show with an example how to Cache different version of same page using ASP.NET Cache object.

Latest answer: The ways to cache different versions on the same page using ASP.NET cache object is using OutputCache object............
Read answer

Explain how to implement Fragment Cache.

Latest answer: Fragment cache is to store user controls individually within a web form in cache instead of the whole webform as such. The idea is to simply have different cache parameters for different user controls.............
Read answer

Explain the various modes of storing ASP.NET session.

Latest answer: Types of sessions: InProc: The default way to use sessions. InProc is the fastest way to store and access sessions...........
Read answer

What are the benefits and limitations of using hidden fields?

Latest answer: Advantages: Easy to implement, Hidden fields are supported by all browsers, Enables faster access of information because data is stored on client side............
Read answer

What are the benefits and limitations of using Hidden Frames?

Latest answer: Advantages: Hidden frames allow you to cache more than one data field, The ability to cache and access data items stored in different hidden forms...........
Read answer

What are benefits and limitations of using Cookies?

Latest answer: Advantages: They are simple to use. Light in size, thus occupy less memory. Stores server information on client side. Data need not to be sent back to server........
Read answer

What is QueryString and what are benefits and limitations of using querystring?

Latest answer: Querystring is way to transfer information from one page to another through the URL........
Read answer

What is Absolute and Sliding expiration in .NET?

Latest answer: Absolute and sliding expiration are two Time based expiration strategies. Absolute Expiration: Cache in this case expires at a fixed specified date or time..............
Read answer

Explain the concepts and capabilities of cross page posting.

Latest answer: Cross-page posting is done at the control level. It is possible to create a page that posts to different pages depending on what button the user clicks on. It is handled by done by changing the postbackurl property of the controls..........
Read answer

Explain how to access ViewState value of this page in the next page.

Latest answer: PreviousPage property is set to the page property of the nest page to access the viewstate value of the page in the next page. Page poster = this.PreviousPage;..........
Read answer

What is SQL Cache Dependency in ASP.NET?

Latest answer: 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.........
Read answer

Explain the concepts of Post Cache Substitution in .NET

Latest answer: Post Cache Substitution: It works opposite to fragment caching. The entire page is cached, except what is to be kept dynamic. When [OutputCache] attribute is used, the page is cached............
Read answer

Explain the use of localization and Globalization.

Latest answer: Users of different countries, use different languages and others settings like currency, and dates. Therefore, applications are needed to be configurable as per the required settings based on cultures, regions, countries........
Read answer

Explain the concepts of CODE Page approach. What are the disadvantages of this approach?

Latest answer: Code Page was used before Unicode came into existence. It was a technique to represent characters in different languages..........
Read answer

What are resource files and explain how do we generate resource files?

Latest answer: Resource files are files in XML format. They contain all the resources needed by an application. These files can be used to store string, bitmaps, icons, fonts........
Read answer

What are Satellite assemblies and how to generate Satellite assemblies?

Latest answer: To support the feature of multiple languages, we need to create different modules that are customized on the basis of localization. These assemblies created on the basis of different modules are knows as satellite assemblies...........
Read answer

Define AL.EXE and RESGEN.EXE.

Latest answer: Al.exe: It embeds the resources into a satellite assembly. It takes the resources in .resources binary format.......
Read answer

Explain the concepts of resource manager class.

Latest answer: ResourceManager class: It provides convenient access to resources that are culture-correct. The access is provided at run time.........
Read answer

What is Windows communication foundation, WCF?

Latest answer: WCF is a framework that builds applications that can inter-communicate based on service oriented architecture consuming secure and reliable web services.............
Read answer

Explain the important principle of SOA.

Latest answer: A service-oriented architecture is collection of services which communicate with one another other......
Read answer

Explain the components of WCF - Service class, Hosting environment, END point.

Latest answer: WCF Service is composed of three components: Service class: It implements the service needed, Host environment: is an environment that hosts the developed service.............
Read answer

Difference between WCF and Web Services.

Latest answer: WCF can create services similar in concept to ASMX, but has much more capabilities. WCF is much more efficient than ASP.Net coz it is implemented on pipeline............
Read answer

What are different bindings supported by WCF?

Latest answer: BasicHttpBinding, WSHttpBinding, WSDualHttpBinding.......
Read answer

What is duplex contract in WCF?

Latest answer: Duplex contract: It enables clients and servers to communicate with each other. The calls can be initiated independently of the other one.............
Read answer

Explain the different transaction isolation levels in WCF.

Latest answer: Read Uncommitted: - Also known as Dirty isolation level. It makes sure that corrupt Data cannot be read. This is the lowest isolation level............
Read answer

What are Volatile and Dead letter queues?

Latest answer: Volatile Queues: There are scenarios in the project when you want the message to deliver in proper time. The timely delivery of message is very more important and to ensure they are not lost is important too. Volatile queues are used for such purposes.............
Read answer

What is Windows workflow foundation?

Latest answer: Windows Workflow Foundation (WF): It is a platform for building, managing and executing workflow-enabled applications, for designing and implementing a programming model ..........
Read answer

Explain the types of Workflow in Windows Workflow Foundation.

Latest answer: There are 3 types of workflows in WWF: Sequential Workflow: The sequential workflow style executes a set of contained activities in order, one by one and does not provide an option to go back to any step...........
Read answer

What are XOML files? Explain their uses.

Latest answer: XOML is an acronym for Extensible Object Markup Language. XOML files are the markup files. They are used to declare the workflow and are then compiled with the file containing the implementation logic..............
Read answer

How to make an application offline in ASP.NET 2.0.

Latest answer: Microsoft's Internet Information Services web server software is used to make an application offline. The IIS is instructed to route all incoming requests for the web site to another URL automatically........
Read answer

What are script injection attacks?

Latest answer: Script injection attacks called Cross-site scripting (XSS) attacks exploit vulnerabilities in Web page validation by injecting client-side script code.............
Read answer

What is Authentication in ASP.NET?

Latest answer: Authentication is the process of verifying user’s details and find if the user is a valid user to the system or not. This process of authentication is needed to provide authority to the user........
Read answer

What is Authorization in ASP.NET?

Latest answer: Authorization is a process that takes place based on the authentication of the user. Once authenticated, based on user’s credentials, it is determined what rights des a user have...........
Read answer

What is the difference between login controls and Forms authentication?

Login controls are part of ASP. Net’s UI controls collection which allows users to enter their username and password to login to a website/application. They provide login solution without the need of writing code...........
Read answer

What is Fragment Caching in ASP.NET?

Fragment caching does not cache a WebForm, rather it allows for caching of individual user controls within a Web Form, where each control can have different cache duration and behavior...........
Read answer

What is partial classess in .net?

.Net2.0 supports the concept of partial classes which is unlike the concept of one class one file. In .Net technology, one can define a single class over multiple files using the concept of partial classes............
Read answer

Explain how to pass a querystring from an .asp page to aspx page.

Yes you can do it using a hyperlink< BR><ahref="Abc.aspx?name=test">Click to go to aspx </a>.............
Read answer

Overview of the .NET Compact Framework

.NET Compact Framework is a scaled down versions of .NET framework for supporting Windows CE based mobile and embedded devices like mobile phones...............

What is Language Integrated Query (LINQ)?

LINQ is a set of extensions to .NET Framework that encapsulate language integrated query, set and other transformation operations...................

Next>>

Also Read  

ASP.NET DataList Control

Using the DataList control, Binding images to a DataList control dynamically, Displaying data using the DataList control, Selecting, editing and delete data using this control, Handling the DataList control events..........

ASP.NET Methodologies

ASP.NET attempts to make the web development methodology like the GUI development methodology by allowing developers to build pages made up of controls similar to a GUI. Server controls in ASP.NET function similarly to GUI controls in other environments..........

Problems ASP.NET Solves

Microsoft developed ASP.NET, which greatly simplifies the web development methodology...........

ASP.NET issues & options

The truth is that ASP.NET has several issues that need to be addressed..........

Explain the advantages of ASP.NET

Web application exists in compiled form on the server so the execution speed is faster as compared to the interpreted scripts.........

What Is ASP.NET 2.0 AJAX?

AJAX-style communications between client and server. This communication is over web services. Asynchronous communication. All client-to-server communication in the ASP.NET 2.0 AJAX framework is asynchronous................

The components in the ASP.NET 2.0 AJAX packaging

ASP.NET AJAX Futures Community Technology Preview (CTP) — The ASP.NET 2.0 AJAX framework contains a set of functionality that is experimental in nature. This functionality will eventually become integrated with the RTM/Core code.

Potential benefits of using Ajax

AJAX makes it possible to create better and more responsive websites and web applications...............

Potential problems with AJAX

Search engines may not be able to index all portions of your AJAX application site.........

What Is ASP.NET AJAX?

ASP.NET AJAX is the name of Microsoft’s AJAX solution, and it refers to a set of client and server technologies that focus on improving web development with Visual Studio...............

Balancing Client and Server Programming with ASP.NET AJAX

With AJAX, much of the logic surrounding user interactions can be moved to the client. This presents its own set of challenges. Some examples of AJAX use include streaming large datasets to the browser that are managed entirely in JavaScript..................

Understanding Anonymous Types

Anonymous types defined with var are not VB variants. The var keyword signals the compiler to emit a strong type based on the value of the operator on the right side. Anonymous types can be used to initialize simple types like integers and strings but detract modestly from clarity and add little value..............

Model View Controller

We will learn about MVC design patterns, and how Microsoft has made our lives easier by creating the ASP.NET MVC framework for easier adoption of MVC patterns in our web applications............... 

MVC Design

MVC, which stands for Model View Controller, is a design pattern that helps us achieve the decoupling of data access and business logic from the presentation code , and also gives us the opportunity to unit test the GUI effectively and neatly, without worrying about GUI changes at all..........

Page Controller Pattern in ASP.NET

Here it shows how a page controller pattern works in ASP.NET.

Test your ASP.NET knowledge with our multiple choice questions!

Send request to get more ASP.NET, C++ questions, sample CV and personal interview tips in PDF format

 

Want to be hunted by potential employers? Just submit your key skills!

Popular FAQs

.NET .Net Architecture ADO.NET Java Oracle C#.NET
VB.NET DOT.NET AJAX ASP.NET NET Framework OOPS in .NET
C++ Sql Server Data warehousing EJB MySQL Linux
PHP UML Networking Testing XML  
 
Copyright © 2008 - 2010 CareerRide.com. All rights reserved.