Buy Questpond's video subscriptions on
huge discount
.
Online: 1848
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 30
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 the co-relation and difference between HTTP handlers and HTTP modules?
The co-relation between HTTP handler and HTTP module is both are an integral part of the ASP.NET application. For each request is being send by the user for processing, the request will process by multiple HTTP modules and after that the request is processed by a single HTTP handler. When a request is processed by HTTP handler, then the request goes back to the user through HTTP modules.
The handlers are used to process individual endpoint requests made by the user. It returns a response to a request that is identified by a file name extension. It also enables ASP.NET application to process the HTTP URL extensions and is implementing the IHttpHandler interface, which is located in the System.Web namespace. These are analogous to Internet Server Application Programming Interface (ISAPI) extensions.
The modules are used to invoke all requests and responses made by the user. It is executed before and after the handler executes. It also enables user to modify each individual request. These modules implementing IHttpModule interface, which is located in the System.Web namespace.
What is the difference between Named skins and Default skins?
When you are applying any theme to a page, then by default the Default skin applies to all controls of same type to that page. This skin is default for a control if it does not have SkinID attribute. Suppose you create a default skin for a Calendar control, then the control skin applies to all Calendar controls on pages that use the theme.
But the named skin controls have their SkinID property. It is not applying skin attributes automatically for controls by type, but it facilitates to apply explicitly a named skin to a control by changing the control's SkinID property. It allows you to set different skins for different instances of the same control in an application.
Explain 3 levels at which a theme can be applied for a web application?
•
At page level
- Use the Theme or StyleSheetTheme attribute of the @ Page directive.
•
At application level
- It can be applied to all pages in an application by setting the <pages> element in the application configuration file.
•
At web server level
- It define the <pages> element in machine.config file. This will apply the theme to all the web applications on that web server.
What is the difference between themes and CSS?
• In case of CSS you can define only style properties but a theme can define multiple properties of a control not just style properties such as you can specify the graphics property for a control, template layout of a GridView control etc.
• The CSS supports cascading but themes does not support. The CSS cannot override the property values defined for a control but any property values defined in a theme, the theme property overrides the property values declaratively set on a control, unless you explicitly apply by using the StyleSheetTheme property.
• You can apply multiple style sheets to a single page but you cannot apply multiple themes to a single page. Only one theme you can apply for a single page.
What is the Difference between Internal and Protected Internal Access Modifiers?
Internal :
It can be accessed by any code in the same assembly but cannot be accessable in another assembly
Protected Internal :
It can be accessed by any code in the same assembly, or by any derived class in another assembly. For a particular project.
Where does Static variables store ?
Static variables are stored on the Heap of the memory. It is not dependent on whether it is declared within a reference type or a value type.
These variables will be in the memory till the time program ends.
Which of the following is false regarding Constructors? a)There can be only one static constructor in the class b)The Static constructor should be without parameters c)Static constructor can be used to intialize both Static members and nonStatic members d)There should be no access modifier in static constructor definition
NOTE: This is objective type question, Please click question title for correct answer.
When were Partial Methods intorduced ? (FrameWork )
NOTE: This is objective type question, Please click question title for correct answer.
What is the use of DIAGNOSTICS namespace in C#.Net?
It is a collection of classes which makes two options available to the development of any application they are ...
1) It will enable to Debug the application
2) It will allow to follow the execution of the application.
What is Screen Scraping ?
It means reading the contents of the WebPage.
Let us assume www.rediff.com website. If we browse into that site the interface which we could see includes different controls but we cannot see what is the URL of those links and what are the properties of those controls .
What Screen Scraping does is that it will pull the HTML related data into the webpage.
What is the use of DataSet.CaseSensitive property?
If the CaseSensitive property of a DataSet is set to true, then the string comparisons for all the DataTables within dataset will be case sensitive. By default the CaseSensitive property is always false.
How you can roll back all the changes made to a DataSet when it was created?
By invoking the
DataSet.RejectChanges()
method, you can undo or roll back all the changes made to a DataSet when it was created.
Describe the life cycle of a web application? When are webforms instantiated and how long do they exist?
A Web application starts with the first request for a resource with in the application’s boundaries. Web forms are instantiated when they are requested. They are processed by the server and are abandoned immediately after the server sends its response to the client. A web application ends after all client sessions end.
How do you declare an unnamed procedure within .NET?
Use the
DllImport
attribute or a visual c# .Net declare statement to declare an unmanaged procedure for use with a .NET assembly. The
DllImport
attribute is found in the
System.Runtime.InteropServices
namespace.
In order to apply .net Remoting what are the essential requirements?
NOTE: This is objective type question, Please click question title for correct answer.
Main advantage of URL Re-Writting ?
There are 3 different advantages of URL Re-Writting they are -----
1) It would make the URL quite simple and understandable for this we need to avoid
( =, ? ) in query string
2) Increase the Rank of the page through dynamic URL's
3) No extension is shown.(Security Aspect)
How many different types of triggers available ? what are they?
There are mainly 3 different types of triggers they are
DML Triggers
The Database operations could be done by using Insert,Update,Delete
In this there are 2 different options a) After b) Insted Of
DDL Triggers
The Database operations that could be done using this are Create,Alter,Drop
CLR Triggers
User Defined Triggers.
Lets us assume that we are deploying a web site to a server managed by a hosting company , i only access we have to server is FTP , we need to pre-compile and deploy the website without its source files . So now what can be used to resolve this?
NOTE: This is objective type question, Please click question title for correct answer.
How can you assign a Master Page dynamically?
You can assign the master page dynamically with the help of Page class property called
MasterPageFile
. You can assign this when the page is in PreInit stage. Below is the sample code to assing master page dynamically.
void Page_PreInit(Object sender, EventArgs e)
{
this.MasterPageFile = "~/MasterPage.master";
}
Define Session object?
The Session objects are non-persistant and it is not strongly typed. The Session objects uses the In Proc, Out Of Process or SQL Server Mode to store information. It is not only allowed for authenticated users but also allows to the unauthenticated users.
1
...
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
...
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