Download ASP DOTNET interview questions in PDF ficcocaldiskpros.gq based on Object oriented programming concept. ficcocaldiskpros.gq is an open source server-side. Latest Dot Net Interview Questions And Answers Pdf Manifest - contains information about the assembly like Version of an assembly, the public. Net Interview Questions_WorkShop( questions and answers).pdf - Free download as PDF File ficcocaldiskpros.gq Interview Questions and Answers for Freshers PDF.
|Language:||English, Spanish, Hindi|
|Genre:||Politics & Laws|
|Distribution:||Free* [*Registration needed]|
Net Interview Questions with Answers and ASP. Net | ficcocaldiskpros.gq Interview Questions and Answers PDF | ficcocaldiskpros.gq Questions and Answers Interview Questions Pdf | ficcocaldiskpros.gq Technical Interview Questions and Answers for Freshers Pdf Free. net Interview Questions And Answers For 5 Years Experience This article provides questions and answers for interviews of experienced and beginner Net . and Answers for Freshers, Experienced and Dot Net Testers. and Answers for experienced,c#.net interview questions and answers pdf free download,c#.net.
Item Value. Every item should be represented with one unique key value. A If we want to add a method comment you can just place your cursor on an empty line above one of your method and insert 3 slashes which will insert a comment block for you to fill out. Scroll down the list until you find "System. Forms", click it and then click OK 4.
Using System. Forms; 5. Now go to the main function MessageBox. Show "Hello World" ; 6. Why partial class? Partial class will split into multiple class files but the class name will be same but class files names should be differ. In asp. A Thread is an independent execution path, it able to run simultaneously with other execution paths.
A Whenever we want to create a thread, we have to create an object for thread pre-defined class. A Using thr1. Start ; Start: It is a pre-defined member method of thread class. Using this method we can invoke or start a thread. Threadstart is a pre-defined delegate, which is a part of System. Threading base class library. We can initialize a method to thread with the help of ThreadStart.
A Using Thread. Sleep method is used to Block the current thread for the specified number of milliseconds. In other words We can include specific time via thread. Sleep TimeSpan. A Using Suspend we can suspend the targeted thread. When you call Thread.
Suspend on a thread, the system notes that a thread suspension has been requested and allows the thread to execute until it has reached a safe point before actually suspending the thread. A safe point for a thread is a point in its execution at which garbage collection can be performed.
Once a safe point is reached, the runtime guarantees that the suspended thread will not make any further progress in managed code. A thread executing outside managed code is always safe for garbage collection, and its execution continues until it attempts to resume execution of managed code.
A Suspended thread can be called back by using resume. A The Thread. Abort method is used to start the process of terminating the thread. ThreadingAbortException in the thread on which it is invoked. A Using GC. Collect ; The garbage collection class provides the GC. Collect ; which you can use to give your application some direct control over the garbage collector. In general, you should avoid calling any of the collect methods and allow the garbage collector to run independently.
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. In the dispose method we write clean up code for the object.
It is important that we freed up all the unmanaged recources in the dispose method like database connection, files etc. The class implementing dispose method should implement IDisposable interface. 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, then it is not necessary for the garbage collector to call the object's Finalize method.
A Finalize method acts as a safeguard to clean up resources in the event that your Dispose method is not called. You should only implement a Finalize method to clean up unmanaged resources. You should not implement a Finalize method for managed objects, because the garbage collector cleans up managed resources automatically.
Finalize method is called by the GC implicitly therefore you can not call it from your code. In C , Finalize method cannot be override, so you have to use destructor whose internal implementation will override the Finalize method in MSIL. But in the VB. NET, Finalize method can be override because it does support destructor method. What is ASP. Why asp. NET is a. NET web technology or Server side technology.
To develop a web application by using. Net we have to use a. Net web technology called Asp. Net and a. Net language called C.
What do you mean by server side technology? Server side code we can implement by using Server side technologies. Using server side technology we can develop server side web pages. What do you mean by client side technology? Client side code we can implement by using client side technologies.
What are the programming techniques will be supporting by asp. A Asp. They are1.
InPage Technique and 2. CodeBehing Technique. Can we convert client side control as a server side control? Can we convert server side control as client side control? But we cannot convert server side control as client side control. How can you pass values between ASP. NET pages? A Different techniques to move data from one web form to another are: Query string 2. Cookies 3.
Session state 4. Application state 5. Cross page postback 6. Handler object. What is the difference between Response. Redirect and Server. A Response. It is used to navigate the user request between multiple web servers. It will not hide the Destination url address. It is used to navigate the user request within the web server. It will hide the Destination url address. Explain about validation controls in asp. A There are 6 Validator Controls. Requiredfield Control 2.
Compare validator 3. Range validator 4. Regular Expression validator 5. Custom validator 6. Validation summary. When we will go for custom validator control? 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. How to access information about a users locale in ASP.
A Users locale information can be accessed through System. Culture property. What are the life cycle events of asp. A Application level, Control level, Page level. What are the Asp. 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 Event will execute for some action i.
Whereas method will contain some behavior or functionality. 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. 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. Whenever we dont want to execute the code within the load event, when the page load event fires then we will use! A Autopostback is the property of the control. If you want a control to postback automatically when an event is raised, you need to set the AutoPostBackproperty of the control to True.
It will provide services to single web 1. It will provide services to multiple applications. If we want to develop a web user 3. 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. Web user control we have to drag 4. Custom control we have to drag from from solution explorer window to web toolbox window to web page.
ToString ;. 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.
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. 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. 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. 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. 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.
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 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? When to use transport security and when to use message security? When to use data May be the interviewer did not satisfied with my answers. JPA Mini Book. JVM Troubleshooting Guide.
JUnit Tutorial for Unit Testing. Java Annotations Tutorial. Java Interview Questions. Related Papers. By Bench sales.
Project Lead ,Gecom Services. By Amol Nimgulkar. By Henry Giovanni Valladares. By Sumit Chand. By Katies Katie. Download pdf. Remember me on this computer.