ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant...

6
Best In-Plant training/Internship Providers in chennai 1 WWW.KAASHIVINFOTECH.COM THE EXPERT’S VOICE IN N ASP.NET INTERVIEW QUESTIONS Gives you the inte view tips in A free ASP.NET interview questions by, Venkatesan Prabu Jayakantham Microsoft Most Valuable Professional

Transcript of ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant...

Page 1: ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant training/Internship Providers in chennai 1 THE EXPERT’S VOICE IN ASP.NET ASP.NET – INTERVIEW

Best In-Plant training/Internship Providers in chennai

1 WWW.KAASHIVINFOTECH.COM

THE EXPERT’S VOICE IN ASP.NET

ASP.NET – INTERVIEW QUESTIONS Gives you the interview tips in

A free ASP.NET interview questions by,

Venkatesan Prabu Jayakantham

Microsoft Most Valuable Professional

Page 2: ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant training/Internship Providers in chennai 1 THE EXPERT’S VOICE IN ASP.NET ASP.NET – INTERVIEW

Best In-Plant training/Internship Providers in chennai

2 WWW.KAASHIVINFOTECH.COM

ABOUT THE AUTHOR Venkatesan Prabu Jayakantham (venkat) has more than 8 years experience in

the Microsoft Technologies such as VB.Net, ASP.Net, C#.net, SSIS, SSAS, ADO.Net, etc., He is the Managing Director of KAASHIVINFOTECH (http://www.kaashivinfotech.com/),a software company in Chennai. Before that, he worked in HCL Technologies (India and Australia) for six years as Project Lead.

As a service motive, Venkat contributed more than 700 articles which is read by the developers in 170 countries (400 developers per day) (http://venkattechnicalblog.blogspot.com/). Aligned with KaaShiv InfoTech’s mission,he met more than 20,000 young minds and spreaded Microsoft Technologies / Career guidance programs.

Venkat won many awards in his career, which includes Prestigious Microsoft MVP (Most Valuable Professional) award for the years 2008,2009,2010,2011,2012 and won many awards. List of other awards in his career,

Microsoft certified Smart .Net Candidate in 2004 Most valuable member for dotnetspider site in 2007 HCL SQL Subject Matter expert (SME - SQL Server) for the year (2008,2009) HCL Special contribution award winner on Dotnet skills for year(2008) HCL SQL Knowledge Champion for the year 2009 MindCracker MVP on SQLServer –2010 for the year 2010,2011 INETA champion - Gold Member – 2010 for the year 2010 HCL Service Contribution Award for the year 2010 Leading Lights "Rising Star" award from Common Wealth Bank, Australia for the

year 2010

Technical certifications Cisco certified Network Associate (CCNA) – 2004 Microsoft Certified Application Developer (MCAD) – 2005

Page 3: ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant training/Internship Providers in chennai 1 THE EXPERT’S VOICE IN ASP.NET ASP.NET – INTERVIEW

Best In-Plant training/Internship Providers in chennai

3 WWW.KAASHIVINFOTECH.COM

ACKNOWLEDGEMENT I would like to thank my family members for their support and encouragement.

Without their support it would be impossible for me to publish this e-book. I would also

like to thank my KaaShiv InfoTech team for their support to publish this e-book.

DISCLAIMER All rights reserved. No part of this book may be copied, adapted, abridged or

stored in any retrieval system, computer system, photographic or other system or transmitted in any form or by any means without the prior written permission of the copyright holders. Any breach will entail legal action and permission without further notice.

Page 4: ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant training/Internship Providers in chennai 1 THE EXPERT’S VOICE IN ASP.NET ASP.NET – INTERVIEW

Best In-Plant training/Internship Providers in chennai

4 WWW.KAASHIVINFOTECH.COM

1) List the features of the Chart control.

The features of the Chart control are:

Chart control bounds a chart with any data source.

Simple manipulation of chart data, such as copying, merging, grouping, sorting,

searching, and filtering, are done.

It supports many statistical and financial formulas for data analysis.

It provides advanced chart outlook, such as 2-D, 3-D, lighting, and perspective.

It also supports events and customizations.

It includes interactivity with Microsoft AJAX.

It supports AJAX Content Delivery Network (CDN).

2) How do you validate Input data on web page?

Input validation on web page is one of the very important task that should be done

before submitting a web page to server.ASP.Net provides some validation controls like

RequiredFieldValidator control,RegularExpressionValidator control,CompareValidator

control,RangeValidator control, ValidationSummary control and CustomValidator control to

validate data in web controls and shows user friendly Messages to the user.

3) Explain ASP.Net Catching?

One of the important performance factor for large web applications is ASP.Net

catching. It stores frequently accessed data in to catch object.

4) What are different catching mechanisms available in ASP.Net?

The different types of catching mechanisms available in ASP.NET are

1.Application Catching

2.Page Output Catching

5) Does ViewState affect performance?

Viewstate stores the state of controls in HTML

hidden fields and this stored information can grow in

size sometimes. Due to this growth in size the overall

responsiveness of the page therefore the performance

is also affected.

6) What is the ideal size of a ViewState?

The ideal size of a viewstate should be between 25-30% of the page size.

www.jobsanddumps.com

Get all latest job updates

All Company Aptitude questions

with solution

Latest dumps for certification

www.catch2learn.com

Get educational videos on all

technologies, all degrees and

for all interviews for free of cost

Page 5: ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant training/Internship Providers in chennai 1 THE EXPERT’S VOICE IN ASP.NET ASP.NET – INTERVIEW

Best In-Plant training/Internship Providers in chennai

5 WWW.KAASHIVINFOTECH.COM

7) What is the difference between login controls and Forms authentication?

Forms authentication can be easily implemented without writing any code with by

using login controls. Login control performs functions like prompting for user credentials,

validating them and issuing authentication just as the FormsAuthentication class.

8) What is use of the AutoEventWireup attribute in the Page directive ?

The AutoEventWireUp is a boolean attribute.When this attribute is set to true on the

page, the page events are wiredup automatically. By default it is true for a C# web form

whereas it is set as False for VB.NET forms. Pages developed with Visual Studio .NET have

this attribute set to false, and page events are individually tied to handlers.

9) Can I deploy the application without deploying the source code on the server?

Yes, the application can be deployed without deploying the source code on the server

. The code can be obfuscated by using a new precompilation process called “precompilation

for deployment”. The aspnet_compiler.exe can be used to precompile a site. This process

builds each page in your web application into a single application DLL and some placeholder

files. These files can then be deployed to the server.

10) What is Fragment Caching in ASP.NET?

The caching of individual user controls within a Web Form is referred as Fragment

Caching. It is also known as partial page caching. Each and every user control can have

independent cache durations and implementations of how the caching behavior is to be

applied.

11) What are partial classes in .net?

Partial classes allow the user to physically divide the class definition into multiple

files and logically all the partial classes are treated as a single file by the compiler.

Page 6: ASP.NET INTERVIEW QUESTIONSinternshipinchennai.in/assets/pdf/asp.net5.pdf · Best In-Plant training/Internship Providers in chennai 1 THE EXPERT’S VOICE IN ASP.NET ASP.NET – INTERVIEW

Best In-Plant training/Internship Providers in chennai

6 WWW.KAASHIVINFOTECH.COM

12) Describe how Passport authentication works.

When the passport authentication is implemented

on the ASP.NET application, it checks the user’s machine

for a current passport authentication cookie. If the cookie

is not available, the user is directed to a Passport sign-on

page. The Passport service authenticates the user and stores

an authentication cookie on the user’s computer and then

direct the user to the requested page.

13) Explain the steps to be followed to use Passport

authentication.

The steps to be followed to use passport authentication are

1. First, the Passport SDK is installed.

2. Secondly,set the application’s authentication mode to Passport in Web.config.

3. Then set authorization to deny unauthenticated users.

3.The PassportAuthentication_OnAuthenticate event is used to access the user’s Passport

profile to identify and authorize the user.

4. Finally a sign-out procedure is implemented to remove Passport cookies from the user’s

machine.

14) Explain the advantages of Passport authentication.

The advantages of passport authentication are

1)The user need not have to remember separate user names and passwords for various Web

sites

2)It enables user to maintain his or her profile information in a single location.

3)It also allows user to avail access to various Microsoft services, such as Passport Express

Purchase.

15) What is caching?

The technique of storing frequently used items in memory so that they can be

accessed more quickly is known as caching. By caching the response, the request is served

from the response already stored in memory. It’ is very important to choose the items to

cache wisely as Caching incurs overhead. It is good to cache the web form that is frequently

used and does not contain data that frequently changes. A web form that is cached freezes

form’s server-side content and changes to that content do not appear until the cache is

refreshed.

www.kernelmind.com

Get Online certification through

online exams

Test your skills with various

technology

www.Dotnetmiracle.com

Learn from articles and forum

Guide other members with your

articles