April 30, 2013

ASP.NET Interview Questions and Answers

In which database is the information, such as membership, role management, profile, and Web parts personalization, stored?
Ans- The aspnetdb database stores all information.


What do you understand by aggregate dependency?
Ans- Aggregate dependency allows multiple dependencies to be aggregated for content that depends on more than one resource. In such type of dependency, you need to depend on the sum of all the defined dependencies to remove a data item
from the cache.


To which class a Web form belongs to in the .NET Framework class hierarchy?
Ans- A Web form belongs to the System.Web.UI.Page class.

What is the difference between adding items into cache through the Add() method and through the Insert() method?
Ans- Both methods work in a similar way except that the Cache.Add() function returns an object that represents the item you added in the cache. The Cache.Insert() function can replace an existing item in the cache, which is not possible using the Cache.Add() method.


What is a round trip?
Ans- The trip of a Web page from the client to the server and then back to the client is known as a round trip.


Where should the data validations be performed-at the client side or at the server side and why?
Ans- Data validations should be done primarily at the client side and the server-side validation should be avoided because it makes server task overloaded. If the client-side validation is not available, you can use server-side validation. When a user sends a request to the server, the validation controls are invoked to check the user input one by one.


What type of code, client-side or server-side, is found in a code-behind file of a Web page?
Ans- A code-behind file contains the server-side code, which means that the code contained in a code-behind file is executed at the server.

0 comments:

Post a Comment

  • Blogger news

    This Blog Contains All Topics Related To Internet, Website Help, Interview Questions, News, Results From Various Resources, Visit Daily For More Interesting And Famous Topics.
  • Random Post

  • About

    We Provide All Information Which you Needed. We Maintain This Blog Very Carefully, If You Find Any Mistake or Any Suggestions Then Please Let Us Know, You Can Contact Us By Comments, On FB Page Or On Google+ Page. ~ Thank You