Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Dynamic Pages
Offers highly personalized and customised visitor options.
Database access improves the personalized experience (as opposed to using just client side
cookies)
Scripts can read in data sources and display it differently depending on how it is run.
Can create the illusion of being updated regularly using time and date sensitive routines (or even
randomisers) to display pre-written text.
XML, Extensible Markup Langage is the format for exchanging data between Internet
Application.
What is ISAPI?
ISAPI stands for Internet ServerApplication Programming Interface, is a specification that allows
developers to extend IIS by writing components that proces raw HTTP requests.
An ISAPI components ends up as DLL that IIS directs all requests and responses through.
ISAPI can be written only in C++, wherein httpHandler can be written using any .Net compatible
language.
Explain ASP.NET?
ASP.NET is the latest version of Microsoft's Active Server Pages technology (ASP).
ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating dynamic
and interactive web pages.
What is the difference between .Net2000 and .Net2005(features)? Which one is better?
.net 2005 is better as it has many additional functionalities.in .net 2000,there was not the login
control...but in 2005 it is.similarly many more functions is added in 2005.
This online presentation about .NET assemblies helps the webmasters to know about the three
tier architecture and about .NET assemblies. The author describes the real need of the three-tier
architecture. The author divides the application into three layers named as Presentation, Business
Logic and Database. This article describes each with its pictorial representation given.
The author defines the assemblies and highlights the benefits of .NET assemblies. The author
also discusses about the two developments - Code behind and Custom controls. The author tells
that by generating the pre-compiled libraries of IL, the users could improve the performance of
their applications. This gives a solution to the beginners thirst to know about .NET assemblies.
This article deals with assemblies and their implementation in .NET. The main content of this
article is about implementing a simple .NET assembly. In ASP.NET web applications, the users
might employ many pre-built assemblies. The author helps by teaching the method of creating
their own assemblies. One such creation of the component which would facilitate the users with
some options to be viewed as a message or information on the screen. The sample source code is
given along with this article.
Explain What is the Difference between web application and enterprise application?
Web applications are stored on a server and delivered to users over the Internet. A Web
application is usually a three-tier structure, comprising a User Service tier (allowing user access
to the application), a Business Service tier (allowing the user to carry out complex activities) and
a Data Service tier (which allows data storage and retrieval).
An application that conforms to the Java 2 Platform Enterprise Edition specification.
Explain What is an Application Domain?
Operating systems and runtime environments provide some form of isolation between
applications. This isolation is necessary to ensure that code running in one application cannot
adversely affect other, unrelated applications
The REFLECTION is used to read the metadata information like(type, reference and methods).
Which is derived from system.assembly.reflection class object.
in c# memory is divided in five blocks stack,heap,Global,static,& the code block..all the objects
created in the heap block(the total size of heap block is 64 mb)whn the heap block is about to full
the gc(garbaze collector)automatically invokes & it deletes all those objects which are not in use
or not pointing anywhere..in other words we can say dat the GC free the memory by deleting the
unused objects or references.
a user never know when GC runs or invokes becz it runs automatically when d heap memory is
going to full..
GC takes cares of heap block not stack block so it is good for the user to create any number of
objects without care of memory. c# launches new features of garbage collection before c# (in any
languages like c or c#)whn a user create a object it thinks first about memory and after dat its
user responsibility to free d memory bt this is not d case in c# bcoz GC automatically takes cares
of MEMORY MANAGMENT
The code which are all run under the CLR(Common Language Runtime) is called managed code.
The code which starts with unsafe doesn't run under CLR, called unmanaged code.
managed code is the safe code that couldnot make any harmful activities knowingly or
unknowingly to the developer.
managed code is the secured harmless code without the developers knowledge.
ASP.NET pages are complied, not interpreted. A binary executable is compiled upon the first
request to the page. This image is stored in an in-memory cache on the web server, and
subsequent request to this page use this executable to service the request.
The Framework provides a very clean separation of code from content. With ASP, because the
HTML is generated as the page is interpreted, your page logic must be embedded into the page at
the location where you want the HTML generated by this logic to be output. With ASP.NET, no
HTML is generated until all of the code in your page has finished executing. The entire task of
HTML generation is done in the page?s rendering step, which uses the properties for all of us
who consider script writing and HTML generation a poor substitute to sitting down and writing
real code.
ASP.NET Framework maintains state for you. Do you ever have to post of the server to apply
validation logic to a data entry HTML form? When there?s a problem, you must write code to
repopulate every input on your HTML form. You must also execute script inline to add validation
messages next to the fields that have errors. The resulting code is often a tangled mess. If the
business logic changes, that?s a tough page to maintain. With the ASP.NET Framework, this state
maintenance is done for you. The fields maintain their value without a single line of code written
by you. This applies not only to simple text inputs but also to SELECT lists, check boxes, radio
buttons, and other input types on your form. Built-in validation controls allow you to enforce
your business logic by adding a single tag to your page and simply checking the Page. Is Valid
property when it posts to the server.
ASP.NET runs events on the server. In ASP, because of the amount of script that must be mixed
with the HTML, it?s common to split a single functional area across several pages. One page
may collect data from a user, whereas another accepts the HTTP post and updates your relational
data, telling your user the result of the operation. Although its possible to put this functionality
into a single ASP page you do so at the risk of needing to maintain a garbled mess of code over
the long haul. Breaking these functions into separate pages causes the number of files in your
web site to balloon. With ASP.NET, you can set up server side event traps
ASP.NET provides a consistent event model. With ASP, script is executed on the page in a top-
down manner. Although it?s possible to put your script within functions that you call from the
page body, there?s no event model that fires at specific points in the lifecycle of your page. With
ASP.NET, this event model has been added. Most importantly, there?s an event fired whenever
your page. With ASP.NET, this event your page begins to load. This is very much like the
from_Load event in VB. The page load event can be trapped in a script tag or from your code
behind the page. This gives you a consistent model for setting up your output.
script is executed on the page in a top-down manner. Although it?s possible to put your script
within functions that you call from the page body, there?s no event model that fires at specific
points in the lifecycle of your page. With ASP.NET, this event model has been added. Most
importantly, there?s an event fired whenever your page
Explain serialization?
SERIALIZATION: It is the process of converting the objects into stream of bytes which is used
for Web Services or Remoting. There are 2 types of serializers present
searialization means we can do changes in a class object & these changes are saved somewhere
means this object state is saved smwhere in memory now whnever another object of dis class is
created by d user dis new object automatically receives all the values of the previous object
becoz previous object(state) value are already stored somewhere
CAS is a part of .NET security model that determines whether a piece of code is allowed to run
and what resources it can use while running,eg:CAS will allow a application to be read but
cannot delete it.
2. Windows Form based applications: These refer to traditional rich client applications.
3. Console applications: These refer to traditional DOS kind of applications like batch scripts.
4. Component Libraries: This refers to components that typically encapsulate some business
logic.
5. Windows Custom Controls: As with traditional ActiveX controls, you can develop your own
windows controls.
6. Web Custom Controls: The concept of custom controls can be extended to web applications
allowing code reuse and modularization.
7. Web services: They are ?web callable? functionality available via industry standards like
HTTP, XML and SOAP.
8. Windows Services: They refer to applications that run as services in the background. They can
be configured to start automatically when the system boots up.
For page label tracing in the page directive write the following
<@page trace="True">
and if you want show some message then either wrire trace.write(message) or trace.warn(some
warning message)
IL is a intermediate language, which is created when you compile the .net program. This is also a
object oriented language. This makes cross language inheritance.
c#:
C# is a new OOPs language which is developed by Microsoft. This language gives flexibility,
mordern, easy to use.
c# is one of the programming language defined as "Type safe version of c with oops" developed
by Microsoft corporation.
IL(Intermediate Language) is a code which can be converted by .net to support the cross
language support.
(That is whatever the language like c#, vb, c++,j# is used to program in .net that code is
converted into IL which is common for all .net platform supporting languages before the
execution, it supports the cross language support in .net platform)
What is MFC?
MFC provides stricter type checking for the return and parameter types of message handler
functions. This new behavior notifies the developer of potential problems by flagging potentially
unsafe message handlers with an error message. MFC now uses static casts for ON_MESSAGE,
ON_REGISTERED_MESSAGE, ON_THREAD_MESSAGE, and
ON_REGISTERED_THREAD_MESSAGE.
What is Marshalling?
Marshalling is the process of gathering data from one or more applications or non-contiguous
sources in computer storage, putting the data pieces into a message buffer, and organizing or
converting the data into a format that is prescribed for a particular receiver or programming
interface.
Explain MFC?
MFC provides stricter type checking for the return and parameter types of message handler
functions. This new behavior notifies the developer of potential problems by flagging potentially
unsafe message handlers with an error message. MFC now uses static casts for ON_MESSAGE,
ON_REGISTERED_MESSAGE, ON_THREAD_MESSAGE, and
ON_REGISTERED_THREAD_MESSAGE.
2.
Click Next.
3.
In the Alias box, type a name for the virtual directory. (Choose a short name that is easy to type
because the user types this name.)
4.
Click Next.
5.
In the Path box, type or browse to the physical directory in which the virtual directory resides,
and then click Next.
6.
Under Allow the following permissions, select the check boxes for the access permissions you
want to assign to your users, and then click Next.
Important
For security reasons, when selecting access permissions, consider allowing only the default Read
permission. By restricting permissions in this way, you can help avoid attacks against your Web
site by malicious users. For more information about setting access permissions, see Securing
Virtual Directories and Access Control in Help and Support Center for Windows Server 2003.
7.
Click Finish. The virtual directory is created below the currently selected folder level.
2.
Right-click the folder you want to be a virtual directory, and click Sharing and Security.
3.
Click the Web Sharing tab.
4.
Click Share this folder.
5.
In the Alias box, type the name for the virtual directory.
6.
Click OK twice.
2.
In the Open box, type cmd, and then click OK.
3.
At the command prompt, type the following:
For more information about creating Web virtual directories by using the Iisvdir.vbs command
and its parameters, type the following at the command prompt: iisvdir /create /?.
2.
In the Open box, type cmd, and then click OK.
3.
At the command prompt, type the following:
1. In IIS Manager, expand the local computer, expand the Web Sites or FTP Sites folder, right-
click the site or folder within which you want to create the virtual directory, point to New, and
then click Virtual Directory. The Virtual Directory Creation Wizard appears.
2. Click Next.
3. In the Alias box, type a name for the virtual directory. (Choose a short name that is easy to
type because the user types this name.)
4. Click Next.
5. In the Path box, type or browse to the physical directory in which the virtual directory resides,
and then click Next.
6. Under Allow the following permissions, select the check boxes for the access permissions you
want to assign to your users, and then click Next.
Important
For security reasons, when selecting access permissions, consider allowing only the default Read
permission. By restricting permissions in this way, you can help avoid attacks against your Web
site by malicious users. For more information about setting access permissions, see Securing
Virtual Directories and Access Control in Help and Support Center for Windows Server 2003.
7. Click Finish. The virtual directory is created below the currently selected folder level.
Explain Difference between Dim Object as object AND dim obj as myform?
Dim object as object --> the general VB object was created
The first one is general object and second one is the specified object.
<option> <option>
if you are creating a drop down for City then
<select name="ddlcity" multiple=true>
<option value="ohio">ohio</option>
<option value="nyc">nyc</option>
In the same way u can create for any thing.In this drop down a person can select more than one
choice.If u want a user to restrict to only one value then don't set multiple=true
Soap has some methods to access programmeble application logic by get, and post method.
a client of web services has nothing to do with the internal logic of web services.
they only have to know how to send and get for xml request ie SOAP. while
web applications are accessible by clients and they are boud with assemblies.
what is the difference between webserviweb services are mechanism to acess remote
programmeble logical unit by using http and xml combinly called SOAP(simple object access
protocol)
Soap has some methods to access programmeble application logic by get, and post method.
a client of web services has nothing to do with the internal logic of web services.
they only have to know how to send and get for xml request ie SOAP. while
web applications are accessible by clients and they are boud with assemblies.
1)IIS Manager
2) Terminal Services
It is not necessary when the client and the server are on the same computer.
Explain Marshalling?
Marshalling is the process of gathering data from one or more applications or non-contiguous
sources in computer storage, putting the data pieces into a message buffer, and organizing or
converting the data into a format that is prescribed for a particular receiver or programming
interface.
<select name="sel">
<option>Val1<option>
<option>Val2<option>
</select>
How can we have different number of cells for each row of a table?
By setting the columnSpan property for cells of each row as required.
Can the validation be done in the server side? Or this can be done only in the Client side?
Client side is done by default. Server side validation is also possible in .NET. We can switch off
the client side and server side can be done only in .NET
What is ADO .NET and what is difference between ADO and ADO.NET?
ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database
where in I can use relationships between the tables and select insert and updates to the database. I
can update the actual database as a batch
Advantages of VB.NET?
1. First of all, VB.NET provides managed code execution that runs under the Common Language
Runtime (CLR), resulting in robust, stable and secure applications. All features of the .NET
framework are readily available in VB.NET.
2. VB.NET is totally object oriented. This is a major addition that VB6 and other earlier releases
didn't have.
3. The .NET framework comes with ADO.NET, which follows the disconnected paradigm, i.e.
once the required records are fetched the connection no longer exists. It also retrieves the records
that are expected to be accessed in the immediate future. This enhances Scalability of the
application to a great extent.
4. VB.NET uses XML to transfer data between the various layers in the DNA Architecture i.e.
data are passed as simple text strings.
5. Error handling has changed in VB.NET. A new Try-Catch-Finally block has been introduced
to handle errors and exceptions as a unit, allowing appropriate action to be taken at the place the
error occurred thus discouraging the use of ON ERROR GOTO statement. This again credits to
the maintainability of the code.
Making Proxy Assembly For ActiveX Control: First, a proxy assembly is made using AxImp.exe
(acronym for ActiveX Import) by writing following command on Command Prompt:
MyControl.dll
AxMyControl.dll
The first file MyControl.dll is a .Net assembly proxy, which allows you to reference the ActiveX
as if it were non-graphical object.
The second file AxMyControl.dll is the Windows Control, which allows u to use the graphical
aspects of activex control and use it in the Windows Form Project.
Adding Reference of ActiveX Proxy Assembly in your Project Settings: To add a reference of
ActiveX Proxy Assembly in our Project, do this:
For example, to determine what platform is used, a filter element is used that specifies how to set
the platform property based on what platform name is found in the User-Agent string.
Specifically, the machine.config file contains:
platform=Win95
platform=Win98
platform=WinNT
...
For example, if we wanted to add a database connection string parameter we could have a
Web.config file like so.
The .NET platform provides Common Type System to all the supported languages. This means
that all the languages must support the same data types as enforced by common language
runtime. This eliminates data type incompatibilities between various languages. For example on
the 32-bit Windows platform, the integer data type takes 4 bytes in languages like C++ whereas
in VB it takes 2 bytes. Following are the main changes related to data types in VB.NET:
. Under .NET the integer data type in VB.NET is also 4 bytes in size.
. VB.NET has no currency data type. Instead it provides decimal as a replacement.
. VB.NET introduces a new data type called Char. The char data type takes 2 bytes and can store
Unicode characters.
. VB.NET do not have Variant data type. To achieve a result similar to variant type you can use
Object data type. (Since every thing in .NET including primitive data types is an object, a
variable of object type can point to any data type).
. In VB.NET there is no concept of fixed length strings.
. In VB6 we used the Type keyword to declare our user-defined structures. VB.NET introduces
the structure keyword for the same purpose.
Declaring Variables
Consider this simple example in VB6:
Dim x,y as integer
Strong names guarantee name uniqueness by relying on unique key pairs. No one can generate
the same assembly name that you can, because an assembly generated with one private key has a
different name than an assembly generated with another private key.
When you reference a strong-named assembly, you expect to get certain benefits, such as
versioning and naming protection. If the strong-named assembly then references an assembly
with a simple name, which does not have these benefits, you lose the benefits you would derive
from using a strong-named assembly and revert to DLL conflicts. Therefore, strong-named
assemblies can only reference other strong-named assemblies.
1. Using the Assembly Linker (Al.exe) provided by the .NET Framework SDK.
2. Using assembly attributes to insert the strong name information in your code. You can use
either the AssemblyKeyFileAttribute or the AssemblyKeyNameAttribute, depending
Version number: A major and minor version number, and a revision and build number. The
common language runtime uses these numbers to enforce version policy.
Culture: Information on the culture or language the assembly supports. This information should
be used only to designate an assembly as a satellite assembly containing culture- or language-
specific information. (An assembly with culture information is automatically assumed to be a
satellite assembly.) Strong name information: The public key from the publisher if the assembly
has been given a strong name. List of all files in the assembly:
sn k
In this command, file name is the name of the output file containing the key pair. The following
example creates a key pair called sgKey.snk.
sn -k sgKey.snk
What is the difference between "using System.Data;" and directly adding the reference
from "Add References Dialog Box"?
When u compile a program using command line, u add the references using /r switch. When you
compile a program using Visual Studio, it adds those references to our assembly, which are
added using "Add Reference" dialog box. While "using" statement facilitates us to use classes
without using their fully qualified names.
System.Data.SqlClient.SqlConnection
But if u add a "using System.Data.SqlClient" statement at the start of ur code then u can directly
use SqlConnection class.
On the other hand if u add a reference using "using System.Data.SqlClient" statement, but don't
add it using "Add Reference" dialog box, Visual Studio will give error message while we
compile the program.
gacutil I
In this command, assembly name is the name of the assembly to install in the global assembly
cache.
In .NET, this data is contained in the header portion of a COFF-compliant PE and follows certain
guidelines; it contains information such as the assembly’s name, version, language (spoken,
not computera.k.a., culture), what external types are referenced, what internal types are exposed,
methods, properties, classes, and much more.
The CLR uses metadata for a number of specific purposes. Security is managed through a public
key in the PE’s header.
Information about classes, modules, and so forth allows the CLR to know in advance what
structures are necessary. The class loader component of the CLR uses metadata to locate specific
classes within assemblies, either locally or across networks.
Just-in-time (JIT) compilers use the metadata to turn IL into executable code.
A common example is placing a Microsoft Word document on a Windows 2000 desktop. If the
document file has completed comments, author, title, or other Properties metadata, the text is
displayed as a tool tip when a user hovers the mouse over the document on the desktop. You can
use the Ildasm.exe utility to view the metadata in a PE. Literally, this tool is an IL disassembler.
1. Private Assemblies
2. Shared Assemblies
Private Assemblies:
The assembly is intended only for one application. The files of that assembly must be placed in
the same folder as the application or in a sub folder. No other application will be able to make a
call to this assembly. The advantage of having a private assembly is that, it makes naming the
assembly very easy, since the developer need not worry about name clashes with other
assemblies. As long as the assembly has a unique name within the concerned application, there
won't be any problems.
Shared Assemblies: If the assembly is to be made into a Shared Assembly, then the naming
conventions are very strict since it has to be unique across the entire system. The naming
conventions should also take care of newer versions of the component being shipped. These are
accomplished by giving the assembly a Shared Name. Then the assembly is placed in the global
assembly cache, which is a folder in the file system reserved for shared assemblies.
The MSIL Instruction Set Specification is included with the .NET SDK, along with the IL
Assembly Language Programmers Reference. If a developer wants to write custom .NET
programming languages, these are the necessary specifications and syntax. The CTS and CLS
define the types and syntax's that every .NET language needs to embrace. An application may
not expose these features, but it must consider them when communicating through IL.
Windows Authentication: This provider utilizes the authentication capabilities of IIS. After IIS
completes its authentication, ASP.NET uses the authenticated identity's token to authorize access.
To enable a specified authentication provider for an ASP.NET application, you must create an
entry in the applicati
ASP .NET has better language support, a large set of new controls and XML based components,
and better user authentication.
ASP .NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will
need some changes to run under ASP .NET. To overcome this problem,
ASP .NET uses a new file extension ".aspx". This will make ASP .NET applications able to run
side by side with standard ASP applications on the same server.
What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?
Remoting is a more efficient communication exchange when you can control both ends of the
application involved in the communication process. Web Services provide an open-protocol-
based exchange of information. Web Services are best when you need to communicate with an
external organization or another (non-.NET) technology.
How can you automatically generate interface for the remotable object in .NET with
Microsoft tools?
Use the Soapsuds tool to generate automatically interface for the remotable object in .NET with
Microsoft tools.
is functionally equivalent to
using (System.Drawing.Graphics canvas = new System.Drawing.Graphics())
{
//some code
} //canvas.Dispose() gets called automatically
ith these events, why wouldn't Microsoft combine Invalidate and Paint, so that you
wouldn't have to tell it to repaint, and then to force it to repaint?
Painting is the slowest thing the OS does, so usually telling it to repaint, but not forcing it allows
for the process to take place in the background.
What class does Icon derive from? Isn't it just a Bitmap with a wrapper name around it?
No, Icon lives in System.Drawing namespace. It's not a Bitmap by default, and is treated
separately by .NET. However, you can use ToBitmap method to get a valid Bitmap object from a
valid Icon object.
Before in my VB app I would just load the icons from DLL. How can I load the icons
provided by .NET dynamically?
By using System.Drawing.SystemIcons class, for example
System.Drawing.SystemIcons.Warning produces an Icon with a warning sign in it.
When displaying fonts, what's the difference between pixels, points and ems?
A pixel is the lowest-resolution dot the computer monitor supports. Its size depends on user's
settings and monitor size. A point is always 1/72 of an inch. An em is the number of pixels that it
takes to display the letter M.
VB.Net
1,Object-oriented Language
2,supports Threading
3,powerful Exception handling mechanism
4,having support for the console based applications
5,More than one version of dll is supported
6,supports the Disconnected data source by using Dataset class
The authentication option for the ASP.NET application is specified by using the tag in the
Web.config file, as shown below:
other authentication options
1. WINDOWS AUTHENTICATION Schemes
I. Integrated Windows authentication
II. Basic and basic with SSL authentication
III. Digest authentication
IV. Client Certificate authentication
2. FORMS AUTHENTICATION
You, as a Web application developer, are supposed to develop the Web page and authenticate the
user by checking the provided user ID and password against some user database
3.PASSPORT AUTHENTICATION
A centralized service provided by Microsoft, offers a single logon point for clients.
Unauthenticated users are redirected to the Passport site
4 NONE/CUSTOM AUTHENTICATION:
If we don't want ASP.NET to perform any authentication, we can set the authentication mode to
“noneâ€. The reason behind this decision could be: We don't want to authenticate our users,
and our Web site is open for all to use. We want to provide our own custom authentication
Tell me about Secure Socket Layer? How to make use of the technology?
Secure Sockets Layer (SSL) and Transport Layer Security (TLS), its successor, are cryptographic
protocols which provide secure communications on the Internet. There are slight differences
between SSL 3.0 and TLS 1.0, but the protocol remains substantially the same. The term
“SSL†as used here applies to both protocols unless clarified by context.
Explain how Viewstate is being formed and how it's stored on client in .NET?
The type of ViewState is System.Web.UI.StateBag, which is a dictionary that stores name/value
pairs. ViewState is persisted to a string variable by the ASP.NET page framework and sent to the
client and back as a hidden variable. Upon postback, the page framework parses the input string
from the hidden variable and populates the ViewState property of each control. If a control uses
ViewState for property data instead of a private field, that property automatically will be
persisted across round trips to the client. (If a property is not persisted in ViewState, it is good
practice to return its default value on postback.)
Group box
1) Captions can be displayed.
2) Cannot have a scroll bar
* Performance – there is no doubt that ADO.NET is extremely fast. The actual figures vary
depending on who performed the test and which benchmark was being used, but ADO.NET
performs much, much faster at the same tasks than its predecessor, ADO. Some of the reasons
why ADO.NET is faster than ADO are discussed in the ADO versus ADO.NET section later in
this chapter.
* Optimized SQL Provider – in addition to performing well under general circumstances,
ADO.NET includes a SQL Server Data Provider that is highly optimized for interaction with
SQL Server. It uses SQL Server's own TDS (Tabular Data Stream) format for exchanging
information. Without question, your SQL Server 7 and above data access operations will run
blazingly fast utilizing this optimized Data Provider.
In-Process Storage
The default location for session state storage is in the ASP.NET process itself.
To use the State Service, you need to edit the sessionState element in your ASP.NET application's
web.config file:
You'll also need to start the ASP.NET State Service on the computer that you specified in the
stateConnectionString attribute. The .NET Framework installs this service, but by default it's set
to manual start up. If you're going to depend on it for storing session state, you'll want to change
that to automatic start up by using the Services MMC plug-in in the Administrative Tools group.
If you make these changes, and then repeat the previous set of steps, you'll see slightly different
behavior: session state persists even if you recycle the ASP.NET process.
What is an interface and what is an abstract class? Please, expand by examples of using
both. Explain why?
In a interface class, all methods are abstract without implementation where as in an abstract class
some methods we can define concrete. In interface, no accessibility modifiers are allowed. An
abstract class may have accessibility modifiers. Interface and abstract class are basically a set of
rules which u have to follow in case u r using them(inheriting them).
What is .NET?
.NET is essentially a framework for software development.It is similar in nature to any other
software development framework (J2EE etc) in that it provides a set of runtime
containers/capabilities, and a rich set of pre-built functionality in the form of class libraries and
APIs
The .NET Framework is an environment for building, deploying, and running Web Services and
other applications. It consists of three main parts: the Common Language Runtime, the
Framework classes, and ASP.NET.
Which dll is required to translate XML to SQL in Internet Information Server (IIS)?
Microsoft.data.sqlxml.dll used to translate XML to SQL using Internet Information Server IIS
http://msdn.microsoft.com/library/default.asp?url=/library/ en-
us/vbcon/html/vbconwebusercontrolsvscustomwebcontrols.asp
When we go for html server controls and when we go for web server controls?
Server controls are a part of ASP.net. When a server control is used there will be an extra
overhead on the server to create the control at run time and accordingly set the values. HTML
controls are static controls and are easy to use. They are supported is ASP.net.
As a rule, if there is a corresponding HTML control available instead of the server control, you
should always go for the HTML control as it enhances the server performance and ensures faster
response. Server controls should be used when it is found that the available HTML controls are
not sufficient to achieve the task.
Why The JavaScript Validation Not Run on the Asp.Net Button But Run Successfully On
The HTML Button?
The Asp.Net Button Is post backed on the server & not yet Submit & when It goes to the server
its states is lost So if we r using JavaScript in our application so we always use the Input Button
in the asp Button
Which DLL translate XML to SQL in Internet Information Server (IIS)?
Sqlisapi.dll
DLL used to translate XML to SQL in Internet Information Server (IIS)