18Dec/090
Top 19 Basic .NET and ASP.NET interview questions
- How many languages .NET is supporting now?
- When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported. - How is .NET able to support multiple languages?
- a language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. So after compilation to this IL the language is not a barrier. A code can call or use a function written in another language. - How ASP .NET different from ASP?
- Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server. - What is smart navigation?
- The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed. - What is view state?
- The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control - Explain the life cycle of an ASP .NET page.
- How do you validate the controls in an ASP .NET page?
- Using special validation controls that are meant for this. We have Range Validator, Email Validator. - Can the validation be done in the server side? Or this can be done only in the Client side?
- Client side is done by default. Server side validation is also possible. We can switch off the client side and server side can be done. - How to manage pagination in a page?
- Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself. - What is ADO .NET and what is difference between ADO and ADO.NET?
- ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch.
Tagged as: .NET, ASP, C, code, intermediate language, language, memory database, msil, page, server side validation, side, smart navigation
No Comments
Recent Posts
- Error message when you try to install SQL Server 2008 if the path of the SQL Server 2008 installation media contains a number sign (#) character: “Could not load file or assembly ‘<Path>\Mi …
- Employee Performance Appraisal System: An Overview
- CMYK versus RGB color spectrum
- Description of the Jet 4.0 Database Engine hotfix package for Windows XP SP2, Windows Server 2003 SP1, Windows Server 2003 SP2, Windows Vista, Windows Vista SP1, and Windows Server 2008: October …
- Adobe training in Sydney from Creative Mentor
- Business Card Do's and Don'ts
- Unique Gifts – Chalk Mugs
- Turn One Of The Bahamas Houses For Sale As A Holiday Home
- Tips To Hire A Professional Web Design Company
- The 10 Factors That Affect and Predict Stock Prices
Tag Cloud
-
application
ASP
assembly
career
class
code
company
constructor
control
Database
difference
Don
employer
error
Exception
hiring manager
information
interview
interviewer
job
job seekers
manager
method
NET
page
person
position
Process
property
question
quot
response
Serialization
Server
session state
site
SQL
State
system
time
type
void
way
web
work
BlogRoll
Archives
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009