Qinterview.com

Most Commonly Asked Job Interview Questions And Answers

125,000+ Member

our android app in store



Can the view state be encrypted?


.net interview questions and answers

common interview question for fresher and experiences.prepare your job interview with us. get your dream job.most frequently asked interview questions.best interview questions. .net for interview questions and answers for fresher and experience. improve interview skills.improve interview confidence..net best interview questions. start your .net job interview right now and get your dream jobs. preparation job interview any place and any time.also our android application available here. top .net interview questions. best and top asking questions .net interview questions with answers.






Note: any question and answer correct or incorrect give you vote. also you know correct answer then you can post your answer or give vote in answer.

my favorites

add to favorite


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.
jayvik 1 0


More Answer

Post your Answer



.net popular interview questions and answers


favorite 0
votes 1
answers 3
views 2148

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.... view more
submited by :- on 2013-05-30 14:59:49

favorite 0
votes 0
answers 1
views 1623

What is Cookies in ASP?

A cookie is small text file is created in users computer, ASP pages store and retrieve cookie value to and from user system. You can use Response.Cookies(key)=value to create cookie and value=Request.Cookies(key) to retrive the value.asp .net int... view more
submited by :- on 2013-05-25 15:13:47

favorite 0
votes 1
answers 0
views 1424

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 q... view more
submited by :- on 2013-05-30 14:59:10

favorite 0
votes 1
answers 0
views 1218

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... view more
submited by :- on 2013-05-30 14:55:54

favorite 0
votes 0
answers 0
views 1168

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... view more
submited by :- on 2013-05-30 14:46:42

favorite 0
votes 0
answers 0
views 1055

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.... view more
submited by :- on 2013-05-30 14:57:33

favorite 0
votes 0
answers 1
views 1054

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... view more
submited by :- on 2013-05-30 14:56:26

favorite 0
votes 0
answers 1
views 1041

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.... view more
submited by :- on 2013-05-30 14:58:11

favorite 0
votes 0
answers 0
views 1001

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 experienc... view more
submited by :- on 2013-05-30 14:47:45

favorite 0
votes 0
answers 0
views 1001

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 \%SystemRoo... view more
submited by :- on 2013-05-30 14:57:01

favorite 0
votes 0
answers 0
views 983

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# ... view more
submited by :- on 2013-05-30 14:58:43

favorite 0
votes 0
answers 0
views 967

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 ... view more
submited by :- on 2013-05-30 14:54:51

favorite 0
votes 0
answers 0
views 932

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... view more
submited by :- on 2013-05-30 14:51:37

favorite 0
votes 0
answers 0
views 921

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. Serve... view more
submited by :- on 2013-05-30 14:54:10

favorite 0
votes 0
answers 0
views 914

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, ... view more
submited by :- on 2013-05-30 14:51:59

favorite 0
votes 0
answers 0
views 875

What is default script time out value, and how you can change this value?

The default value is 90 seconds and you can change this value by using Server.ScriptTimeout = <value> asp .net interview question for fresher and experience.... view more
submited by :- on 2013-05-25 15:13:23

favorite 0
votes 0
answers 0
views 865

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 ... view more
submited by :- on 2013-05-30 14:52:26

favorite 0
votes 0
answers 0
views 833

How can you download an ASP page output in excel format.

Set page Response.Content property to excel.asp .net interview question for fresher and experience.... view more
submited by :- on 2013-05-25 15:11:21

favorite 0
votes 0
answers 0
views 820

How do you handles errors in asp?

By using VB Script Error objects, On error goto <Label>, On Error Resume Nextasp .net interview question for fresher and experience.... view more
submited by :- on 2013-05-25 15:12:34

favorite 0
votes 0
answers 0
views 819

Difference between thread and process?

Thread - is used to execute more than one program at a time.process - executes single program C# .net interview question for fresher and experiences.... view more
submited by :- on 2013-05-30 14:39:26


.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.