1. ASP.NET Introduction 2. Comp of .Net Framework 3.5 3. Sys.Req for VS 2008 4. ASP.NET Envrmnt Setup 5. VS2010 Ultimate Sys.Req 6. Installing VS 2010 7. VS 2012 Sys.Req 8. Installing VS Exp 2012 9. Start the VS 2008 10. Application Life Cycle 11. Page Life Cycle 12. Page Life Cycle Events 13. ASP.NET Example 14. Event Handling 15. Default Events 16. Server Side 17. Request Object 18. Response Object 19. Server Controls 20. Server Controls Properties 21. Server Controls Methods 22. HTML Server Controls 23. Client Side 24. ASP.NET Basic Controls 25. TextBox Control 26. CheckBox Controls 27. RadioButton Controls 28. ListBox Control 29. HyperLink Control 30. Image Control 31. BulletedList Control 32. ASP.NET Directives 33. Implements Directive 34. Master Type Directive 35. Page Directive 36. PreviousPage Type 37. Managing State 38. Control State 39. Cookies 40. Query Strings 41. Server-Side State 42. Session State 43. Validation Controls 44. Required FieldValidator 45. Range Validator 46. Compare Validator 47. RegularExpressionValidator 48. Custom Validator 49. Validation Summary 50. Data Source Control 51. AdRotator Control 52. Calendar Control 53. Calendar Control Example 54. Panel Control 55. Panel Control Example 56. Multi Views Control 57. MultiView & View controls 58. MultiView Control Example 59. FileUpload Control 60. FileUpload Control Eg 61. AJAX Control 62. UpdatePanel control 63. UpdateProgress Control 64. Custom Controls 65. Custom Control Eg 66. Personalization 67. Create Simple Profile 68. ADO.NET 69. ADO.NET Objects 70. DataTable 71. DataRow 72. DataColumn 73. Object Example 74. Error Handling 75. Tracing Errors 76. Debugger 77. Security 78. Authentication 79. Authorization 80. LINQ 81. LINQ Query Operators 82. LINQ Example 83. Caching 84. Data Caching 85. Output Caching 86. Object Caching 87. Web Services 88. Create Web Services Eg 89. Web & Machine.config 90. Settings Schema 91. ASP.NET Deployment 92. XCopy Deployment 93. Web Setup Project 94. ASP Interview Part 1 95. ASP Interview Part 2 96. ASP Interview Part 3 97. ASP Interview Part 4 98. ASP Interview Part 5 99. ASP Interview Part 6
Pr.Pg Next Pg

ASP.Net Interview Questions and Answers Part 1


1. What is ASP?

  • Active Server Pages (ASP), also known as Classic ASP, is a Microsoft's server-side technology, which helps in creating dynamic and user-friendly Web pages.

  • It uses different scripting languages to create dynamic Web pages, which can be run on any type of browser.

  • The Web pages are built by using either VBScript or JavaScript and these Web pages have access to the same services as Windows application, including ADO (ActiveX Data Objects) for database access, SMTP (Simple Mail Transfer Protocol) for e-mail, and the entire COM (Component Object Model) structure used in the Windows environment.

  • ASP is implemented through a dynamic-link library (asp.dll) that is called by the IIS server when a Web page is requested from the server.


2. What is ASP.NET?

  • Active Server Pages Framework (.aspx) is a server side programming language capable of building powerful web applications. Asp.Net has built in capabilities which make easier for programmers to build web applications.

  • With you can create dynamic web pages, access databases, send emails, manage file system and much more.ASP.Net is a part of Microsoft .Net platform. ASP.Net applications are complied codes, written using the extensible and reusable components or objects present in .Net framework. These codes can use the entire hierarchy of classes in .Net framework.

  • ASP.NET is integrated with Visual Studio .NET, which provides a GUI designer, a rich toolbox, and a fully integrated debugger. This allows the development of applications in a What You See is What You Get manner. Therefore, creating ASP.NET applications is much simpler.


3. What is the basic difference between ASP and ASP.NET?



ASP is Interpreted language based on scripting languages like Jscript or VBScript.

ASP.NET is a server side programming language capable of building powerful web applications.

ASP has Mixed HTML and coding logic.

In ASP.NET Separate code and design logic possible.

Limited development and debugging tools available.

In ASP.NET Variety of compilers and tools available including the Visual studio.Net.

Limited OOPS support.

Completely Object Oriented.

Limited session and application state management.

Complete session and application state management.

4. What are the advantages of ASP.NET?

  • Following are some of the advantages of asp .net such as:

    1. Separation of Code from HTML: To make a clean sweep, with ASP.NET you have the ability to completely separate layout and business logic. This makes it much easier for teams of programmers and designers to collaborate efficiently

    2. Support for compiled languages: Developer can use VB.NET , C# and access features such as strong typing and object-oriented programming.

    3. Use services provided by the .NET Framework: The .NET Framework provides class libraries that can be used by your application

    4. Graphical Development Environment: Visual Studio .NET provides a very rich development environment for Web developers.

    5. State management: To refer to the problems mentioned before, ASP.NET provides solutions for session and application state management.

    6. Update files while the server is running: Components of your application can be updated while the server is online and clients are connected.

    7. XML-Based Configuration Files: Configuration settings in ASP.NET are stored in XML files that you can easily read and edit


5. What are the advantages of the code-behind feature?

  • The code-behind feature of ASP.NET offers a number of advantages:

  • Makes code easy to understand and debug by separating application logic from HTML tags

  • Provides the isolation of effort between graphic designers and software engineers

  • Removes the problems of browser incompatibility by providing code files to exist on the Web server and supporting Web pages to be compiled on demand.


6. Which is the parent class of the Web server control?

  • The System.Web.Ul.Control class is the parent class for all Web server controls.


7. Explain .NET Framework?

  • The .Net Framework is a Windows component for building and running powerful software applications. It supports several programming languages and provides an easier environment for developers to produce high-performing applications.

  • The various components of the .Net framework 3.5 as follows:

Common Language Runtime or CLR

.Net Framework Class Library

Common Language Specification

Common Type System

Metadata and Assemblies

Windows Forms

ASP.Net and ASP.Net AJAX


Windows Workflow Foundation (WF)

Windows Presentation Foundation

Windows Communication Foundation (WCF)

Windows CardSpace



8. What is Common Language Runtime (CLR)?

  • CLR is responsible for language integration, managing memory processes, running and debugging applications. Debugging is finding errors in code. The CLR displays an error message and line error.


9. What is .Net Framework Class Library?

  • Class Library is a collection of classes that provide standard functionality to execute common tasks (email services, database services, file system services, etc). The Class Library is organized by sections called Namespaces.


10. What is Common Language Specification?

  • Common Language Specification (CLS) is a set of basic language features that .Net Languages needed to develop Applications and Services, which are compatible with the .Net Framework. When there is a situation to communicate Objects written in different .Net Complaint languages, those objects must expose the features that are common to all the languages.

  • Common Language Specification (CLS) ensures complete interoperability among applications, regardless of the language used to create the application.

Pr.Pg border                                              Next Pg

Warning: include_once(bottompad.php): failed to open stream: No such file or directory in C:\inetpub\vhosts\\httpdocs\asp-tutorials\asp-tutorials-asp-interview-part-1.php on line 357

Warning: include_once(): Failed opening 'bottompad.php' for inclusion (include_path='.;.\includes;.\pear') in C:\inetpub\vhosts\\httpdocs\asp-tutorials\asp-tutorials-asp-interview-part-1.php on line 357

Warning: include_once(rightpad.php): failed to open stream: No such file or directory in C:\inetpub\vhosts\\httpdocs\asp-tutorials\asp-tutorials-asp-interview-part-1.php on line 363

Warning: include_once(): Failed opening 'rightpad.php' for inclusion (include_path='.;.\includes;.\pear') in C:\inetpub\vhosts\\httpdocs\asp-tutorials\asp-tutorials-asp-interview-part-1.php on line 363