Professional Documents
Culture Documents
NET
By Kajal Gada
What is ASP?
• ASP stands for Active Server Pages
• ASP is a Microsoft Technology
• ASP is a program that runs inside IIS
• IIS stands for Internet Information Services
• Active Server Pages or ASP, as it is more commonly known, is a
technology that enables you to make dynamic and
interactive web pages.
• Any web pages containing ASP cannot be run by just simply
opening the page in a web browser. The page must be
requested through a web server that supports ASP, this
is why ASP stands for Active Server Pages, no server, no
active pages.
•
What is an ASP File?
An ASP file is just the same as an HTML file
An ASP file can contain text, HTML, XML, and scripts
Scripts in an ASP file are executed on the server
An ASP file has the file extension ".asp“.
How Does ASP Differ from HTML?
When a browser requests an HTML file, the server returns the file.
When a browser requests an ASP file, IIS passes the request to the ASP
engine. The ASP engine reads the ASP file, line by line, and
executes the scripts in the file. Finally, the ASP file is returned to
the browser as plain HTML
What can ASP do for you?
• Dynamically edit, change, or add any content of a Web
page.
• Respond to user queries or data submitted from HTML
forms.
• Access any data or databases and return the results to a
browser.
• Customize a Web page to make it more useful for individual users.
• The advantages of using ASP instead of CGI and Perl, are those of
simplicity and speed.
• Provide security - since ASP code cannot be viewed from the
browser.
• Clever ASP programming can minimize the network traffic.
Difference between ASP & ASP.NET
ASP ASP.NET
it’s rubbish!!!
What is a .NET Technology ?
• Microsoft's .NET technology is a technology intended to
connect. What to connect? Well the whole thing that can be
linked through software - people, structures, computers, and
extra things as well as devices.
• It is a top rank domain, at the start designed to be used by
Internet Service Providers (ISP), but now it has extended and
everybody can create use of a .NET domain. It uses the Internet
domain Naming System (DNS) and it is a contraction of the word
'Network'.
• A main part of the .NET technology and structure is the ASP.net
set of technologies. These web development technologies are
used in the making of Websites and net services working on
the .NET infrastructure.
Microsoft .NET Framework
C# VB.NET J# C++ …
Data and XML Classes
Base Framework Classes
Common Language Runtime
What is .NET framework ?
• The .NET Framework is the infrastructure for the Microsoft
.NET platform.
• A part of Microsoft.NET is the .NET Frameworks.
• .NET framework is a cluster of different technologies:
§ .NET Languages – VB.Net, C #, J# etc .
§ CLR – runtime engine that executes all programs & provides services
like automatic memory management, security, optimization & garbage
collection.
§ Class Library – ADO.Net, Windows Forms etc. prebuilt set of
functions.
§ ASP. Net – platform services that allow you to program web
applications & web Services.
§ Visual Studio.Net – optimal development tool-contains rich set of
productivity and debugging features.
3 main parts:
• Programming languages:
▫ C# (Pronounced C sharp)
▫ Visual Basic (VB .NET)
▫ J# (Pronounced J sharp)
▫ And many more…
• Server technologies and client technologies:
▫ ASP .NET (Active Server Pages)
▫ Windows Forms (Windows desktop solutions)
▫ Compact Framework (PDA / Mobile solutions)
• Development environments:
▫ Visual Studio .NET (VS .NET)
▫ Visual Web Developer.
Introduction to ASP.NET
• ASP.NET is Microsoft’s platform for developing web
applications.
• ASP.NET is a unified Web platform that provides all the services
necessary for you to build enterprise-class applications.
• ASP.NET is built on the .NET Framework, so all .NET Framework
features are available to ASP.NET applications.
• Your applications can be written in any language that is
compatible with the common language runtime (CLR),
including Visual Basic and C#.
• Using ASP.NET, you can create e-commerce shops, data-driven
portal sites, and just about anything else you can find on the
Internet.
•
•
Contnd…
• .NET Suite
▫ .NET products – XML
▫ .NET Services – Web Service(MyService) – based on Microsoft’s
Passport Authentication.
▫ .NET Framework – foundation 4 Designing, Developing & Deploying
applications.
•
Versions till now
All in all, there have been four major releases of ASP.NET:
• ASP.NET 1.0: This first release created the core ASP.NET platform
and introduced a wide range of essential features.
• ASP.NET 1.1: This second release added performance tune-ups
and bug fixes, but no new features.
• ASP.NET 2.0: This third release piled on a huge set of new features,
all of which were built on top of the existing ASP.NET plumbing. The
overall emphasis was to supply developers with prebuilt goodies that
they could use without writing much (if any) code. Some of the new
features included built-in support for website navigation, a theming
feature for standardizing web page design, and an easier way to pull
information out of a database.
Contnd…
• ASP.NET 3.5: This fourth release keeps the same basic engine as
ASP.NET 2.0, but adds a few frills and two more dramatic changes.
The most significant enhancement is the ASP.NET AJAX toolkit, which
gives web developers better tools for creating highly responsive web
pages that incorporate rich effects usually seen in desktop applications
(such as drag-and-drop and auto complete). The other innovation is
support for LINQ, a set of language enhancements included with
.NET 3.5 that allows you to search in-memory data in the same way
that you query a database.
•
Page and Controls Framework
• The ASP.NET page and controls framework is a programming
framework that runs on a Web server to dynamically produce
and render ASP.NET Web pages.
• ASP.NET Web pages can be requested from any browser or client
device, and ASP.NET renders markup (such as HTML) to the
requesting browser. (In short it is not browser specific)
• As a rule, you can use the same page for multiple browsers, because
ASP.NET renders the appropriate markup for the browser
making the request.
• However, you can design your ASP.NET Web page to target a
specific browser, such as Microsoft Internet Explorer 6, and
take advantage of the features of that browser.
Contnd…