mmoonneeyy.info Religion ASP.NET INTERVIEW QUESTIONS FOR FRESHERS PDF

Asp.net interview questions for freshers pdf

Thursday, February 7, 2019 admin Comments(0)

Fresher and students who want to have a feel of what. mmoonneeyy.info Interview Questions. From constructor to destructor (taking into consideration Dispose() and. interview, I had downloaded all the material from the Internet from various ASP. NET Web Matrix is a free mmoonneeyy.info development environment from. Microsoft. Question 1: What is mmoonneeyy.info? Answer: mmoonneeyy.info was developed in direct response to the problems that developers had with classic ASP.


Author: BERNARDO BEYERL
Language: English, Spanish, Arabic
Country: Libya
Genre: Biography
Pages: 771
Published (Last): 08.06.2016
ISBN: 738-1-33509-319-9
ePub File Size: 15.45 MB
PDF File Size: 18.41 MB
Distribution: Free* [*Regsitration Required]
Downloads: 50789
Uploaded by: LYNDA

Download ASP DOTNET interview questions in PDF mmoonneeyy.info based on Object oriented programming concept. mmoonneeyy.info is an open source server-side. This interview section questions contains a brief introduction to the mmoonneeyy.info Net | mmoonneeyy.info Interview Questions and Answers PDF | mmoonneeyy.info Questions and Questions and Answers for Freshers Pdf Free Download | mmoonneeyy.info Interview. Net Interview Questions_WorkShop( questions and answers).pdf - Free download as PDF File Net Interview Questions. Net Framework 2. C#.Net 3. mmoonneeyy.info 4. mmoonneeyy.info mmoonneeyy.info Interview Questions and Answers for Freshers PDF.

It can be start and stop manually also. In youtube video number of views. A System. DataAdapter Object 4. Security 73 What is an exception?

A By using div tag and panel control. A Rendering is a process of converting complete server side code into client understable code. It will happen before page is submitting to the client.

A ASP 1. Asp is a classic server side technology before. NET 2. Net is a. Net advanced server side technology. Net will support 2 programming techniques i. In Asp, its file extension is. Asp has limited OOPs support. Net uses any. Net languages including VB. Net, C but mostly C. NET uses languages which are fully object oriented languages like C. A Two types of memories are there in. Stack memory and 2. Heap memory. A Client Side Scripting 1. Scripting which will execute within the web browser can be called as client side scripting.

Using this we can implement client side validations. Client side scripting we can implement by using client side technologies called JavaScript, VB script and so on. Server Side Scripting 1.

Scripting which will execute within the web server can be called as client side scripting. Using this we can implement server side validations. Server side scripting we can implement by using server side technologies called Asp. A Whenever we want to display the Gridview control according to our requirement then we will go for Gridview Customisation.

A It is a Boolean property of gridview control. By default it is true. If we want to customize gridview control.. A Whenever we want to have common header and common footer within multiple pages of a website then we can go for a Master Page. A Whenever we want to display the collection of images in a rotation manner one by one then we will go for Adrotator control. A View and multiview are container controls. Multiview control: It can contain collection of view controls but not a normal control.

View Control: It can contain normal controls, but view control should be placed within the multiview. By implementing view and multiview control we can reduce the no. A In ASP. NET we have 2 types of Configuration files.

Config and 2. How many web. Config is one of the configuration files. It is a XML file. This file we can use to define the ASP. NET application configuration settings. Config files within a single application. A YES. But the connection string names must be different. A Whenever we want to define some separate settings for couple of web pages, we will create a new folder and we will add that couple of web pages to that folder and we will add a new Web.

How many machine. A The Machine. Config file, which specifies the settings that are global to a particular machine. That is, configuration done in machine. Usually, this file is not altered. We can have only ONE machine. A Hyperlink: It will not PostBack the webpage to the server. Link Button: It will postback the webpage to the server. It is a process of maintaining the users information.

Server Side State Management and 2. Client Side State Management. How many types of sessions? A Session is a temporary variable which will be used to maintain the user information. Based on the locations, sessions are of4 types: Inproc session 2.

State server session 3. Sql server session 4. Custom session. A Within the Web. A Using Abondon. Abondon will destroy the session. Accessing the inproc session data will be faster. It we restart the web server or if any crashes to the web server there is a chance of losing the session data.

If the session data is increased there is a burden on the web server, it will affect the performance of web server and web application. It is not suitable for large web application models like webgarden and webfarm.

State server session will provide more security because sessions are creating separately within the windows service. If we restart the web server or if any crashes to the web server but still session data will be safe. It is suitable for large web applications like webgarden and webfarm model. Accessing the state server session will be slower compare with inproc session. It is not that much suitable for small web applications because maintaining the windows service is expensive.

Always windows service should be ON. A We can start the Windows Service in 2 ways1. By using control panel and 2. By using Command prompt. A Sql server sessions will be creating within the Sql Server Database. A There are 2 Types of Session events. Session Start and 2. Session End. A Whenever we want to store user data within the server. A Worker process is nothing but Asp.

Net execution engine or Asp. Net runtime. The role of Asp. Net runtime is executing the Asp. Net web page within the Web server. A Every worker process will maintain a memory unit within the web server which is nothing but Appdomain.

A Deploying a website into multiple web servers is called Webfarm. A when ever we want to store the data in web server.. In youtube video number of views. A There are 3 application events. Application Start Event 2. Application End Event 3. Application Error Event. Application state: It will be available to all users of the application. Application state variables are cleared, when the process hosting the application is restarted. Session state: It will only be available to a specific user of the ASP.

Session state variable are cleared, when the user session times out. The default is 20 minutes. This is configurable in Web. This file will contain all the application session related events. A Cookie is a variable which we can use to store the user data.

It will create within the client machine due to that reason which is called as client side state management. Cookies can be broadly classified into 2 types 1.

Persistent cookies: Remain on the client computer, even after the browser is closed. You can configure how long the cookies remain using the expires property of the Http Cookie object. Non-Persistent cookies: If you don't set the Expires property, then the cookie is called as a Non-Persistent cookie. Non-Persistent cookies only remain in memory until the browser is closed.

Cookie is a client side state management technique. Cookie is a variable which will create within the client machine. Default timeout of a cookie is 30 minutes. Session is a server side state management technique. Session is also a variable which will create within the Web server. Default life time of session variable is 20 minutes. What is the draw back? QueryString is a way to forward the data from one web page to another.

50+ ASP.Net Interview questions with answers

QueryString is attached to the URL with "? All the attributes and values are visible to the end user. Therefore, they are not secure. There is a limit to URL length of characters. What is the scope of view state? Viewstate will maintain the users data among multiple postbacks requests. The scope of the Viewstate is within that web form. To Implement HiddenField we can use Asp. Net server control called HiddenField. A Caching is a process of storing the frequently used web page or frequently used part of the web page or frequently used data into some location for future access.

A According to the location caching is classified into 4 types. Client caching 2. Proxy caching 3. Reverse caching 4. Web server caching. Net will support 3 Caching Techniques. Page Output Caching 2.

.Net Interview Questions_WorkShop(250 questions and answers).pdf

Fragment Output caching 3. Data Caching. In general, we will implement page caching on startup page such as login and home page. Fragment caching we will implement on a Web user control, which is accessing by multiple web pages. A ConfigurationManager class. A Security is a process of allowing the authenticated users and denying the unauthorized users when user is requested for restricted web page.

A Authorization is a process of verifying the authentication ticket and supplying the web page based on authentication ticket.

Questions asp.net freshers interview pdf for

A Authentication is a process of accepting the user credentials, when user will request for a restricted web page and generating the authentication ticket for the valid user. A It will support 3 types of authentications. Forms authentication 2. Passport authentication 3. Windows authentication. A FormsAuthentication 96 When we will go for forms authentication? A Forms authentication is used for normal web applications. A A group of websites which will allow the user with single user id and password will go for the passport authentication.

If we have Gmail id with that we can access Gmail, Facebook, Youtube etc. A Whenever users are part of the same Windows domain as the server then the Windows Authentication is the preferred approach to authentication. In other words, whenever we have intranet web applications it is better to go with Windows Authentication.

Row deleting and Row deleted 2. Row editing 3. Row updating and Row updated 4. Row Cancelling edit 5. Row command 6. Row created 7. Row DataBound 8. Page index changing and page index changed 9.

Sorted and sorting. A Whenever we want to display the data as it is we can go for Repeater control, that means we dont require to provide any Edit or Delete facilities.

To display Bank Statements and Examination results. A Whenever we want to display the data in a repeating list format then we will go for Datalist control. Details View: A Data pager control provides paging functionality for data bound controls. It will allow the user to select one item or multiple items. It will allow the user to select only one item. ControlToValidate and 2. A It informs the compiler of any custom server control added to the page.

A To avoid full page postback,to implement partial page postback 1. A when ever user will interact the part of the page then sending postback request for only that part of the page.

A Synchronous Request Model: In this model, every client request has to communicate the web server and every request has to process by the web server then only that request, response will be getting by the client. Asynchronous Request Model: It is a part of web browser. The role of AJAX engine is to process the part of the web page or partial web page within the client side. A AJAX will support 2 programming models. They are: Server Centric programming model: In this model every client request will be processing by the web server that can be first request or postback request.

Client Centric programming model: In this model, first request will be processing by the web server and postback request will be processing by the client. While developing an AJAX web page we can implement only server centric programming model or client centric programming model or both within single web page.

And non extender controls? Extender controls are not individual controls i. Extender controls will extend the functionalities of existing ASP. NET controls. Autocomplete extender, calendar extender, dropdown extender and so on.. Non Extender controls are individual controls i. Non Extender controls provides the extra controls in ASP. In Ajax, Script Manager is the main important parent control.

Update panel is one of the Ajax Container control. By default Asp. Whenever we want to make Asp. Net controls to follow Client Centric Programming Model. We can drag and drop update panel, in that we can add Asp.

Net controls and Ajax controls. What is ADO. Why Ado. A ADO. It is an integral component in. NET framework, which was introduced by the Microsoft with.

NET Framework 1. It is a Data Access Object, which allows communication between. NET application and Databases. NET application wants to communicate Databases it has to take the help of Ado. Net application and Database. A COA 1. Whenever we require a continuous connection with the Database for accessing the data we use COA 2.

DOA 1. Whenever we doesnt require a continuous connection with the Database for accessing the data we can use DOA. What is the base class library used for ado. A System. What are components required for connected oriented?

A The components required for Connected oriented architecture are: Connection Object 2. Command Object 3. DataReader Object.

ASP.NET - .NET Interview Questions and Answers

What are the components required for Disconnected oriented? A The components required for Disconnected oriented architecture are: DataAdapter Object 4. Dataset Object 6. Difference between DataReader and DataAdapter? It is used in Connected Oriented 1. It is used in Disconnected Oriented Architecture. DataReader is represents with a 2. DataAdapter is represented with a pre-defined class called pre-defined class called SqlDataReader.

DataReader is used to retrieve a 3. DataAdapter is used to retrieve data read-only, forward-only stream of from a data source and populate tables data from a database within a DataSet.

Difference between dataset and data table? Data table represents a single table i. Difference between data reader and dataset? It is used in Connected Oriented Architecture.

DataReader is directly accessing the. Dataset is a local database which is. DataReader is represented at a time single record. DataReader is Read only, Forward only, connected recoed set. DataReader we will use only when we want to read the data from Central DataBase. Dataset can contain collection of tables because dataset itself is a local database.

We can use dataset for reading the data, inserting, updating and deleting the data. Whenever we require a continuous connection with the Database for accessing the data then we will go for COA. Whenever we doesnt require a continuous connection with the Database for accessing the data then we will go for DOA. A Gridview1. DataBind ;. A ExecuteReader: It is apre-defined member method of SqlCommand class. This method will read or fetch the data from the central database and will return to DataReader object.

Then it will return the no. This method will executes the command object command till the first match. This method will avoid the unnecessary scanning of the table, which improves the performance of the application. When we will go for row command event?

A Row Command event is one of the events of the Gridview control. This event will fire when user will click any button within the Gridview control. Listview control. A A software solution which is implemented by using 3 layers can be called as 3Tier Architecture.

In 3-Tier architecture, we have 3 layers 1. Windows service in one of the software application. It works only on windows operating system due to that reason windows service is called operating system dependent application.

It will start when the windows OS is Booting. It will run till the windows OS is Running. It will stop when the OS is Shutdown. It can be start and stop manually also. It is a. Net advanced windows technology, introduced by Microsoft with.

Net Framework 3. Using WPF we can develop an advanced windows applications. WPF is integrated with 2D graphics, 3D graphics, animations and multimedia. Whenever we want to implement animations within a desktop application the best choice is WPF. A SilverLight is an advanced web technology which we can use to implement animations, multimedia for asp. Jquery is an advanced technology of JavaScript that means jquery is next generation of JavaScript.

It is a predefined JavaScript Library. It is a group of JavaScript predefined functions. It is a lightweight and more powerful API adding dynamic behavior for webpage.

To implement JavaScript programmer has to write the multiline code. But using Jquery we can implement JavaScript. A Linq stands for Language Integrated Query. Linq is an advanced data access object for. Crystal Reports is one of the third party Reporting Tool. Using this tool, we can generate the reports. If we want to use Crystal reports in Visual studio then we have to install crystal reports software explicitly from the following site: A CrystalDecisions.

Using ASP. A ASP. A Constraint is a condition which we can assign on a single column or multiple columns. Constraints will maintain consistent data within the database. A To avoid duplicate values and null values in a column. To establish relation between Parent table and Child table we require a common column , that column should be parent table primary key column.

To make that relation strong we require Foreign key constraint that means Foreign key constraint we should assign child table common column. Stored procedure is a pre-compiled Sql statements.

A By implementing stored procedures we can avoid the multiple time compilation of Sqlcommands. Project Related Questions 1. Tell me list of all your projects. Tell me about your current project 3. Tell me about the architectures of your project 4. Tell me about the modules in your project 5.

Tell me about the what are. Net features used in your current project 6. Tell me about your role and responsibility in current project 7. Tell me about what process models and types 8. Tell me about which model are you used in current project 9.

Tell me about your SDLC and what phases exist in that. Tell me about what kind of documents exist and details about them How do you maintain the configuration of your project Like how do you maintain the version of your project TFS How do you start and plan your work What is most challenging work in your career? What is the toughest situation you faced in the development How often you communicate with the client For what purposes, you communicate with the client Explain complete process followed for the development What is the life cycle model used for the development How do communicate with team members How do you say you are having excellent team management skills If your client gives a change and asks for early delivery.

How will you manage? How will gather requirements and where do you record. What is the stage when code is delivered to the client and he is testing it?

How do you handle change requests How do you write unit test cases? HR Questions 1. Why u r looking for change your job? Where are you working now? What is your IT experience? What is your relevant experience? What is your Expectation? What is your company notice period?

What are your roles in your current project? What is your Employee Id in your Current Company? What is your official mail id? Is Your notice period is Negotiable?

Why youre changing from your current company? Why youre looking for change? Are you a permanent Employee or contract? How do you get your salary? Are you willing to relocate? Tell me about your company? Who are the clients to your company? Who is your project leader?

What is your expected salary What is reason to leave the current company What is your Notice period What is your strength What is your weakness Where can you see you after 5 years What are your habits What is your appraisal process - Hike Why did you enter this field What have you done Do you have valid passport Do you visit any client place so far? Tell me About work experience Are you willing to relocate When will you join Why do u what to change from current organization Why do you want to join this organization Flag for inappropriate content.

Related titles. NET Entity framework interview questions with answers. Jump to Page. Search inside document. Net Interview Questions and Answers. Net Framework? A NET Framework is an important integral component in. Net application Execution process can be divided into 2 steps: It is a operator GetType 1. What is the difference between string and StringBuilder? String will allocate a new memory whenever we concatenate the string value 2.

Post-Release By default Non-static 4. Readonly can be initialized at the time of declaration or runtime only within the constructor 30 When the memory will be allocated for instance variable and static variable?

A base 42 How to invoke current class constructor? For this we can use Base 45 Why Main is static? Call by Out or pass by out 48 When call by value, call by reference, call by out?

Polymorphism 50 What is Encapsulation? We can implement overloading and overrding with in class 6. Security 73 What is an exception? A Run time error is nothing but and exception. Multi Cast Delegate 79 In C which is called as type safe function pointers? Shared Assembly 82 Difference between dll and exe? Exe itself is an application.

Net Console application called main 4. Reflection System. Type 92 What are smart arrays in C. Generic Collection 99 What is dictionary? Threading How to create thread? Handler object 7. Validation summary 9. ToString ; 23 How to divide the page into different parts?

NET uses languages which are fully object oriented languages like C 26 What is the parent class for all asp. A 20 Minutes. A Using TimeOut property. A It is part of web server or a unit of web server. In youtube video number of views 71 What are application events?

A 30 Minutes. A Throughout the website. Data Caching 86 When we will go for page output caching? Windows authentication 94 What is returnurl? A it is querystring varible 95 What is the class we will use for forms authentication?

mmoonneeyy.info - .NET Interview Questions and Answers

If we have Gmail id with that we can access Gmail, Facebook, Youtube etc 98 When we will go for windows authentication? A Within the html hidden fields. A TextMode How to reduce the burden on the page? A By implementing paging. A when ever user will interact the part of the page then sending postback request for only that part of the page 3 What is synchronous request model and what is asynchronous request model? SqlClient; 4.

A Txtbox1. A label1. A dropdownList1. A conn. Dispose 16 What is row command event? Listview control 20 What is the data provider to communicate sql server data base? SqlClient; 21 What is 3 tier? Engine; 30 Can we run asp. A to provide security for web application 32 What is the default server we will get with asp. Documents Similar To.

Shivprasad Koirala. Avancha Vasavi.

Pdf questions asp.net freshers interview for

Vellai Chamy. Kiran Leo. Suman Dm. Salman Ilyas Awan. Fenil Desai. Kishan Kumar Jha. Veeresh Kethari. Popular in C Sharp Syntax. Mashhood Hussain. Kavya Cheppalli. Dhruv Nagpal. Ch Ramana. Corazon Tolentino. Rey Villamar. View State is the method to preserve the Value of the Page and Controls between round trips. It is a Page-Level State Management technique. View State is turned on by default and normally serializes the data in every control on the page regardless of whether it is actually used during a post-back.

A web application is stateless. That means that a new instance of a page is created every time when we make a request to the server to get the page and after the round trip our page has been lost immediately. What are the different Session state management options available in ASP. State Management in ASP. For further information click on the link:. What is caching in ASP. Caching is one of the most interesting concept and operation in ASP.

If you can handle it, you can run any web application by applying the caching concept depending on the requirements. Caching is for providing solutions or the results to the users depending on their request, admin needs to recreate the pages often depending on user requests…STOP!!!

Types For further information click on the link:. How can we apply themes in ASP. NET application? A theme is a collection of settings that define the look of controls and web pages. These themes are applied across all the pages in a web application to maintain a consistent appearance. Themes are included images and skin files; the skin files set the visual properties of ASP. NET controls. Themes are of two types: A page theme is applied to a single page of the web site. Global Theme A Global theme is a theme that is applied to all the web sites on a web server and includes property settings, and graphics.

This theme allows us to maintain all the websites on the same web server and define the same style for all the web pages of the web sites. What is MVC? Model-View-Controller MVC is a pattern to separate an application into the following three main components:. The ASP. NET Web Forms pattern for creating web applications. NET features, such as master pages and membership-based authentications.

The MVC framework is defined in the System. Mvc assembly. It's the better as well as a recommended approach for large-scale applications where various teams are working together. What are Cookies in ASP.

Cookies are a State Management Technique that can store the values of control after a post-back. Cookies can store user-specific Information on the client's machine like when the user last visited your site. Basically cookies are a small text file sent by the web server and saved by the Web Browser on the client's machine. List of properties containing the HttpCookies Class:. What is Ajax in ASP. AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes.

This means that it is possible to update parts of a web page, without reloading the entire page. We can also define Ajax is a combination of client side technologies that provides asynchronous communication between the user interface and the web server so that partial page rendering occurs instead of complete page post back.

It also supports open source implementation of other technology. It partially renders the page to the server instead of complete page post back. We use AJAX for developing faster, better and more interactive web applications. A Web Service is a software program that uses XML to exchange information with other software via common internet protocols. In a simple sense, Web Services are a way for interacting with objects over the Internet.

A web service is: For further info click on the link:. What are the Advantages of ASP. NET is a server-side technology. Web Applications are built using Web Forms. NET comes with built-in Web Form controls, which are responsible for generating the user interface. They mirror typical HTML widgets such as text boxes or buttons. If these controls do not fit your needs, you are free to create your own user controls.

What is the concepts of Globalization and Localization in. Localization means " process of translating resources for a specific culture ", and Globalization means " process of designing applications that can adapt to different cultures ".

NET framework has greatly simplified the task of creating the applications targeting the clients of multiple cultures. The namespaces involved in creation of globalize, localizing applications are:. What is the Web. Configuration file is used to manage various settings that define a website.

The settings are stored in XML files that are separate from your application code. In this way you can configure settings independently from your code.

Generally a website contains a single Web. However there can be many configuration files that manage settings at various levels within an application. Usage of configuration file ASP. NET applications. Configuration files help you to manage the settings related to your website. Each file is an XML file with the extension. Configuration information is stored in XML-based text files. Benefits of XML-based Configuration files: It can be considered as a Lightweight process which is both a container and boundary.

NET runtime uses an AppDomain as a container for code and data, just like the operating system uses a process as a container for code and data. As the operating system uses a process to isolate misbehaving code, the. NET runtime uses an AppDomain to isolate code inside a secure boundary.

The CLR can allow the multiple. NET applications to run in a single AppDomain. Mulitple Appdomains can exist in Win32 process. How to create AppDomain: AppDomains are created using the CreateDomain method. AppDomain instances are used to load and execute assemblies Assembly. When an AppDomain is no longer in use, it can be unloaded. A QueryString is a collection of characters input to a computer or web browser. A Query String is helpful when we want to transfer a value from one page to another.

It is basically used for identifying data appearing after this separating symbol. If we want to transfer a large amount of data then we can't use the Request. Query Strings are also generated by form submission or can be used by a user typing a query into the address bar of the browsers. Syntax of Query String Request. QueryString variable [ index. What is master page in ASP. The extension of MasterPage is '.

MasterPage cannot be directly accessed from the client because it just acts as a template for the other Content Pages. We can have multiple masters in one web application. A master page is defined using the following code: What is tracing in. Tracing helps to see the information of issues at the runtime of the application.

By default Tracing is disabled. Tracing has the following important features:. What are the data controls available in ASP. When you use data binding, you have more flexibility when you use data from a database or other means.

Data Bind controls are container controls. With data binding we can bind a control to a particular column in a table from the database or we can bind the whole table to the data grid. Data binding allows you to take the results of properties, collection, method calls, and database queries and integrate them with your ASP. NET code. You can combine data binding with Web control rendering to relieve much of the programming burden surrounding Web control creation. You can also use data binding with ADO.

Data binding uses a special syntax: NET to evaluate the expression. Expressions within the data binding tags are evaluated only when the DataBind method in the Page objects or Web control is called.

Data Bind Control can display data in connected and disconnected model. Following are data bind controls in ASP. What are the major events in global.

The Global. Use of CheckBox in. The CheckBox control is a very common control of HTML, unlike radio buttons it can select multiple items on a webpage. NET has many properties and some of them are listed below.

What is the authentication and authorization in ASP. In ASP. NET authentication means to identify the user or in other words its nothing but to validate that he exists in your database and he is the proper user. Authorization means does he have access to a particular resource on the IIS website. A resource can be an ASP. Types of authentication and authorization in ASP. In 'web. The Microsoft. NET Framework provides a rich set of server-side controls for developing Web applications.

You can add these controls to WebForms pages just as you add Windows controls to a form. Server-side controls are often called server controls or Web Forms controls. There are four types of Server controls: HTML server controls. Web server controls, validation control, and user controls. What are the authentication modes in ASP. NET for security? When you begin a program for a customer using ASP. NET, you should consider about security. Security is one of the most important components of any application.

Security is even more important when you are making a web application which is exposed to million of users. NET provides classes and methods that ensure that the application is secure from outside attacks. In this article we will investigate the different types of authentication provided by ASP. In web. What's about difference and how to you use them? Authentication have some other values to, this article does not consider them. How to use mode "Windows"? Windows Authentication mode provides the developer to authenticate a user based on Windows user accounts.

This is the default authentication mode provider by ASP. This will return the computer name along with the user name. There are many frameworks available to build HTTP based services. They follow a common guideline of international standardization but with different flavors. For example, all framework must adhere to these status codes-. Describe application state management in ASP.

Application Level State Management is used to maintain the state of all the users accessing the web forms present within the website. The value assigned for an application is considered as an object. Application object will not have any default expiration period. Whenever the webserver has been restarted or stopped then the information maintained by the application object will be lost.

If any data is stored on the application object then that information will be shared upon all the users accessing the webserver. Since the information is shared among all the users, it is advisable to lock and unlock the application object as per requirement.

Global Application Class Global. It is a Class which consists of event handlers which executes the code implicitly whenever a relevant task has been performed on the web server. What is the code behind and Inline Code? NET Web page that is written in a separate class file that can have the extension of. Here the code is compiled into a separate class from which the. You can write the code in a separate. One major point of Code Behind is that the code for all the Web pages is compiled into a DLL file that allows the web pages to be hosted free from any Inline Server Code.

NET Web Page that has an extension of. It's major point is that since it's physically in the. What is the ASP. NET page life Cycle? When a page is requested by the user from the browser, the request goes through a series of steps and many things happen in the background to produce the output or send the response back to the client. The periods between the request and response of a page is called the "Page Life Cycle".

Later in this article we"ll study all these stages and their sub events. NET page life cycle events? We have many events in ASP. Describe login Controls in ASP? The Login control provides the user interface to log a user into a web site. The Login control uses the Membership service to authenticate the user in your membership system.

The default Membership service from your configuration file will be used automatically, however you can also set the Membership provider that you would like used as a property on the control.

The Login Control consists of: How to use repeater control in ASP. A Repeater is a Data-bound control. Data-bound controls are container controls. It creates a link between the Data Source and the presentation UI to display the data. The repeater control is used to display a repeated list of items.

The main use of Repeater Control is for displaying a repeated list of items bound to the control. With the Repeater control we can display data in a custom format.

The main drawback of a Repeater Control is that it doesn't support paging and sorting. The Repeater Control has the following types of template fields:. What are different methods of session maintenance in ASP. Session is a State Management Technique. A Session can store the value on the Server. It can support any type of object to be stored along with our own custom objects. A session is one of the best techniques for State Management because it stores the data as client-based, in other words the data is stored for every user separately and the data is secured also because it is on the server.

We can set the session on one of the following 2 types of configuration files:. NET there are 4 types of Session Mode. We can disable the session mode for the entire application using the off mode. What is the Difference between session and caching? The first main difference between session and caching is: Session data is stored at the user level but caching data is stored at the application level and shared by all the users.

It means that it is simply session data that will be different for the various users for all the various users, session memory will be allocated differently on the server but for the caching only one memory will be allocated on the server and if one user modifies the data of the cache for all, the user data will be modified.

For further info click on the link: What is the difference between HttpContext. Items and HttpContext. Session in ASP. Session state is one of the popular state management techniques in ASP. NET environment. We developer people play with session storage every now and then. Here is the syntax to do that.