Net | caite.info Interview Questions and Answers PDF | caite.info Questions and Answers | caite.info Interview Questions Pdf | caite.info Technical Interview. NET interview questions and answers section for various interview, competitive examination and NET quiz questions with answers as PDF files and eBooks. Net Framework is developed by Microsoft. It provides NET Interview Questions & Answers. last updated March .. Download PDF · Facebook.
|Language:||English, Spanish, German|
|Genre:||Fiction & Literature|
|ePub File Size:||16.32 MB|
|PDF File Size:||17.59 MB|
|Distribution:||Free* [*Regsitration Required]|
Download ASP DOTNET interview questions in PDF caite.info based on Object oriented programming concept. caite.info is an open source server-side. Mr. RN caite.info Interview () Questions and caite.infomeWork What Face book. Id: caite.info Framework? A). Latest Dot Net Interview Questions And Answers Pdf Manifest - contains information about the assembly like Version of an assembly, the public.
A Different techniques to move data from one web form to another are: In other words, it describes the relationship and dependencies of the components in the Assembly, scope information, versioning information, etc. Listview control 20 What is the data provider to communicate sql server data base? State management is a technique that is used to manage a state of an object on different request. NET to support many languages? DataReader Object.
You should not implement a Finalize method for managed objects. A Finalize method acts as a safeguard to clean up resources in the event that your Dispose method is not called. A These are just like any other methods in the class and can be called explicitly but they have a special purpose of cleaning up the object.
The class implementing dispose method should implement IDisposable interface. In general. A Dispose method should call the GC. SuppressFinalize method for the object it is disposing if the class has desturctor because it has already done the work to clean up the object.
It is important that we freed up all the unmanaged recources in the dispose method like database connection. Finalize method cannot be override. Finalize method is called by the GC implicitly therefore you can not call it from your code.
In the dispose method we write clean up code for the object. CodeBehing Technique. CSS 4. A Asp. To develop a web application by using.
Can we convert client side control as a server side control? Can we convert server side control as client side control? NET web technology or Server side technology. What are the programming techniques will be supporting by asp. Why asp. What do you mean by server side technology? What is ASP. Net web technology called Asp. NET is a. Net language called C. Client side code we can implement by using client side technologies.
PHP and so on 3. InPage Technique and 2. They are1. Server side code we can implement by using Server side technologies.
But we cannot convert server side control as client side control. Using server side technology we can develop server side web pages. Net we have to use a. Net and a. What do you mean by client side technology? It is used to navigate the user request between multiple web servers.
Cookies 3. Query string 2. Redirect and Server. Range validator 4. It is used to navigate the user request within the web server. NET pages?
A Different techniques to move data from one web form to another are: Requiredfield Control 2. A There are 6 Validator Controls. Explain about validation controls in asp. Cross page postback 6. Compare validator 3.
A Response. Session state 4. Application state 5. Validation summary 9. It will hide the Destination url address. When we will go for custom validator control? Regular Expression validator 5. It will not hide the Destination url address. Custom validator 6. What is the difference between Response. Handler object 7. How can you pass values between ASP. Page level. Net page cycle stages? A There are overall 8 stages available for any webpage that will undergo with in server at page life cycle.
A Application level. What are the life cycle events of asp. How to invoke server side validation function and how to invoke client side validation function?
A Server side validation functions can be invoked by using ASP. Control level. Culture property. What are the Asp. A Event will execute for some action i. A Default events of: A When ever user request for a page for first time it is called First request.
When ever user will interact the page by clicking button or selecting radiobutton e. Whereas method will contain some behavior or functionality. A Autopostback is the property of the control. If you want a control to postback automatically when an event is raised.
When we will use Not Ispostback? A IsPostBack: It is the property of the Page class which is used to determine whether the page is posted back from the client. A TextBox1. Custom control we have to drag from from solution explorer window to web toolbox window to web page.
If we want to develop a custom control we have to add a pre-defined control we have to use a class library template called web user control to the project. Net is a. Web user control we have to drag 4. It will happen before page is submitting to the client. NET 2. Net will support 2 programming techniques i. A ASP 1. A Rendering is a process of converting complete server side code into client understable code. Net advanced server side technology.
It will provide services to multiple applications. A By using div tag and panel control. If we want to develop a web user 3. It will provide services to single web 1. Asp is a classic server side technology before.
Using this we can implement server side validations. A Whenever we want to display the Gridview control according to our requirement then we will go for Gridview Customisation. In Asp. Scripting which will execute within the web browser can be called as client side scripting. VB script and so on. C but mostly C. Net uses any. Stack memory and 2.
Asp uses mostly VBScript. Server side scripting we can implement by using server side technologies called Asp. Asp has limited OOPs support. Scripting which will execute within the web server can be called as client side scripting.
PHP and so on.
A Two types of memories are there in. Server Side Scripting 1. A Client Side Scripting 1. If we want to customize gridview control. Multiview control: It can contain collection of view controls but not a normal control. A Application. A It is a Boolean property of 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.
By default it is true. A View and multiview are container controls. A 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. Control 32 What are the major built in objects in asp.
To fetch the data from XML document. Config files within a single application. A Whenever we want to define some separate settings for couple of web pages.
A The Machine. How many web. This file we can use to define the ASP. A In ASP. Config is one of the configuration files. How many machine. NET application configuration settings. It is a XML file. NET we have 2 types of Configuration files. View Control: It can contain normal controls.
That is. Config file. But the connection string names must be different. Config and 2. State server session 3. Link Button: It will postback the webpage to the server. Based on the locations. How many types of sessions? A Session is a temporary variable which will be used to maintain the user information. Server Side State Management and 2. Custom session. Sql server session 4. Client Side State Management. A Hyperlink: It will not PostBack the webpage to the server.
Inproc session 2. It we restart the web server or if any crashes to the web server there is a chance of losing the session data. A Within the Web. Abondon will destroy the session. Accessing the inproc session data will be faster.
It is not suitable for large web application models like webgarden and webfarm. A Using TimeOut property. If the session data is increased there is a burden on the web server.
A Using Abondon. A 20 Minutes.
A We can start the Windows Service in 2 ways1. Accessing the state server session will be slower compare with inproc session. It is suitable for large web applications like webgarden and webfarm model.
A State server session are creating within the state server which is nothing but Windows Service. State server session will provide more security because sessions are creating separately within the windows service. A Inproc sessions are creating within the Current App Domain. Always windows service should be ON. By using Command prompt. It is not that much suitable for small web applications because maintaining the windows service is expensive.
A Sql server sessions will be creating within the Sql Server Database. By using control panel and 2. If we restart the web server or if any crashes to the web server but still session data will be safe. Net runtime. A Whenever we want to store user data within the server. A Deploying a website into multiple web servers is called Webfarm. A Every worker process will maintain a memory unit within the web server which is nothing but Appdomain.
A There are 2 Types of Session events. A Worker process is nothing but Asp. Net web page within the Web server. Session End. A It is part of web server or a unit of web server. Net execution engine or Asp. The role of Asp. Session Start and 2. Net runtime is executing the Asp. This is configurable in Web. A This is a class file.
This file will contain all the application session related events. Application state variables are cleared. Session state: In youtube video number of views 71 What are application events? A There are 3 application events. Application Error Event.
Application state: It will be available to all users of the application. Application Start Event The default is 20 minutes.
Session state variable are cleared. Application End Event 3. It will only be available to a specific user of the ASP. A when ever we want to store the data in web server. Cookies can be broadly classified into 2 types 1.
Non-Persistent cookies only remain in memory until the browser is closed. A 30 Minutes. Default timeout of a cookie is 30 minutes. Non-Persistent cookies: If you don't set the Expires property. Cookie is a client side state management technique. Persistent cookies: Remain on the client computer. QueryString is attached to the URL with "? A Throughout the website. What is the draw back? It will create within the client machine due to that reason which is called as client side state management.
Default life time of session variable is 20 minutes. Session is a server side state management technique.
A Cookie is a variable which we can use to store the user data. Session is also a variable which will create within the Web server.
QueryString is a way to forward the data from one web page to another. You can configure how long the cookies remain using the expires property of the Http Cookie object. Cookie is a variable which will create within the client machine. 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. Proxy caching 3. Web server caching. The scope of the Viewstate is within that web form. What is the scope of view state?
A According to the location caching is classified into 4 types. There is a limit to URL length of characters. Client caching 2. Net server control called HiddenField. HiddenField is a Server side control. To Implement HiddenField we can use Asp. All the attributes and values are visible to the end user. Reverse caching 4. A ConfigurationManager class. Fragment Output caching 3. A Security is a process of allowing the authenticated users and denying the unauthorized users when user is requested for restricted web page.
Data Caching 86 When we will go for page output caching? Net will support 3 Caching Techniques. Page Output Caching 2. A Authorization is a process of verifying the authentication ticket and supplying the web page based on authentication ticket. A It will support 3 types of authentications.
In other words. A A group of websites which will allow the user with single user id and password will go for the passport authentication. Youtube etc 98 When we will go for windows authentication? A Whenever users are part of the same Windows domain as the server then the Windows Authentication is the preferred approach to authentication.
A Authentication is a process of accepting the user credentials. Forms authentication 2. If we have Gmail id with that we can access Gmail. Passport authentication 3. Windows authentication 94 What is returnurl? A it is querystring varible 95 What is the class we will use for forms authentication?
A FormsAuthentication 96 When we will go for forms authentication? A Forms authentication is used for normal web applications. Row deleting and Row deleted 2. A Data pager control provides paging functionality for data bound controls. A Whenever we want to display the data in a repeating list format then we will go for Datalist control. Row command 6. Sorted and sorting. Row editing 3.
Details View: Row created 7. Row DataBound 8. Row Cancelling edit 5. A Whenever we want to display the data as it is we can go for Repeater control.
Row updating and Row updated 4. Page index changing and page index changed 9. To display Bank Statements and Examination results. A TextMode How to reduce the burden on the page? A By implementing paging. A It informs the compiler of any custom server control added to the page. It will allow the user to select only one item.
A Within the html hidden fields. ControlToValidate and 2. It will allow the user to select one item or multiple items. Client Centric programming model: In this model.
The role of AJAX engine is to process the part of the web page or partial web page within the client side. 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.
A To avoid full page postback. It is a part of web browser. Asynchronous Request Model: A AJAX will support 2 programming models. 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?
Inside this folder is one or more subfolders named Theme1, Theme2 etc. Setting the theme at the page level: Open the web. Setting the theme programmatically at runtime: The better option is to apply this to the Base page class of the site as every page in the site inherits from this class. Since themes can contain CSS files, images and skins, you can change colors, fonts, positioning and images simply by applying the desired themes.
You can have as many themes as you want and you can switch between them by setting a single attribute in the web. Also you can switch between themes programmatically. Setting the themes programmatically, you are offering your users a quick and easy way to change the page to their likings. Themes allow you to improve the usability of your site by giving users with vision problems the option to select a high contrast theme with a large font size.
Navigation can cause data loss if it not properly handled.
We do have many techniques to transfer data from one page to another but every technique has its own importance and benefits. 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. Add a new MasterPage file MainMaster. To the master page add some header, footer and some default content for both the content place holders.
Tracing helps to see the information of issues at the runtime of the application. By default Tracing is disabled. We can see the execution path of the page and application using the debug statement. We can access and manipulate trace messages programmatically.
We can see the most recent tracing of the data. Tracing can be done with the following 2 types. Page Level: When the trace output is displayed on the page and for the page-level tracing we need to set the property of tracing at the page level. In Application-Level tracing the information is stored for each request of the application. The default number of requests to store is But if you want to increase the number of requests and discard the older request and display a recent request then you need to set the property in the web.
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. Data Binding is binding controls to data from databases. 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. 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. NET 2. Web Part Zone can contain one or more Web Part controls. This provides the layout for the Controls it contains. A Web Part Control can be any of the controls in the toolbox or even the customized user controls. For example: If you want give new value to old value then it will discard the old value and create new instance in memory to hold the new value.
The DataSet class exists in the System. Data namespace. The Classes contained in the DataSet class are: A session stores user states and data to all over the application. It is very easy to implement and we can store any kind of object.
It can store every user data separately. Session is secure and transparent from user because session object is stored on the server. Performance overhead occurs in case of large number of users, because session data is stored in server memory. Overhead involved in serializing and De-Serializing session Data.
Data Cache is used to store frequently used data in the Cache memory. We need to use System. Caching namespace. Every user is able to access this object. When client request to the server, server execute the stored procedure or function or select statements on the Sql Server database then it returns the response to the browser.
If we run again same process will happen on the web server with sql server. We can create data caching use Cache Keyword. Enterprise Library: It is a collection of application blocks and core infrastructure. Enterprise library is the reusable software component designed for assisting the software developers.
We use the Enterprise Library when we want to build application blocks intended for the use of developers who create complex enterprise level application. Security Application Block provide developers to incorporate security functionality in the application. This application can use various blocks such as authenticating and authorizing users against the database. This block provides the developers to create consistency for processing the error that occur throughout the layers of Enterprise Application.
Cryptography application blocks provides developers to add encryption and hashing functionality in the applications. As defined in Wikipedia, an application server is a software engine that delivers applications to client computers or devices. The application server runs your server code. A class is a template for creating an object. The class from which other classes derive fundamental functionality is called a base class.
For e. The class which derives functionality from a base class is called a derived class. State management is a technique that is used to manage a state of an object on different request.
It is very important to manage state in any web application. There are two types of state management systems in ASP. This property returns a true value if a Data Reader is closed, otherwise a false value is returned. NET validation controls define an important role in validating the user input data.
Whenever the user gives the input, it must always be validated before sending it across to various layers of an application. If we get the user input with validation, then chances are that we are sending the wrong data. So, validation is a good idea to do whenever we are taking input from the user. When validation is done on the client browser, then it is known as Client-Side Validation. When validation occurs on the server, then it is known as Server-Side Validation.
Server-Side Validation is a secure form of validation. The main advantage of Server-Side Validation is if the user somehow bypasses the Client-Side Validation, we can still catch the problem on server-side. There must be multiple processes to share the same connection describing the same parameters and security settings. The connection string must be identical. Cookie can store only string value. Cookies are browser dependent.
Cookies are not secure. Cookies can store only small amount of data. IL stands for Intermediate Language. NET source codes are first compiled to IL. 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.
These are the main features of view state: Retains the value of the Control after post-back without using a session. Stores the value of Pages and Control Properties defined in the page. Advantages of View State. Easy to Implement. No server resources are required: The View State is contained in a structure within the page load. Enhanced security features: It can be encoded and compressed or Unicode implementation. What are the different Session state management options available in ASP.
In traditional Web programming, all information that is associated with the page, along with the controls on the page, would be lost with each roundtrip.
The Microsoft ASP. NET framework includes several options to help you preserve data on both a per-page basis and an application-wide basis. These options can be broadly divided into the following two categories:. How can you prepare for an Athena Healthcare interview as a Java developer with 2 years of experience?
Here I will explain c. April 30, Nicolas has over five years of experience in Microsoft Technologies, including. Collabera interview details: Answer do you have any experience? Deloitte interview details: Interview Questions. Dot net 3. It's now and from last few years phone interviews also known as Though these questions mostly for less experienced developer e.
Given it's huge popularity, jQuery interview questions are increasingly asked in but they are mostly suited for web developers with 2 to 5 years of experience. September 14, First round: Coding round hosted on hackerrank. Consisted of 4 questions of varying.
Software Developer and have around 5 years of experience. Net Interview Questions And Answers, mvc interview questions, mvc c interview 5. What is ViewResult?