Special Offer - Enroll Now and Get 2 Course at ₹25000/- Only Explore Now!

All Courses
ASP .NET Interview Questions and Answers

ASP .NET Interview Questions and Answers

January 28th, 2019

In case you’re searching for ASP .NET Interview Questions and Answers for Experienced or Freshers, you are at the correct place. There is parcel of chances from many presumed organizations on the planet. The ASP .NET advertise is relied upon to develop to more than $5 billion by 2021, from just $180 million, as per ASP .NET industry gauges. In this way, despite everything you have the chance to push forward in your vocation in ASP .NET Development. GangBoard offers Advanced ASP .NET Interview Questions and answers that assist you in splitting your ASP .NET interview and procure dream vocation as ASP .NET Developer.

Best ASP .NET Interview Questions and Answers

Do you believe that you have the right stuff to be a section in the advancement of future ASP .NET, the GangBoard is here to control you to sustain your vocation. Various fortune 1000 organizations around the world are utilizing the innovation of ASP .NET to meet the necessities of their customers. ASP .NET is being utilized as a part of numerous businesses. To have a great development in ASP .NET work, our page furnishes you with nitty-gritty data as ASP .NET prospective employee meeting questions and answers. ASP .NET Interview Questions and answers are prepared by 10+ years experienced industry experts. ASP .NET Interview Questions and answers are very useful to the Fresher or Experienced person who is looking for the new challenging job from the reputed company. Our ASP .NET Questions and answers are very simple and have more examples for your better understanding.
By this ASP .NET Interview Questions and answers, many students are got placed in many reputed companies with high package salary. So utilize our ASP .NET Interview Questions and answers to grow in your career.

Q1) Net stands for Active Server Page (Network Enabled Technology).
Q2) CLR stands for “Common Language Runtime”.
Q3) CLS stands for Common Language Specification
Q4) MSIL Stands for “Microsoft Intermediate Language”.
Q5) JIR stands for “Just In Time”.
Q6)Transfer page processing transfers from one page to the other page without making a round-trip back to the client’s browser.
Q7) Redirect is used to redirect the user’s browser to another page or site. It performs trip back to the client where the client’s browser is redirected to the new page.
Q8) Compare validator control you use if you need to make sure the values in two different controls matched.
Q78) What are the three methods of SQL Commands object.?

  • ExecuteScalar
  • ExecuteNonQuery
  • ExecuteReader

Q10) List down the types of validators in ASP.NET?

  • Required field Validator
  • Range Validator
  • Compare Validator
  • Custom Validator
  • Regular expression Validator
  • Summary Validator

Q11) View State is used to retain the state of server-side objects between page post backs.
Q12) ViewState is stored in a hidden field on the page at client side.
Q13) In-Process stores the session in memory on the web server
Q14) Out-of-Process Session state management stores data in an external server.
Q15) Caching is a technique used to increase performance by keeping frequently accessed data or files in memory.
Q16) Fragment Caching which is used to caches the portion of the page generated by the request.
Q17) What are the three types of Catching?

  • Output Caching,
  • Fragment Caching,
  • Data Caching.

Q18) List down the events in Page life cycle.

  • Page_PreInit
  • Page_Init
  • Page_InitComplete
  • Page_PreLoad
  • Page_Load
  • Page_LoadComplete
  • Page_PreRender
  • Render

Q19) HTTP protocol is used to call a Web service
Q20) Web config file is specific to a web application.
Q21) machine config is specific to a machine or server.
Q22) multiple web config files into an application where as we can have only one machine config file on a server.
Q23) Role Based Security used to implement security based on roles assigned to user groups in the organization/
Q24) MVC is a framework used to create web applications.
Q25) MVC Stands for “Model View Controller”.
Q26) Page Load Event are the controls fully loaded.
Q27) Boxing is assigning a value type to reference type variable.
Q28) UnBoxing is Assigning reference type variable to value type variable.
Q29) strong typing, the data types of variable are checked at compile
Q30) weak typing the variable data types are checked at
Q31) Validate() method is used to force all the validation controls to run and to perform validation.
Q32) The data types supported by the RangeValidator control are Integer, Double, String, Currency, and Date.
Q33) Session Cookie is resides on the client machine for a single session until the user does not log out.
Q34) Persistent Cookie is resides on a user’s machine for a period specified for its expiry, such as 10 days, one month, and never.
Q35) Web services have file extension .asmx.
Q36) The components of Net are Dataset, Data Reader, Data Adaptor, Command, connection.
Q37) ExecuteScalar returns output value where as ExecuteNonQuery does not return any value but the number of rows affected by the query.
Q38) ExecuteScalar used for fetching a single value and ExecuteNonQuery used to execute Insert and Update statements.
Q39) What are the types of validation in ASP.NET ? Client side validation and server side validation.
Q40) When validation is done on the client browser, then it is known as Client-Side Validation.
Q41) When validation occurs on the server, then it is known as Server-Side Validation.
Q42) Server-Side Validation is a secure form of validation.
Q43) What are the different Session state management options available in ASP.NET?

  • Client-Side State Management Options
  • Server-Side State Management Options

Q44) Client-Side State Management options involve storing information either in the page or on the client computer.
Q45) Server-Side State Management need to store the state information on the server side.
Q46) IIS Stands for “Internet Information Server”.
Q47) The code that is managed by the CLR is called Managed code.
Q48) Unmanaged Code is developed by any other language independent of .Net framework.
Q49) Exe and DLL are Assembly executable modules.
Q50) Exe is an executable
Q51) DLL stands for Dynamic Link Library.
Q52) CAS stands for “Code access security”.
Q53) GAC stands for Global Assembly Cache.
Q54) Garbage collection is a feature of .Net to free the unused code objects in the memory.
Q55) Postback is a request which is sent from a client to the server from the same page
Q56) Globalization is a technique to identify the part of a Web application that is different for different languages and separate it out from the web application.
Q57) In localization to configure a Web application so that it can be supported for a specific language or locale.
Q58) In early binding, a non-virtual method is called which is decided at a compile time
Q59) In late binding, a virtual method is called which is decided at runtime.
Q60) Signout() method is used to sign out from forms authentication.
Q61) Authentication is a process of identifying user.
Q62) Authorization is used to check the access rights of an identified user.
Q63) Write() is used for normal output whereas Response.Output.Write() is used for formatted output.
Q64) ADO stands for Active Data Object
Q65) NET is a set of .NET libraries for ADO
Q66) Connected and Unconnected are the two types of architecture.
Q67) DataSet contains a collection of DataTables and the DataTable contains a collection of DataRows, DataRelations, and DataColumns
Q68) DataReader Used in a connected architecture
Q69) DataReader object has read-only access.
Q70) DataReader object supports a single table based on a single SQL query of one database
Q71) A DataReader object is bound to a single control
Q72) DataReader cannot modify data.
Q73) DataSet Used in a disconnected architecture
Q74) DataSet object has read/write-only access.
Q75) DataSet object supports a Multilple table based on a various SQL query of various database.
Q76) A DataSet object is bound to a multiple control.
Q77) DataSet can modify data.
Q78) ExecuteScalar is useful for returning a single value from the database.
Q79) ExecuteNonQuery is useful for performing data manipulation on the database
Q80) ExecuteReader is used when we need to retrieve rows and columns of data using the SQL select statements.
Q81) A Data Adapter represents a set of data commands and a database connection to fill the dataset and update a SQL Server database.
Q82) DataProviders are used for connecting to a database, retrieving data storing data, updating the data etc.
Q83) What are the Four Components of DataProviders are:

  • Connection
  • Commands
  • DataReader
  • DataAdapter

Q84) LINQ is native query language for .NET framework and it is specially designed to support queries with the .net applications.
Q85) Connection object Which is used to Represents connection to the Database
Q86) Command object Which is used to execute stored procedure and command on Database
Q87) ExecuteNonQuery Which is used to Executes command but doesn’t return any value
Q88) ExecuteScalar Which is used to Executes and returns single value
Q89) ExecuteReader Which is used to Executes and returns result set
Q90) DataReader Which is used to Forward and read only recordset
Q91) DataAdapter Which is used to This acts as a bridge between database and a dataset.
Q92) Object pooling is a concept of storing a pool (group) of objects in memory that can be reused later as needed
Q93) The DataSource property and the DataMember property are used to bind a DataGridView control.
Q94) SqlClient is explicitly used to connect your application to SQL server directly.
Q95) OLEDB Provider is generic for various databases, such as Oracle and Access including SQL Server.
Q96) Connection pooling refers to the task of grouping database connections in cache to make them reusable.
Q97) The Clone() method copies only the structure of a DataSet
Q98) The Copy() method copies the structure as well as the data stored in the DataSet.
Q99) Abort() function stops the thread execution at any time.
Q100) Sort() method of GridViewControl is used to sort the data in a datatable.