- New Updates Alerts-Subscribe

Our Telegram Channel - Join Us

Our Free Email Alerts - Join Us

Important Note:Login & Check Your
Email Inbox and Activate Confirmation Link

Our Whatsapp Group - Join Us

Technical Interview Materials PDF-Free Download

Technical Interview Q & A PDF

16) What is the difference between session object and application object?

The session object is used to maintain the session of each user. A session id is generated if a user enters in the application and when the user leaves the application, the session id is automatically deleted. On the other hand, application object is used to store the information and access variables from any page in the application.

17) What is the difference between trace and debug?

Debug class is used to debug builds. Trace class is used for both debug and release builds.

18) What is the difference between client-side and server-side validations in WebPages?

The client-side validation is happened at the client's side with the help of JavaScript and VBScript. This validation is occurred before the Web page is sent to the server. The server-side validation is happened at the server side.

19) What is the difference between file-based dependency and key-based dependency?

File-based dependency: File-based dependency facilitates you to save the dependency on a file in a disk. Key-based dependency: In key-based dependency, you depend on another cached item.

20) What is the difference between globalization and localization?

Globalization: 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. Localization: In localization you try to configure a Web application so that it can be supported for a specific language or locale.

21) What is the difference between a page theme and a global theme?

Page Theme: The page theme is applied to particular web pages of the project. It is stored inside a subfolder of the App_Themes folder. Global Theme: Global theme is applied to all the web applications on the web server. It is stored inside the Themes folder on a Web server.

22) What is the difference between early binding and late binding?

Early Binding: In early binding, a non-virtual method is called which is decided at a compile time. Late Binding: In late binding, a virtual method is called which is decided at a runtime.

23) What is the difference between server-side scripting and client-side scripting?

Server side scripting: In server side scripting, all the script are executed by the server and interpreted as needed. Client side scripting: In client side scripting, the script will be executed immediately in the browser such as form field validation, email validation, etc. The client side scripting is usually carried out in VBScript or JavaScript.

24) How to sign out from forms authentication?

FormsAuthentication.Signout() method is used to sign out from forms authentication.

25) How to display validation messages in one control?

By the help of ValidationSummary control, we can display all validation messages in one control.

26) What is the difference between authentication and authorization?

Authentication is a process of identifying user whereas authorization is used to check the access rights of an identified user.

27) Which object encapsulates state or data of an user?

Session object.

28) What is ViewState?

ViewState is a features of ASP.NET to store the values of a page before it is submitted to the server. After posting the page, data from is ViewState is restored.

29) What is ViewState information stored?

It is stored in HTML hidden field.

30) What are the differences between the Response.Write() and Response.Output.Write()?

Response.Write() is used for normal output whereas Response.Output.Write() is used for formatted output.

31) Define the types of configuration files.

There are two types of configuration files:

Application Level config = Web.config.

Machine Level config = Machine.config.

32) What is the difference between Web config and Machine config files?

Web config file is specific to web application whereas Machine config file is specific to machine or server. There can be multiple web config files in an application but only one machine config file.

33) What is MVC?

MVC stands for Model View Controller. It is a design pattern that is used to separate business logic and presentation logic. It is used to develop highly customized application. Model represents data, View represents presentation and controller acts as an interface between Model and View.

34) What are the built-in objects in ASP.NET?

The major built-in objects are given below:








Source: Contents are provided by Technicalsymposium Google Group Members. Disclaimer: All the above contents are provided by Google Group members. Further, this content is not intended to be used for commercial purpose. is not liable/responsible for any copyright issues. Quick Links & Study Notes PDF- Free Download