ASP.NET Exclusive Interview Questions and Answers (348) - Page 11

  • A joint initiative from DotNetFunda.Com and Questpond.
  • A one stop place on the internet to get trusted and proven Interview Questions (based on more than a decade of experience in this field) to ensure the success of the candidates.
  • You will find almost all Interview questions from Questpond here and this list is growing day by day with all latest and updated interview questions.

348 records found.

Get 650+ Questpond's Interview videos on discount

___________ caching, caches the dynamic response generated by a request.

NOTE: This is objective type question, Please click question title for correct answer.
When is web.config called?

Web.config is an xml configuration file. It is never directly called unless we need to retrieve a configurations setting.
Advantage of AJAX.Net is ____________

NOTE: This is objective type question, Please click question title for correct answer.
__________ caching, caches portions of a response generated by a request.

NOTE: This is objective type question, Please click question title for correct answer.
What does connection string consist of?

The connection string consists of the following parts: In general: Server: Whether local or remote. Uid: User Id (sa-in sql server) Password: The required password to be filled-in here Database: The database name.
____________ caching is useful when we need to cache only a subset of a page.

NOTE: This is objective type question, Please click question title for correct answer.
What is isPostback property?

This property is used to check whether the page is being loaded and accessed for the first time or whether the page is loaded in response to the client postback. Example: Consider two combo boxes In one lets have a list of countries In the other, the states. Upon selection of the first, the subsequent one should be populated in accordance. So this requires postback property in combo boxes to be true.
_______________ is the time at which the inserted object is expired and removed from the cache.

NOTE: This is objective type question, Please click question title for correct answer.
_________ Controls allow us to do postbacks at certain intervals.

NOTE: This is objective type question, Please click question title for correct answer.
ASP.NET OBJECTS?

Application,Request,Responce,server and session
______________ is used to notify applications when their objects are removed from the cache.

NOTE: This is objective type question, Please click question title for correct answer.
What is the difference between server side and client side code?

Server code is executed on the web server where as the client code is executed on the browser machine.
What is the order of events in a web form?

1. Init 2. Load 3. Cached post back events 4. Prerender 5. Unload
How can you provide an alternating color scheme in a Data Grid?

Use ALTERNATINGITEMSTYLE and ITEMSTYLE, attributes or Templates
What are the 3 different ways to store data in the Cache object?

Use assignment. Assigning a value to an unused key in the Cache object automatically creates that key and assigns the value to that key. Assigning a value to a key that already exists replaces the cached value with the assigned value.
Use the Insert method. The Insert method uses parameters rather than assignment to create or change cached data. Insert optionally accepts parameters to establish dependencies and set expiration policy.
Use the Add method. The Add method is similar to Insert; however, it requires all parameters and returns an object reference to the cached data. For example, the following Cache statements all add the same item to the cache: using System.Web.Caching; private void Page_Load(object sender, System.EventArgs e) { if(!IsPostBack) { Cache["NewItem"] = "Some string data"; Cache.Add("NewItem", "Some string data", null, Cache.NoAbsoluteExpiration, System.TimeSpan.FromMinutes(1), CacheItemPriority.Default, null); Cache.Insert("NewItem", "Some string data"); } }
What are the different types of authentication modes available?

 There are three types authentication modes , they are
1. Window. 2. Form. 3. Passport.

More ASP.NET Interview Questions & Answers here

Found this useful, bookmark this page to the blog or social networking websites. Page copy protected against web site content infringement by Copyscape

 Exclusive Interview Questions and Answers Categories