The Complete Project Source Code Platform

Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up

Job Resume Template

latest .net Job Interview Questions And Answers


Why don't preparation your interviews. Best and top asking questions .net questions and answers. Prepare your job .net interview with us. Most frequently asked questions in .net interview. Top 10 most common .net interview questions and answer to ask. .net most popular interview question for fresher and experiences. We have good collection of .net job interview questions and answers. Ask interview questions and answers mnc company.employee ,fresher and student. .net technical questions asking in interview. Complete placement preparation for major companies tests and .net interviews,Aptitude questions and answers, technical, interview tips, practice tests, assessment tests and general knowledge questions and answers.


Free Download .net Questions And Answers Pdf.


latest .net FAQ .net Interview Questions and Answers for Experiences and Freshers.



When during the page processing cycle is ViewState available?

The view state is available after the Init() and before the Render() methods are called during Page load.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:59:49

Can the view state be encrypted?

The view state can be encrypted by setting EnableViewStateMac to true and either modifying the <machineKey> element in Machine.config to <machineKey validation="3DES” /> or by adding the above statement to Web.config.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:59:10

Can the view state be protected from tampering?

This can be achieved by including an @ Page directive with an EnableViewStateMac="true" attribute in each ASPX file that has to be protected. Another way is to include the <pages enableViewStateMac="true" /> statement in the Web.config file.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:58:43

List the event handlers that can be included in Global.asax?

o Application start and end event handlers 
o Session start and end event handlers 
o Per-request event handlers 
o Non-deterministic event handlers 

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:58:11

Can a custom .NET data type be used in a Web form?

This can be achieved by placing the DLL containing the custom data type in the application root's bin directory and ASP.NET will automatically load the DLL when the type is referenced.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:57:33

Is it possible to see the code that ASP.NET generates from an ASPX file?

By enabling debugging using a <%@ Page Debug="true" %> directive in the ASPX file or a <compilation debug="true"> statement in Web.config, the generated code can be viewed. The code is stored in a CS or VB file (usually in the \%SystemRoot%\Microsoft.NET\Framework\v1.0.nnnn\Temporary ASP.NET Files).

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:57:01

Can two different programming languages be mixed in a single ASPX file?

ASP.NET’s built-in parsers are used to remove code from ASPX files and create temporary files. Each parser understands only one language. Therefore mixing of languages in a single ASPX file is not possible.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:56:26

Session state vs. View state:

In some cases, using view state is not feasible. The alternative for view state is session state. Session state is employed under the following situations:
Large amounts of data - View state tends to increase the size of both the HTML page sent to the browser and the size of form posted back. Hence session state is used. 
Secure data - Though the view state data is encoded and may be encrypted, it is better and secure if no sensitive data is sent to the client. Thus, session state is a more secure option. 
Problems in serializing of objects into view state - View state is efficient for a small set of data. Other types like DataSet are slower and can generate a very large view state. 

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:55:54

What is an interface and what is an abstract class?

In an interface, all methods must be abstract (must not be defined). In an abstract class, some methods can be defined. In an interface, no accessibility modifiers are allowed, whereas it is allowed in abstract classes.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:54:51

What is the difference between Server.Transfer and Response.Redirect?

Response. Redirect: This tells the browser that the requested page can be found at a new location. The browser then initiates another request to the new page loading its contents in the browser. This results in two requests by the browser. 

Server. Transfer: It transfers execution from the first page to the second page on the server. As far as the browser client is concerned, it made one request and the initial page is the one responding with content. The benefit of this approach is one less round trip to the server from the client browser. Also, any posted form variables and query string parameters are available to the second page as well. 

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:54:10

Should user input data validation occur server-side or client-side? Why?

All user input data validation should occur on the server and minimally on the client-side, though it is a good way to reduce server load and network traffic because we can ensure that only data of the appropriate type is submitted from the form. It is totally insecure. The user can view the code used for validation and create a workaround for it. Secondly, the URL of the page that handles the data is freely visible in the original form page. This will allow unscrupulous users to send data from their own forms to your application. Client-side validation can sometimes be performed where deemed appropriate and feasible to provide a richer, more responsive experience for the user.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:52:26

Describe Paging in ASP.NET.

The DataGrid control in ASP.NET enables easy paging of the data. The AllowPaging property of the DataGrid can be set to True to perform paging. ASP.NET automatically performs paging and provides the hyperlinks to the other pages in different styles, based on the property that has been set for PagerStyle.Mode.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:51:59

What is Data Binding?

Data binding is a way used to connect values from a collection of data (e.g. DataSet) to the controls on a web form. The values from the dataset are automatically displayed in the controls without having to write separate code to display them.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:51:37

List the ASP.NET validation controls?

RequiredFieldValidator 
RangeValidator 
CompareValidator 
RegularExpressionValidator 
CustomValidator 
ValidationSummary 

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:51:01

Describe the difference between inline and code behind.

Inline code is written along side the HTML in a page. There is no separate distinction between design code and logic code. Code-behind is code written in a separate file and referenced by the .aspx page.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:50:22

What is Code-Behind?

Code-Behind is a concept where the contents of a page are in one file and the server-side code is in another. This allows different people to work on the same page at the same time and also allows either part of the page to be easily redesigned, with no changes required in the other. An Inherits attribute is added to the @ Page directive to specify the location of the Code-Behind file to the ASP.NET page.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:49:46

Enumerate the types of Directives.

@ Page directive 
@ Import directive 
@ Implements directive 
@ Register directive 
@ Assembly directive 
@ OutputCache directive 
@ Reference directive 

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:49:19

Explain the differences between server-side and client-side code?

Server side scripting means that all the script will be executed by the server and interpreted as needed. Client side scripting means that the script will be executed immediately in the browser such as form field validation, clock, email validation, etc. Client side scripting is usually done in VBScript or JavaScript. Since the code is included in the HTML page, anyone can see the code by viewing the page source. It also poses as a possible security hazard for the client computer.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:48:22

What is Postback?

When an action occurs (like button click), the page containing all the controls within the <FORM... > tag performs an HTTP POST, while having itself as the target URL. This is called Postback.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:47:45

Explain Windows Forms.

Windows Forms is employed for developing Windows GUI applications. It is a class library that gives developers access to Windows Common Controls with rich functionality. It is a common GUI library for all the languages supported by the .NET Framework.

C# .net interview question for fresher and experiences.

.net   2013-05-30 14:46:42




latest .net questions and answers for experienced


.net best Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of .net Programming Language. here some questions that helpful for your interview. .net 2024 job interview questions with answers. .net for employee and fresher. Here we present some more challenging practice .net interview questions and answers that were asked in a real interview for a .net developer position. These questions are really good to not just test your .net skills, but also your general development knowledge. .net programming learning. we hope this .net interview questions and answers would be useful for quick glance before going for any .net job interview.