File Name: asp.net interview questions and answers .zip
- 50+ ASP.Net Interview questions with answers
- 50 ASP.NET Interview Questions and Answers (Download PDF)
- ASP.NET MVC Interview Questions and Answers eBook
50+ ASP.Net Interview questions with answers
It is also known as classic ASP. It is a server-side technology provided by Microsoft which is used to create dynamic and user-friendly web pages.
It uses different scripting languages to create dynamic web pages which can be run on any browsers. Net is a specification by Microsoft which is used to create web applications and web services.
It is a part of ". Net framework". You can create ASP. Net applications in most of the. Net compatible languages like Visual Basic, C , etc. Net provides much better performance than scripting languages.
Net is compiled. On the other hand, ASP. Net uses. Net languages like C and VB. NET, which is compiled to Microsoft intermediate language.
NET Web applications. If a website provides content in many languages, it is known as a multilingual website. It contains multiple copies of its content and other resources, such as date and time, in different languages.
Caching is the technique which facilitates you to store frequently used items in memory so that they can be accessed more quickly. Net is the next generation of ASP technology platform. It is superior to ASP in the following ways:.
Postback is a request which is sent from a client to the server from the same page user is working with. It posts a complete page back to the server to refresh the whole page. There is a property named "IsPostBack" property in Post object, which can be checked to know that the page is posted back.
NET Webforms uses the page controller approach for rendering layout. In this approach, every page has its controller. In this approach, there is a common controller for all pages. 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, the application object is used to store the information and access variables from any page in the application.
This validation has occurred before the Web page is sent to the server. 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. 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. Page Theme: The page theme is applied to particular web pages of the project.
Global Theme: The Global theme is applied to all the web applications on the web server. It is stored inside the Themes folder on a Web server.
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 runtime. 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.
By the help of ValidationSummary control, we can display all validation messages in one control. Authentication is a process of identifying user whereas authorization is used to check the access rights of an identified user. ViewState is a feature 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. Write is used for normal output whereas Response. Write is used for formatted output. Web config file is specific to web application whereas Machine config file is specific to machine or server.
It is a design pattern that is used to separate business logic and presentation logic. It is used to develop the highly customized application. The Model represents data, View represents presentation and controller acts as an interface between Model and View. Role-based security is used in almost all organization, and the Role-based security assigns certain privileges to each role.
A Cookie is a small piece of information which is stored at the client side. There are two types of cookie:. The Global. When child control sends events to parent, it is termed as event bubbling. JavaTpoint offers too many high quality services. Mail us on hr javatpoint. Please mail your requirement at hr javatpoint. Duration: 1 week to 2 week. All Interview. NET interview questions and answers are given below.
Following are the main usage of IIS: IIS is used to make your computer to work as a Web server and provides the functionality to develop and deploy Web applications on the server. IIS handles the request and response cycle on the Web server. By caching the response, your request is served by the response already stored in memory. You must be very careful while choosing the items to cache because Caching incurs overhead. A frequently used web form which data doesn't frequently change is good for caching.
A cached web form freezes form? The "IsPostBack" property of page object is used to check that the page is posted back or not.
Control class 14 What is the difference between ASP. Data is affixed to the URL. Data is not affixed to the URL. Data is not secured.
Data is secured. Data transmission is faster in this method. Data transmission is comparatively slow. It is a single call system. It is a two call system. Only a limited amount of data can be sent. A large amount of data can be sent. It is a default method for many browsers.
It is not set as default. It should be explicitly specified. Debug class is used to debug builds. Trace class is used for both debug and release builds. The server-side validation happens at the server side. Signout method is used to sign out from forms authentication. Session object. It is stored in HTML hidden field. Write and Response. There can be multiple web config files in an application but only one machine config file. Each user is assigned a particular role from the list.
Privileges as per role restrict the user's actions on the system and ensure that a user can do only what he is permitted to do on the system. You have to follow the procedures given below: Use the "Cookie. Discard" property. It gets or sets the discard flag set by the server. When set to true, this property instructs the client application not to save the Cookie on the hard disk of the user at the end of the session.
50 ASP.NET Interview Questions and Answers (Download PDF)
Home page Contact Us. Net DWH New. Net ASP. Net VB. Net C. Net Interview Question and Answers.
ASP.NET MVC Interview Questions and Answers eBook
Offer Ending in D. Our Most Popular Learning Paths. Home Books ASP. Reviews Book Preview.
Here is a list of commonly asked interview questions about ASP. Net based on Object oriented programming concept. Here I have collected some good interview questions with their answers. There are several questions to expect if you are preparing to attend an ASP. Here are just a few samples of those questions and their answers:.
This is a curated list of most frequently asked. NET interview question and answer that an interviewer might ask during the interview. In this list of ASP.
What is the managed and unmanaged code in. Answer: The. NET Framework provides a run-time environment called the Common Language Runtime, which manages the execution of code and provides.
Единственным звуком, достигавшим его ушей, был едва уловимый гул, шедший снизу. Сьюзан хотелось потянуть шефа назад, в безопасность его кабинета.