Buy Questpond's video subscriptions on
huge discount
.
Online: 12372
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
> ASP.NET
ASP.NET Interview Questions and Answers (1544) - Page 10
Latest and authentic Interview questions. You can also
post an interview question
and
win monthly prizes
as well as gain community
credit points
.
1544 records found.
Post
|
Interview Experiences
|
Interview FAQs
|
Online Interviews
|
Exclusive Questions
Get 650+ Questpond's Interview videos on discount
Loading ...
What is LINQ
NOTE: This is objective type question, Please click question title for correct answer.
You need to obtain performance information about your Web Application. You should use which of the following?
NOTE: This is objective type question, Please click question title for correct answer.
What launch conditions do Web Setup Projects include by default?
By default, Web Setup Projects check for IIS and the .NET Framework.
What are the four phases of a Web Setup Project deployment?
Install, Commit, Rollback, and Uninstall.
Is it possible to update a connection string stored in the Web.config file programatically? If Yes, then how?
Yes.
Create a Configuration object. Then, update the connection string using the ConnectionStrings collection. Finally, call Configuration.Save.
You catch an unhandled exception in a Page_Error handler. How can you access the last error?
NOTE: This is objective type question, Please click question title for correct answer.
What is the difference between Postback and callback?
Callback send a request to the web page from the client script. A client side function will send request to the server and a marked method is invoked on the
server. It does the processing on the server and returns the result back to the client. To enable client side callbacks, ICallbackEventHandler interface needs to be used and one need to implement RaiseCallBackEvent & GetCallBackResult function.
Where Postback sends the form data to the server. The server processes the data and sends it back to the browser. The page goes through its full life cycle and is rendered on the browser.
Callback does not redraw the page where postback does.
which namespace is used to implement active directory services?
NOTE: This is objective type question, Please click question title for correct answer.
In an ASP.NET website, when the web.config file is getting called?
NOTE: This is objective type question, Please click question title for correct answer.
What is the Difference between RegisterStartupScript and RegisterClientScriptBlock?
RegisterStartupScript Places the script at the bottom of the asp.net page instead of at the top. and RegisterClientScriptBlock inserts script immediately below the opening tag of the Page . means after <form> tag.
By Default, ASP.NET does not allow HTML tags to be sent to server via client side due to security reason. Which property needs to be set that allows HTML tags to be processed by server?
ValidateRequest
Property needs to be set to false. By default it's true so it does not allow unencoded HTML tags to be processed at server. It can be set at page level or at application level via web.config.
When file upload control is used, you can add maximum 4 mb size of the file. Using which property one can extend the limit of file size?
MaxRequestlength
Property needs to be set. It takes value in KB. It can support max 2GB file.
For a blank ASP.NET Page or ViewState Disabled page, will there be any value stored in the _VIEWSTATE field? Note : The Viewstate of an ASP.NET page is created during the page life cycle, and saved into the rendered HTML using in the "__VIEWSTATE" hidden HTML field.
Answer is
YES.
The reason is that ASP.NET Page itself stores some bytes of information into the _VIEWSTATE field.
If for a Compare Validator control, ControlToCompare and ValueToCompare properties are set, then which property will take precedence?
The ControlToCompare property takes precedence.
What is the difference between ListBox (Filled with data) and DropDownList (Filled with data), in terms of SelectedIndex property?
The default value of the SelectedIndex property of the Listbox is -1, which indicates that no item is selected in the Listbox. However, the DropDownList control overrides this property and sets the default value to 0, which indicates the first item in the list.
Does ViewState is responsible for maintaining data across the Page Post Back for Postback controls (like textbox, dropdownlist) and non-postbackcontrols(like label)?
It is false. For NonPostback controls it is true but for postback controls, ASP.NET retrieves their values one by one from the HTTP request and copies them to the control values while creating the HTTP response.
Which component is required for all pages that use Web Parts?
NOTE: This is objective type question, Please click question title for correct answer.
How can you define a control property using a global resource at design time?
NOTE: This is objective type question, Please click question title for correct answer.
What can you do to make a Web page more useful to a user who does not use a mouse?
There are number of things which can be done so that Site can be accessed without a mouse.
1.Provided access keys for all the controls.You can use access keys for Web controls using AccessKey property.
2. Define Logical Tab order.
3. Specify default button on the form.
4. Set default focus on the form in a logical location where data entry normally begins.
If a users has disabled cookies in his browsers, what can be done to enable forms authentication?
Use the AutoDetect setting.
1
...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
...
78
More ASP.NET Exclusive Interview Questions & Answers here
Found this useful, bookmark this page to the blog or social networking websites.
Bookmark It
Interview Questions and Answers Categories
.NET Certifications
.NET Core
.NET Framework
ADO.NET
AI ML
Android
Angular
AngularJS 1x
Aptitute Test
ASP.NET
ASP.NET AJAX
ASP.NET Core
ASP.NET MVC
ASP.NET Web API
Aurelia
Azure
Best Practices
BizTalk Server
Bootstrap
C#
Cloud
CMS
CSS 3
Data Structures & Algorithms
Design Pattern & Practices
DotNetFunda.Com
Entity Framework
Error and Solution
F#
Function Points (FPA)
HR
HTML 5
IIS
Interview Questions
JavaScript
jQuery
Kinect
LightSwitch
LINQ
Management
Mobile Development
MSBI (SSIS, SSRS, SSAS)
Mule
Networking
News and Community
Node.js
NoSql
OOPS
Oracle
Others
PostgreSQL
PowerShell
Product Reviews
Project Management
Python
QA (Testing)
R Language
Regular Expressions
SEO
SharePoint
SignalR
Silverlight
Sql Server
TypeScript
UML
VB.NET
Visual Studio
WCF
Web Analytics
Web Services, Remoting
Windows 8
Windows Forms
Windows Metro
Windows Phone
WPF
WWF
XML