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 2

11.What is Common Type System (CTS)?

  • Common Type System (CTS) describes a set of types that can be used in different .Net languages in common. That is, the Common Type System (CTS) ensure that objects written in different .Net languages can interact with each other. For Communicating between programs written in any .NET complaint language, the types have to be compatible on the basic level.

  • These types can be Value Types or Reference Types. The Value Types are passed by values and stored in the stack. The Reference Types are passed by references and stored in the heap. Common Type System (CTS) provides base set of Data Types which is responsible for cross language integration.


12. What is Metadata and Assemblies?

  • Metadata is the binary information describing the program, which is either stored in a portable executable file (PE) or in the memory.

  • Assembly is a logical unit consisting of the assembly manifest, type metadata, IL code and set of resources like image files etc.


13. What is ADO.Net?

  • ActiveX Data Objects (ADO), It is the technology used for working with data and databases. It provides accesses to data sources like SQL server, OLE DB, XML etc.

  • The ADO .Net allows connection to data sources for retrieving, manipulating and updating data.


14. What is Windows Workflow Foundation (WF)?

  • Windows Workflow Foundation (WF) is a Microsoft technology that provides an API, an in-process workflow engine, and a rehostable designer to implement long-running processes as workflows within .NET applications.

  • The current version of WF was released as part of the .NET Framework version 4 and is referred to as (WF4).

  • A workflow, as defined here, is a series of distinct programming steps or phases. Each step is modeled in WF as an Activity


15. What is Windows Presentation Foundation (WPF)?

  • It provides a separation between the user interface and the business logic.

  • It helps in developing visually stunning interfaces using documents, media, two and three dimensional graphics, animations and more.


16. What is Windows Communication Foundation (WCF)?

  • It is a runtime and a set of APIs (application programming interface) in the.NET Framework for building connected, service-oriented applications.


17. What is LINQ (Language Integrated Query)?

  • Language-Integrated Query (LINQ) is a set of features introduced in Visual Studio 2008 that extends powerful query capabilities to the language syntax of C# and Visual Basic.

  • LINQ introduces standard, easily-learned patterns for querying and updating data, and the technology can be extended to support potentially any kind of data store. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.


18. What is an ASP.NET Web Form?

  • ASP.NET Web forms are designed to use controls and features that are almost as powerful as the ones used with Windows forms, and so they are called as Web forms.

  • The Web form uses a server-side object model that allows you to create functional controls, which are executed on the server and are rendered as HTML on the client.

  • The attribute, runat="server", associated with a server control indicates that the Web form must be processed on the server.


19. Why do you use the App_Code folder in ASP.NET?

  • The App_Code folder is automatically present in the project.

  • It stores the files, such as classes, typed data set, text files, and reports. If this folder is not available in the application, you can add this folder.

  • One of the important features of the App_Code folder is that only one dll is created for the complete folder, irrespective of how many files it contains.


20. What is ASP .NET HTML Server Controls

  • The HTML server controls are Hypertext Markup Language (HTML) elements that include a runat=server attribute.

  • The HTML server controls have the same HTML output and the same properties as their corresponding HTML tags. In addition, HTML server controls provide automatic state management and server-side events.

  • HTML server controls offer the following advantages:

    1. The HTML server controls map one to one with their corresponding HTML tags.

    2. When the ASP.NET application is compiled, the HTML server controls with the runat=server attribute are compiled into the assembly.

    3. Most controls include an OnServerEvent for the most commonly used event for the control. For example, the <input type=button> control has an OnServerClick event.

    4. The HTML tags that are not implemented as specific HTML server controls can still be used on the server side; however, they are added to the assembly as HtmlGenericControl.

    5. When the ASP.NET page is reposted, the HTML server controls keep their values.

  • For example, To use an HTML server control, use the following syntax (which use for the HtmlInputText  control as an example):

<input type=”text” value=”hello world” runat= server />


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-2.php on line 281

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-2.php on line 281

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-2.php on line 287

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-2.php on line 287