26.02.2015 Views

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

DOT NET Interview Questions - DotNetSpider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

What’s the use of @ Register directives ? ........................................................................................ 121<br />

What’s the use of SmartNavigation property ?................................................................................. 121<br />

What is AppSetting Section in “Web.Config” file ? ......................................................................... 121<br />

Where is ViewState information stored ? ......................................................................................... 121<br />

What’s the use of @ OutputCache directive in ASP.<strong>NET</strong>? ............................................................. 122<br />

How can we create custom controls in ASP.<strong>NET</strong> ? .......................................................................... 122<br />

How many types of validation controls are provided by ASP.<strong>NET</strong> ?............................................... 122<br />

Can you explain what is “AutoPostBack” feature in ASP.<strong>NET</strong> ? .................................................... 123<br />

How can you enable automatic paging in DataGrid ? ...................................................................... 123<br />

What’s the use of “GLOBAL.ASAX” file ?..................................................................................... 123<br />

What’s the difference between “Web.config” and “Machine.Config” ? .......................................... 123<br />

What’s a SESSION and APPLICATION object ? ............................................................................ 124<br />

What’s difference between Server.Transfer and response.Redirect ? .............................................. 124<br />

What’s difference between Authentication and authorization? ........................................................ 124<br />

What is impersonation in ASP.<strong>NET</strong> ? ............................................................................................... 125<br />

Can you explain in brief how the ASP.<strong>NET</strong> authentication process works? .................................... 125<br />

What are the various ways of authentication techniques in ASP.<strong>NET</strong>? ........................................... 126<br />

How does authorization work in ASP.<strong>NET</strong>? .................................................................................... 128<br />

What’s difference between Datagrid , Datalist and repeater ? ......................................................... 129<br />

From performance point of view how do they rate ? ....................................................................... 130<br />

What’s the method to customize columns in DataGrid? .................................................................. 130<br />

How can we format data inside DataGrid?....................................................................................... 130<br />

How will decide the design consideration to take a Datagrid , datalist or repeater ? ...................... 130<br />

Difference between ASP and ASP.<strong>NET</strong>? .......................................................................................... 130<br />

What are major events in GLOBAL.ASAX file ? ............................................................................ 132<br />

What order they are triggered ? ........................................................................................................ 133<br />

Do session sion use cookies ? .................................................................................................................. 134<br />

How can we force all the validation control to run ? ....................................................................... 134<br />

How can we check if all the validation control are valid and proper ? ............................................ 134<br />

If you have client side validation is enabled in your Web page , Does that mean server side code is<br />

not run? ....................................................................................................................................... 134<br />

Which JavaScript file is referenced for validating the validators at the client side ?....................... 134<br />

How to disable client side script in validators? ................................................................................ 135<br />

I want to show the entire validation error message in a message box on the client side?................ 135<br />

You find that one of your validation is very complicated and does not fit in any of the validators , so<br />

what will you do ? ...................................................................................................................... 135<br />

What is Tracing in ASP.<strong>NET</strong> ? ......................................................................................................... 136<br />

How do we enable tracing ? ............................................................................................................. 136<br />

What exactly happens when ASPX page is requested from Browser? ............................................ 136<br />

How can we kill a user session ? ...................................................................................................... 140<br />

How do you upload a file in ASP.<strong>NET</strong> ? .......................................................................................... 141<br />

How do I send email message from ASP.<strong>NET</strong> ? .............................................................................. 141<br />

What are different IIS isolation levels? ............................................................................................ 141<br />

ASP used STA threading model , whats the threading model used for ASP.<strong>NET</strong> ? ......................... 143<br />

Whats the use of attribute ? ........................................................ 143<br />

Explain the differences between Server-side and Client-side code? ................................................ 144

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!