SlideShare a Scribd company logo
1 of 36
 Microsoft Coming to IUP!Microsoft Coming to IUP!
 Tuesday, April 8, 2003Tuesday, April 8, 2003
 5:00 P.M. Eberly Auditorium5:00 P.M. Eberly Auditorium
 Presentation to be given byPresentation to be given by
Microsoft RepresentativeMicrosoft Representative
 Food, drinks, and excellentFood, drinks, and excellent
door prizes available afterdoor prizes available after
presentationpresentation
 Presentation geared towardsPresentation geared towards
computer and non-computercomputer and non-computer
majors…Tell your friends!majors…Tell your friends!
. A G E N D A .
Sites vs Applications
Existing Technologies
. T e c h G L A N C E .
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Web Matrix
Closing Thoughts
Recap of .NET FundamentalsRecap of .NET Fundamentals
 .NET Framework consists of two.NET Framework consists of two
primary parts: .NET Class Libraries,primary parts: .NET Class Libraries,
Common Language RuntimeCommon Language Runtime
 Any language can be supported withAny language can be supported with
the addition of a language specificthe addition of a language specific
compilercompiler
 All .NET code is object orientedAll .NET code is object oriented
 Managed code is compiled to anManaged code is compiled to an
assembly (MSIL) by languageassembly (MSIL) by language
specific compilerspecific compiler
 Assemblies are compiled to nativeAssemblies are compiled to native
code by JIT compilercode by JIT compiler
. A G E N D A .
Sites vs Applications
Existing Technologies
. T e c h G L A N C E .
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Web Matrix
Closing Thoughts
Recap
AssemblyAssembly
Compilation And ExecutionCompilation And Execution
SourceSource
CodeCode
LanguageLanguage
CompilerCompiler
CompilationCompilation
Before installation orBefore installation or
the first time eachthe first time each
method is calledmethod is calledExecutionExecution
JITJIT
CompilerCompiler
NativeNative
CodeCode
CodeCode (IL)(IL)
MetadataMetadata
 AdaAda
 APLAPL
 Basic (Visual Basic)Basic (Visual Basic)
 C#C#
 CC
 C++C++
 Java Language (J#)Java Language (J#)
 COBOLCOBOL
 Component PascalComponent Pascal
(Queensland Univ of Tech)(Queensland Univ of Tech)
 ECMAScript (JScript)ECMAScript (JScript)
 Eiffel (Eiffel (MonashMonash
University)University)
 HaskellHaskell
(Utrecht University)(Utrecht University)
Current List of Language CompilersCurrent List of Language Compilers
 lcclcc
(MS Research Redmond)(MS Research Redmond)
 MondrianMondrian (Utrecht)(Utrecht)
 MLML
(MS Research Cambridge)(MS Research Cambridge)
 MercuryMercury
(Melbourne U.)(Melbourne U.)
 OberonOberon
(Zurich University)(Zurich University)
 Oz (Oz (Univ of Saarlandes)Univ of Saarlandes)
 PerlPerl
 PythonPython
 SchemeScheme
(Northwestern U.)(Northwestern U.)
 SmallTalkSmallTalk
Operating SystemOperating System
Common Language Runtime (CLR)
Inside the .NET FrameworkInside the .NET Framework
Base Framework
Data and XML
Web Services User Interface
VB C++ C#
ASP.NET
J# Python …
Secure, integrated class
libraries
•Unifies programming models
across languages
•Enables cross-language
integration
•Factored for extensibility
•Designed for tools
Secure, integrated class
libraries
•Unifies programming models
across languages
•Enables cross-language
integration
•Factored for extensibility
•Designed for tools
Common Language
Runtime
Executes code, maintains
security, handles component
“plumbing” and dependencies
Common Language
Runtime
Executes code, maintains
security, handles component
“plumbing” and dependencies
ASP.NET
High-productivity environment for
building and running Web
services
ASP.NET
High-productivity environment for
building and running Web
services
During the
presentation
look here for
an overview
of the
information
presented…
. A G E N D A .
Sites vs Applications
Existing Technologies
. T e c h G L A N C E .
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Building Web
Applications
with .NET
Unleash the power of the Web!
Web Matrix
Closing Thoughts
Chris Wastchak
Student Ambassador to Microsoft
Topics to be discussed
. A G E N D A .
Sites vs Applications
Existing Technologies
. T e c h G L A N C E .
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Web Matrix
Closing Thoughts
□ Existing Technologies
□ ASP .NET Explained
□ Inside ASP .NET
□ Overview of ADO .NET
□ Demos
Roadmap of Presentation
□ Web Matrix
□ Closing Thoughts
. A G E N D A .
Sites vs Applications
Existing Technologies
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
Web Sites vs. Web Applications
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites Applications
□ Essentially Static □ Antonym of Static! –
Very dynamic.
□ HTML based
document
□ HTML is only a means
to display content
□ Some Dynamic
abilities, but normally
a dull user experience
□ Some static content, but
mostly related to web
layout
□ Historically, difficult to
develop
Web Matrix
Closing Thoughts
. A G E N D A .
Sites vs Applications
Existing Technologies
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
CGI
□ Advantages
□ Supported on all platforms
□ Disadvantages
□ Poor performance (process per
client request)
□ Application logic tightly bound to
HTML/HTTP
□ Difficult to develop/maintain
Existing Technologies
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
Legacy ASP
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
Server-side Script Hosts
□ Legacy Active Server Pages (ASP)
□ Java Server Pages
□ Advantages
□ Easier Programming Model
□ Disadvantages
□ Poor performance (interpreted on the
server)
□ Non-extensible
□ CGI & Server-side
Script Hosts not the
answer
Existing Technologies
Web Matrix
Closing Thoughts
□ Rendering in different browsers
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
Legacy ASP
Web Matrix
Closing Thoughts
“Classic” ASP
□ Interpreted VBScript/JavaScript
□ Code and content in the same file
□ Simple procedural programming model
□ Limited to the functionality provided by
VBScript/JavaScript and the ASP Intrinsic
objects
□ Executed as one large function
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
Network
Browser-Client
Web Server
HTTP request
(form data, HTTP
header data)
Web Form
ASP page
(static HTML,
server-side logic)
Legacy ASP
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
Successes:
□ Access to COM components
□ ADO connectivity
□ Simple procedural programming model
□ Script-base: No compiling, just edit, save &
run
□ Support for multiple scripting languages
Problems:
□ Coding Overhead – too much grunt work!
□ Code readability – Code & Interface
intermingled
□ Reuse is difficult
□ DLL locking (aka DLL Hell)
□ ASP was a good start
Legacy ASP
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET OverviewASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
Networ
k
ASP.Net
ISAPI DLL
Hosting the .NET
Framework CLR
Webform/custom
application
Request and post-back
form information
HTML representation
of application UI
Web Server
Browser-Client
Managed Process
ASP .NET Overview
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET OverviewASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
New and exciting web application model
□ Built on the .NET Framework
□ Object oriented web application development,
as easy as building Visual Basic (or C#)
applications
□ Executes in native machine language
□ Development model loosely bound to HTML/HTTP
□ Like Legacy ASP, ASP.NET is a server-side
technology
□ Exposes .NET’s
power to the web!
ASP .NET Overview
Web Matrix
Closing Thoughts
□ Server controls automatically generate the
appropriate HTML for different browsers.
Just another fix…?
□ Evolution vs. Revolution
□ ASP.NET has been completely re-written on
top of the Http Run-time
□ Simplification of Development
□ ASP.NET allows a developer to leverage
existing knowledge to develop web applications
□ Simplification of Deployment
ASP .NET Overview
□ ”Just FTP and go”
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET OverviewASP .NET DEMO
Inside ASP .NET
ADO .NET
Sites vs Applications
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Web Matrix
Closing Thoughts
□ Side-by-side assemblies (XCopy)
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMOInside ASP .NET
ADO .NET
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Dynamically generates HTML to
indicate current date!
ASP .NET DEMO Sites vs Applications
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMOInside ASP .NET
ADO .NET
Existing Technologies
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
<% @Page Language="C#"
Inherits="TodayPage" Src="Today.cs" %>
<html>
<body>
<TITLE>Today</TITLE>
<H1 align="center">
Today is <%OutputDay();%>
</H1>
</body>
</html>
Today.aspx
Inline method call to OutputDay()
ASP .NET DEMO Sites vs Applications
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMOInside ASP .NET
ADO .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
using System;
using System.Web.UI;
public class TodayPage : Page {
protected void OutputDay() {
Response.Write (DateTime.Now.ToString("D")) ;
}
}
Today.cs
Defines TodayPage type
□ Derived from Page
□ Typical C# type declaration
□ Includes protected method OutputDay ()
ASP .NET DEMO Sites vs Applications
Existing Technologies
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NETADO .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Inside ASP .NET Sites vs Applications
Existing Technologies
Web Matrix
Closing Thoughts
Basics of an ASP .NET page
□ ASP .NET Directives
□ <%@ Page … %>
□ <%@ Register … %>
□ <%@ OutputCache … %>
□ etc…
□ ASP .NET code
□ in script blocks with the runat=“server”
attribute
□ In separate files specified with the
CodeBehind tag in the Page directive
□ Content, in the form of text and HTML tags
<%@ Page Language="C#" CodeBehind=“Hello.aspx.cs"<%@ Page Language="C#" CodeBehind=“Hello.aspx.cs"
Inherits=“HelloApp.Hello" %>Inherits=“HelloApp.Hello" %>
<html><html>
<body><body>
<form runat="server">Name: <asp:TextBox<form runat="server">Name: <asp:TextBox
id="txtName" runat="server“id="txtName" runat="server“
OnTextChanged="SayHello" />OnTextChanged="SayHello" />
</form></form>
<asp:Label id="lblHello" runat="server" /><asp:Label id="lblHello" runat="server" />
</body></body>
</html></html>
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NETADO .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Inside ASP .NET Sites vs Applications
Existing Technologies
Web Matrix
Closing Thoughts
Example: Hello.aspx
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NETADO .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Inside ASP .NET Sites vs Applications
Existing Technologies
Button
List Box
Text Box
ASP.NET
Browser-Client
Button
Code
TextBox
Code
ListBox
Code
Networ
k
Object oriented programming model
□ Event driven application model
□ Controls render their UI in HTML
More modular, readable & maintainable
then legacy ASP
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NETADO .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Inside ASP .NET Sites vs Applications
Existing Technologies
Web Matrix
Closing Thoughts
Introducing Web Forms
□ Web forms are a new way of managing web
user interfaces
□ A web form consists of server controls that can
be accessed programmatically
□ Web forms consist of all controls inside a form
tag with a runat=“server” attribute
□ Server controls automatically retain their state
across page requests
□ Web forms are event driven and allow the
programmer to handle events thrown by the
controls (like a button click)
□ Web forms are only the simplest facet of
ASP.NET
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NETADO .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Inside ASP .NET Sites vs Applications
Existing Technologies
A partial list of common controls
AdRotator
Button
Calendar
CheckBox
DataGrid
Hyperlink
Image
ListControl
Panel
Table
TextBox
RangeValidator
Label
LinkButton
□ Controls are objects
derived from:
System.Web.UI.Control
□ 3rd Party controls are
available!
□ Can be populated via
data binding
□ OO Model, Rapid
Development,
Extensible!
Web Matrix
Closing Thoughts
. A G E N D A .
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
□ CGI & Server-side
Script Hosts not the
answer
Legacy ASP
□ ASP was a good start
□ Exposes .NET’s
power to the web!
ADO .NET Existing Technologies
□ OO Model, Rapid
Development,
Extensible!
For Example:
□ E-Commerce websites (EBay!)
Virtually all interesting application require a structured,
persistent data store…
□ Personalized Portals or
Newsgroups
□ Even popular online email
services (Yahoo!, Hotmail…)
Sites vs Applications
ADO .NETWeb Matrix
Closing Thoughts
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
ADO .NET
□ OO Model, Rapid
Development,
Extensible!
Evolution of Data Access
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ODBC
□ OLE DB
□ DAO  RDO  ADO
ADO .NET has essentially merged
OLE DB, ODBC and ADO into a
single layer, providing a consistent
interface to work with.
□ ADO .NET merges
previous techniques
Web Matrix
Closing Thoughts
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
ADO .NET
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ADO .NET merges
previous techniques
ODBCDriver
ODBC
RDBMS
ODBC
OLE DB
RDBMS
.NET Data Provider
Connection
Command
Data Reader
Data Adapter
OLEDB
OLEDBProvider
SQL
Server
DataSourceofChoice
Application
Web Matrix
Closing Thoughts
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
ADO .NET
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ADO .NET merges
previous techniques
4 Primary Objects
□ Connection
□ Connects to data source
□ Command
□ Executes SELECT, INSERT, UPDATE
and DELETE commands
□ Data Reader
□ Forward-only, read-only stream of
data
□ Data Adapter
□ Connects a DataSet to a data source
Web Matrix
Closing Thoughts
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
ADO .NET
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ADO .NET merges
previous techniques
Anatomy of a DataSet…?
□ An in-memory representation of
a data source
□ Container for multiple
DataTables and DataRelations
□ Serialized to XML
□ Uses the Data Adapter to
connect to a database
Web Matrix
Closing Thoughts
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
ADO .NET
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Web Matrix
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
The DataSet Object ModelThe DataSet Object Model
DataSetDataSet
DataTableCollectionDataTableCollection
DataTableDataTable
DataColumnCollectionDataColumnCollection DataColumnDataColumn
DataRowCollectionDataRowCollection DataRowDataRow
DataRelationCollectionDataRelationCollection DataRelationDataRelation
ConstraintCollectionConstraintCollection ConstraintConstraint
DataTableDataTable
DataColumnDataColumn
DataRowDataRow
DataRelationDataRelation
ConstraintConstraint
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Web Matrix
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
Web Matrix
□ Lightweight (~ 1MB)
□ Easy to use
□ Free (no $$$) download
□ Community-oriented tool for
developing Web Applications with
ASP .NET
▫ Mobile Web App Designer ▫
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Web Matrix
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs. Applications
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
Web Matrix
Web
Matrix
VS
.NET
▫Team development ▫
▫ Debugging ▫
▫ Intellisense ▫
▫ Windows Forms Designer ▫
▫ Architect Tools ▫
▫ Project System ▫
▫ Control, add-in & code builder selection ▫
▫ FTP Host Support ▫
▫ Self-contained web Server ▫
▫ Instant Messaging Client ▫
▫ WYSIWYG Web Form Designer ▫
▫ Build and Consume Web Services ▫
▫ Integrated Data Designers ▫
Feature
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Web Matrix
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
Existing Technologies
Sites vs Applications
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
Web MatrixResources
□ Download it at www.asp.net
□ Guided Tour
□ Post questions on the forums
□ Send feedback!
□ Web Matrix -
lightweight but powerful
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
Closing Thoughts
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
Web Matrix
□ Web Matrix -
lightweight but powerful
Existing Technologies
Sites vs Applications
□ Build applications for ad-hoc and effective Web
reporting
□ Applications that work disconnected from the data
source and use XML to communicate with non-.NET
systems
□ General-purpose applications that take advantage
of the data abstraction of ADO.NET
□ Take advantage of code reusability, user controls,
code-behind, custom Web controls, and other time-
saving techniques
Beyond the TechTALK
Questions?Questions?
Please visitPlease visit www.www.sdcsdc..iupiup..eduedu
/outreach//outreach/msnetmsnet for morefor more
informationinformation
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
Web Matrix
□ Web Matrix -
lightweight but powerful
Existing Technologies
Sites vs Applications
Remaining .NET TalksRemaining .NET Talks
 Using XML Web Services in .NETUsing XML Web Services in .NET
 Tuesday, April 1, 2003Tuesday, April 1, 2003
 7:00 P.M. Stright 327/3297:00 P.M. Stright 327/329
. T e c h G L A N C E .
□ Create Dynamic Web
Applications
□ CGI & Server-side
Script Hosts not the
answer
□ ASP was a good start
□ Exposes .NET’s
power to the web!
□ OO Model, Rapid
Development,
Extensible!
. A G E N D A .
ASP .NET Overview
ASP .NET DEMO
Inside ASP .NET
Legacy ASP
ADO .NET
□ ADO .NET merges
previous techniques
Closing Thoughts
□ DataSet acts as the
heart of ADO .NET
Web Matrix
□ Web Matrix -
lightweight but powerful
Existing Technologies
Sites vs Applications

More Related Content

What's hot

Os Koziarsky
Os KoziarskyOs Koziarsky
Os Koziarsky
oscon2007
 
Test-driven language development
Test-driven language developmentTest-driven language development
Test-driven language development
lennartkats
 
Python Intro For Managers
Python Intro For ManagersPython Intro For Managers
Python Intro For Managers
Atul Shridhar
 
Object oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharpObject oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharp
Abefo
 
Migrating From Cpp To C Sharp
Migrating From Cpp To C SharpMigrating From Cpp To C Sharp
Migrating From Cpp To C Sharp
Ganesh Samarthyam
 
Integrated Language Definition Testing: Enabling Test-Driven Language Develop...
Integrated Language Definition Testing: Enabling Test-Driven Language Develop...Integrated Language Definition Testing: Enabling Test-Driven Language Develop...
Integrated Language Definition Testing: Enabling Test-Driven Language Develop...
lennartkats
 
WorkinOnTheRailsRoad
WorkinOnTheRailsRoadWorkinOnTheRailsRoad
WorkinOnTheRailsRoad
webuploader
 
Workin ontherailsroad
Workin ontherailsroadWorkin ontherailsroad
Workin ontherailsroad
Jim Jones
 

What's hot (20)

Overview of microsoft dot net platforms
Overview of microsoft dot net platformsOverview of microsoft dot net platforms
Overview of microsoft dot net platforms
 
Os Koziarsky
Os KoziarskyOs Koziarsky
Os Koziarsky
 
Test-driven language development
Test-driven language developmentTest-driven language development
Test-driven language development
 
Python Intro For Managers
Python Intro For ManagersPython Intro For Managers
Python Intro For Managers
 
Glance rebol
Glance rebolGlance rebol
Glance rebol
 
APIs and SDKs: Breaking Into and Succeeding in a Specialty Market
APIs and SDKs: Breaking Into and Succeeding in a Specialty MarketAPIs and SDKs: Breaking Into and Succeeding in a Specialty Market
APIs and SDKs: Breaking Into and Succeeding in a Specialty Market
 
Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)Oop lecture1-chapter1(review of java)
Oop lecture1-chapter1(review of java)
 
Object oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharpObject oriented-programming-in-c-sharp
Object oriented-programming-in-c-sharp
 
VClipse – Xtext-based IDE for the SAP Variant Configurator
VClipse – Xtext-based IDE for the SAP Variant ConfiguratorVClipse – Xtext-based IDE for the SAP Variant Configurator
VClipse – Xtext-based IDE for the SAP Variant Configurator
 
Remix Your Language Tooling (JSConf.eu 2012)
Remix Your Language Tooling (JSConf.eu 2012)Remix Your Language Tooling (JSConf.eu 2012)
Remix Your Language Tooling (JSConf.eu 2012)
 
Introduction to Java Part-2
Introduction to Java Part-2Introduction to Java Part-2
Introduction to Java Part-2
 
Migrating From Cpp To C Sharp
Migrating From Cpp To C SharpMigrating From Cpp To C Sharp
Migrating From Cpp To C Sharp
 
Ruby On Rails Introduction
Ruby On Rails IntroductionRuby On Rails Introduction
Ruby On Rails Introduction
 
Rails 101
Rails 101Rails 101
Rails 101
 
Lets Go - An introduction to Google's Go Programming Language
Lets Go - An introduction to Google's Go Programming Language Lets Go - An introduction to Google's Go Programming Language
Lets Go - An introduction to Google's Go Programming Language
 
.Net
.Net.Net
.Net
 
Integrated Language Definition Testing: Enabling Test-Driven Language Develop...
Integrated Language Definition Testing: Enabling Test-Driven Language Develop...Integrated Language Definition Testing: Enabling Test-Driven Language Develop...
Integrated Language Definition Testing: Enabling Test-Driven Language Develop...
 
FuelPHP presentation - PeoplePerHour workshop
FuelPHP presentation - PeoplePerHour workshopFuelPHP presentation - PeoplePerHour workshop
FuelPHP presentation - PeoplePerHour workshop
 
WorkinOnTheRailsRoad
WorkinOnTheRailsRoadWorkinOnTheRailsRoad
WorkinOnTheRailsRoad
 
Workin ontherailsroad
Workin ontherailsroadWorkin ontherailsroad
Workin ontherailsroad
 

Viewers also liked

ASP .NET MVC
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
eldorina
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
Gajanand Bohra
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
Doncho Minkov
 

Viewers also liked (19)

Csphtp1 20
Csphtp1 20Csphtp1 20
Csphtp1 20
 
Building a next generation web application
Building a next generation web applicationBuilding a next generation web application
Building a next generation web application
 
Fm lecturer 13(final)
Fm lecturer 13(final)Fm lecturer 13(final)
Fm lecturer 13(final)
 
SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK
SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORKSpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK
SpringPeople Building Web Sites with ASP.NET MVC FRAMEWORK
 
ASP .NET MVC
ASP .NET MVC ASP .NET MVC
ASP .NET MVC
 
Ebook intro to algorithms cormen rivest
Ebook  intro to algorithms cormen rivestEbook  intro to algorithms cormen rivest
Ebook intro to algorithms cormen rivest
 
ASP .net MVC
ASP .net MVCASP .net MVC
ASP .net MVC
 
A Rich Web experience with jQuery, Ajax and .NET
A Rich Web experience with jQuery, Ajax and .NETA Rich Web experience with jQuery, Ajax and .NET
A Rich Web experience with jQuery, Ajax and .NET
 
ASP.NET Lecture 1
ASP.NET Lecture 1ASP.NET Lecture 1
ASP.NET Lecture 1
 
Asp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohraAsp.net presentation by gajanand bohra
Asp.net presentation by gajanand bohra
 
Be project ppt asp.net
Be project ppt asp.netBe project ppt asp.net
Be project ppt asp.net
 
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
Design and Analysis of Algorithms
Design and Analysis of AlgorithmsDesign and Analysis of Algorithms
Design and Analysis of Algorithms
 
.NET and C# Introduction
.NET and C# Introduction.NET and C# Introduction
.NET and C# Introduction
 
ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1ASP.NET Tutorial - Presentation 1
ASP.NET Tutorial - Presentation 1
 
Developing an ASP.NET Web Application
Developing an ASP.NET Web ApplicationDeveloping an ASP.NET Web Application
Developing an ASP.NET Web Application
 
.NET Framework Overview
.NET Framework Overview.NET Framework Overview
.NET Framework Overview
 
80 PPTS-TRAINING FOR DUMMIES-KEY IDEAS
80 PPTS-TRAINING FOR DUMMIES-KEY IDEAS80 PPTS-TRAINING FOR DUMMIES-KEY IDEAS
80 PPTS-TRAINING FOR DUMMIES-KEY IDEAS
 

Similar to Buildingwebapplicationswith.net

Web Development Environments: Choose the best or go with the rest
Web Development Environments:  Choose the best or go with the restWeb Development Environments:  Choose the best or go with the rest
Web Development Environments: Choose the best or go with the rest
george.james
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
Rajnish Kalla
 
Aspnet2.0 Introduction
Aspnet2.0 IntroductionAspnet2.0 Introduction
Aspnet2.0 Introduction
ChanHan Hy
 

Similar to Buildingwebapplicationswith.net (20)

Web Development Environments: Choose the best or go with the rest
Web Development Environments:  Choose the best or go with the restWeb Development Environments:  Choose the best or go with the rest
Web Development Environments: Choose the best or go with the rest
 
Confoo - Javascript Server Side : How to start
Confoo - Javascript Server Side : How to startConfoo - Javascript Server Side : How to start
Confoo - Javascript Server Side : How to start
 
What is Mean Stack Development ?
What is Mean Stack Development ?What is Mean Stack Development ?
What is Mean Stack Development ?
 
Web Development Today
Web Development TodayWeb Development Today
Web Development Today
 
Web development concepts using microsoft technologies
Web development concepts using microsoft technologiesWeb development concepts using microsoft technologies
Web development concepts using microsoft technologies
 
DOT NET TRaining
DOT NET TRainingDOT NET TRaining
DOT NET TRaining
 
10 Sep08 2003ver
10 Sep08 2003ver10 Sep08 2003ver
10 Sep08 2003ver
 
Sadiq786
Sadiq786Sadiq786
Sadiq786
 
Rcs project Training Bangalore
Rcs project Training BangaloreRcs project Training Bangalore
Rcs project Training Bangalore
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Aspnet2.0 Introduction
Aspnet2.0 IntroductionAspnet2.0 Introduction
Aspnet2.0 Introduction
 
Web II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side developmentWeb II - 01 - Introduction to server-side development
Web II - 01 - Introduction to server-side development
 
LAMP is so yesterday, MEAN is so tomorrow! :)
LAMP is so yesterday, MEAN is so tomorrow! :) LAMP is so yesterday, MEAN is so tomorrow! :)
LAMP is so yesterday, MEAN is so tomorrow! :)
 
Web Development Workshop (Front End)
Web Development Workshop (Front End)Web Development Workshop (Front End)
Web Development Workshop (Front End)
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
 
MEAN Stack
MEAN StackMEAN Stack
MEAN Stack
 
MEAN Stack
MEAN StackMEAN Stack
MEAN Stack
 
Net development
Net developmentNet development
Net development
 
Comparison of Programming Platforms
Comparison of Programming PlatformsComparison of Programming Platforms
Comparison of Programming Platforms
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Buildingwebapplicationswith.net

  • 1.  Microsoft Coming to IUP!Microsoft Coming to IUP!  Tuesday, April 8, 2003Tuesday, April 8, 2003  5:00 P.M. Eberly Auditorium5:00 P.M. Eberly Auditorium  Presentation to be given byPresentation to be given by Microsoft RepresentativeMicrosoft Representative  Food, drinks, and excellentFood, drinks, and excellent door prizes available afterdoor prizes available after presentationpresentation  Presentation geared towardsPresentation geared towards computer and non-computercomputer and non-computer majors…Tell your friends!majors…Tell your friends! . A G E N D A . Sites vs Applications Existing Technologies . T e c h G L A N C E . Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Web Matrix Closing Thoughts
  • 2. Recap of .NET FundamentalsRecap of .NET Fundamentals  .NET Framework consists of two.NET Framework consists of two primary parts: .NET Class Libraries,primary parts: .NET Class Libraries, Common Language RuntimeCommon Language Runtime  Any language can be supported withAny language can be supported with the addition of a language specificthe addition of a language specific compilercompiler  All .NET code is object orientedAll .NET code is object oriented  Managed code is compiled to anManaged code is compiled to an assembly (MSIL) by languageassembly (MSIL) by language specific compilerspecific compiler  Assemblies are compiled to nativeAssemblies are compiled to native code by JIT compilercode by JIT compiler . A G E N D A . Sites vs Applications Existing Technologies . T e c h G L A N C E . Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Web Matrix Closing Thoughts Recap
  • 3. AssemblyAssembly Compilation And ExecutionCompilation And Execution SourceSource CodeCode LanguageLanguage CompilerCompiler CompilationCompilation Before installation orBefore installation or the first time eachthe first time each method is calledmethod is calledExecutionExecution JITJIT CompilerCompiler NativeNative CodeCode CodeCode (IL)(IL) MetadataMetadata
  • 4.  AdaAda  APLAPL  Basic (Visual Basic)Basic (Visual Basic)  C#C#  CC  C++C++  Java Language (J#)Java Language (J#)  COBOLCOBOL  Component PascalComponent Pascal (Queensland Univ of Tech)(Queensland Univ of Tech)  ECMAScript (JScript)ECMAScript (JScript)  Eiffel (Eiffel (MonashMonash University)University)  HaskellHaskell (Utrecht University)(Utrecht University) Current List of Language CompilersCurrent List of Language Compilers  lcclcc (MS Research Redmond)(MS Research Redmond)  MondrianMondrian (Utrecht)(Utrecht)  MLML (MS Research Cambridge)(MS Research Cambridge)  MercuryMercury (Melbourne U.)(Melbourne U.)  OberonOberon (Zurich University)(Zurich University)  Oz (Oz (Univ of Saarlandes)Univ of Saarlandes)  PerlPerl  PythonPython  SchemeScheme (Northwestern U.)(Northwestern U.)  SmallTalkSmallTalk
  • 5. Operating SystemOperating System Common Language Runtime (CLR) Inside the .NET FrameworkInside the .NET Framework Base Framework Data and XML Web Services User Interface VB C++ C# ASP.NET J# Python … Secure, integrated class libraries •Unifies programming models across languages •Enables cross-language integration •Factored for extensibility •Designed for tools Secure, integrated class libraries •Unifies programming models across languages •Enables cross-language integration •Factored for extensibility •Designed for tools Common Language Runtime Executes code, maintains security, handles component “plumbing” and dependencies Common Language Runtime Executes code, maintains security, handles component “plumbing” and dependencies ASP.NET High-productivity environment for building and running Web services ASP.NET High-productivity environment for building and running Web services
  • 6. During the presentation look here for an overview of the information presented… . A G E N D A . Sites vs Applications Existing Technologies . T e c h G L A N C E . Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Building Web Applications with .NET Unleash the power of the Web! Web Matrix Closing Thoughts Chris Wastchak Student Ambassador to Microsoft
  • 7. Topics to be discussed . A G E N D A . Sites vs Applications Existing Technologies . T e c h G L A N C E . Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Web Matrix Closing Thoughts □ Existing Technologies □ ASP .NET Explained □ Inside ASP .NET □ Overview of ADO .NET □ Demos Roadmap of Presentation □ Web Matrix □ Closing Thoughts
  • 8. . A G E N D A . Sites vs Applications Existing Technologies . T e c h G L A N C E . □ Create Dynamic Web Applications Web Sites vs. Web Applications Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Sites Applications □ Essentially Static □ Antonym of Static! – Very dynamic. □ HTML based document □ HTML is only a means to display content □ Some Dynamic abilities, but normally a dull user experience □ Some static content, but mostly related to web layout □ Historically, difficult to develop Web Matrix Closing Thoughts
  • 9. . A G E N D A . Sites vs Applications Existing Technologies . T e c h G L A N C E . □ Create Dynamic Web Applications Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET CGI □ Advantages □ Supported on all platforms □ Disadvantages □ Poor performance (process per client request) □ Application logic tightly bound to HTML/HTTP □ Difficult to develop/maintain Existing Technologies Web Matrix Closing Thoughts
  • 10. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications Legacy ASP ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies Server-side Script Hosts □ Legacy Active Server Pages (ASP) □ Java Server Pages □ Advantages □ Easier Programming Model □ Disadvantages □ Poor performance (interpreted on the server) □ Non-extensible □ CGI & Server-side Script Hosts not the answer Existing Technologies Web Matrix Closing Thoughts □ Rendering in different browsers
  • 11. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP Legacy ASP Web Matrix Closing Thoughts “Classic” ASP □ Interpreted VBScript/JavaScript □ Code and content in the same file □ Simple procedural programming model □ Limited to the functionality provided by VBScript/JavaScript and the ASP Intrinsic objects □ Executed as one large function
  • 12. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP Network Browser-Client Web Server HTTP request (form data, HTTP header data) Web Form ASP page (static HTML, server-side logic) Legacy ASP Web Matrix Closing Thoughts
  • 13. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP Successes: □ Access to COM components □ ADO connectivity □ Simple procedural programming model □ Script-base: No compiling, just edit, save & run □ Support for multiple scripting languages Problems: □ Coding Overhead – too much grunt work! □ Code readability – Code & Interface intermingled □ Reuse is difficult □ DLL locking (aka DLL Hell) □ ASP was a good start Legacy ASP Web Matrix Closing Thoughts
  • 14. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET OverviewASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start Networ k ASP.Net ISAPI DLL Hosting the .NET Framework CLR Webform/custom application Request and post-back form information HTML representation of application UI Web Server Browser-Client Managed Process ASP .NET Overview Web Matrix Closing Thoughts
  • 15. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET OverviewASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start New and exciting web application model □ Built on the .NET Framework □ Object oriented web application development, as easy as building Visual Basic (or C#) applications □ Executes in native machine language □ Development model loosely bound to HTML/HTTP □ Like Legacy ASP, ASP.NET is a server-side technology □ Exposes .NET’s power to the web! ASP .NET Overview Web Matrix Closing Thoughts □ Server controls automatically generate the appropriate HTML for different browsers.
  • 16. Just another fix…? □ Evolution vs. Revolution □ ASP.NET has been completely re-written on top of the Http Run-time □ Simplification of Development □ ASP.NET allows a developer to leverage existing knowledge to develop web applications □ Simplification of Deployment ASP .NET Overview □ ”Just FTP and go” . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET OverviewASP .NET DEMO Inside ASP .NET ADO .NET Sites vs Applications Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Web Matrix Closing Thoughts □ Side-by-side assemblies (XCopy)
  • 17. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMOInside ASP .NET ADO .NET Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Dynamically generates HTML to indicate current date! ASP .NET DEMO Sites vs Applications Web Matrix Closing Thoughts
  • 18. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMOInside ASP .NET ADO .NET Existing Technologies □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! <% @Page Language="C#" Inherits="TodayPage" Src="Today.cs" %> <html> <body> <TITLE>Today</TITLE> <H1 align="center"> Today is <%OutputDay();%> </H1> </body> </html> Today.aspx Inline method call to OutputDay() ASP .NET DEMO Sites vs Applications Web Matrix Closing Thoughts
  • 19. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMOInside ASP .NET ADO .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! using System; using System.Web.UI; public class TodayPage : Page { protected void OutputDay() { Response.Write (DateTime.Now.ToString("D")) ; } } Today.cs Defines TodayPage type □ Derived from Page □ Typical C# type declaration □ Includes protected method OutputDay () ASP .NET DEMO Sites vs Applications Existing Technologies Web Matrix Closing Thoughts
  • 20. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NETADO .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Inside ASP .NET Sites vs Applications Existing Technologies Web Matrix Closing Thoughts Basics of an ASP .NET page □ ASP .NET Directives □ <%@ Page … %> □ <%@ Register … %> □ <%@ OutputCache … %> □ etc… □ ASP .NET code □ in script blocks with the runat=“server” attribute □ In separate files specified with the CodeBehind tag in the Page directive □ Content, in the form of text and HTML tags
  • 21. <%@ Page Language="C#" CodeBehind=“Hello.aspx.cs"<%@ Page Language="C#" CodeBehind=“Hello.aspx.cs" Inherits=“HelloApp.Hello" %>Inherits=“HelloApp.Hello" %> <html><html> <body><body> <form runat="server">Name: <asp:TextBox<form runat="server">Name: <asp:TextBox id="txtName" runat="server“id="txtName" runat="server“ OnTextChanged="SayHello" />OnTextChanged="SayHello" /> </form></form> <asp:Label id="lblHello" runat="server" /><asp:Label id="lblHello" runat="server" /> </body></body> </html></html> . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NETADO .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Inside ASP .NET Sites vs Applications Existing Technologies Web Matrix Closing Thoughts Example: Hello.aspx
  • 22. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NETADO .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Inside ASP .NET Sites vs Applications Existing Technologies Button List Box Text Box ASP.NET Browser-Client Button Code TextBox Code ListBox Code Networ k Object oriented programming model □ Event driven application model □ Controls render their UI in HTML More modular, readable & maintainable then legacy ASP Web Matrix Closing Thoughts
  • 23. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NETADO .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Inside ASP .NET Sites vs Applications Existing Technologies Web Matrix Closing Thoughts Introducing Web Forms □ Web forms are a new way of managing web user interfaces □ A web form consists of server controls that can be accessed programmatically □ Web forms consist of all controls inside a form tag with a runat=“server” attribute □ Server controls automatically retain their state across page requests □ Web forms are event driven and allow the programmer to handle events thrown by the controls (like a button click) □ Web forms are only the simplest facet of ASP.NET
  • 24. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NETADO .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! Inside ASP .NET Sites vs Applications Existing Technologies A partial list of common controls AdRotator Button Calendar CheckBox DataGrid Hyperlink Image ListControl Panel Table TextBox RangeValidator Label LinkButton □ Controls are objects derived from: System.Web.UI.Control □ 3rd Party controls are available! □ Can be populated via data binding □ OO Model, Rapid Development, Extensible! Web Matrix Closing Thoughts
  • 25. . A G E N D A . . T e c h G L A N C E . □ Create Dynamic Web Applications ASP .NET Overview ASP .NET DEMO Inside ASP .NET □ CGI & Server-side Script Hosts not the answer Legacy ASP □ ASP was a good start □ Exposes .NET’s power to the web! ADO .NET Existing Technologies □ OO Model, Rapid Development, Extensible! For Example: □ E-Commerce websites (EBay!) Virtually all interesting application require a structured, persistent data store… □ Personalized Portals or Newsgroups □ Even popular online email services (Yahoo!, Hotmail…) Sites vs Applications ADO .NETWeb Matrix Closing Thoughts
  • 26. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! ADO .NET □ OO Model, Rapid Development, Extensible! Evolution of Data Access . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ODBC □ OLE DB □ DAO  RDO  ADO ADO .NET has essentially merged OLE DB, ODBC and ADO into a single layer, providing a consistent interface to work with. □ ADO .NET merges previous techniques Web Matrix Closing Thoughts
  • 27. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! ADO .NET □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ADO .NET merges previous techniques ODBCDriver ODBC RDBMS ODBC OLE DB RDBMS .NET Data Provider Connection Command Data Reader Data Adapter OLEDB OLEDBProvider SQL Server DataSourceofChoice Application Web Matrix Closing Thoughts
  • 28. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! ADO .NET □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ADO .NET merges previous techniques 4 Primary Objects □ Connection □ Connects to data source □ Command □ Executes SELECT, INSERT, UPDATE and DELETE commands □ Data Reader □ Forward-only, read-only stream of data □ Data Adapter □ Connects a DataSet to a data source Web Matrix Closing Thoughts
  • 29. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! ADO .NET □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ADO .NET merges previous techniques Anatomy of a DataSet…? □ An in-memory representation of a data source □ Container for multiple DataTables and DataRelations □ Serialized to XML □ Uses the Data Adapter to connect to a database Web Matrix Closing Thoughts
  • 30. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! ADO .NET □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Web Matrix Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET The DataSet Object ModelThe DataSet Object Model DataSetDataSet DataTableCollectionDataTableCollection DataTableDataTable DataColumnCollectionDataColumnCollection DataColumnDataColumn DataRowCollectionDataRowCollection DataRowDataRow DataRelationCollectionDataRelationCollection DataRelationDataRelation ConstraintCollectionConstraintCollection ConstraintConstraint DataTableDataTable DataColumnDataColumn DataRowDataRow DataRelationDataRelation ConstraintConstraint
  • 31. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! Web Matrix □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET Web Matrix □ Lightweight (~ 1MB) □ Easy to use □ Free (no $$$) download □ Community-oriented tool for developing Web Applications with ASP .NET
  • 32. ▫ Mobile Web App Designer ▫ . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! Web Matrix □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs. Applications ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET Web Matrix Web Matrix VS .NET ▫Team development ▫ ▫ Debugging ▫ ▫ Intellisense ▫ ▫ Windows Forms Designer ▫ ▫ Architect Tools ▫ ▫ Project System ▫ ▫ Control, add-in & code builder selection ▫ ▫ FTP Host Support ▫ ▫ Self-contained web Server ▫ ▫ Instant Messaging Client ▫ ▫ WYSIWYG Web Form Designer ▫ ▫ Build and Consume Web Services ▫ ▫ Integrated Data Designers ▫ Feature
  • 33. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! Web Matrix □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP Existing Technologies Sites vs Applications ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET Web MatrixResources □ Download it at www.asp.net □ Guided Tour □ Post questions on the forums □ Send feedback! □ Web Matrix - lightweight but powerful
  • 34. . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! Closing Thoughts □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET Web Matrix □ Web Matrix - lightweight but powerful Existing Technologies Sites vs Applications □ Build applications for ad-hoc and effective Web reporting □ Applications that work disconnected from the data source and use XML to communicate with non-.NET systems □ General-purpose applications that take advantage of the data abstraction of ADO.NET □ Take advantage of code reusability, user controls, code-behind, custom Web controls, and other time- saving techniques Beyond the TechTALK
  • 35. Questions?Questions? Please visitPlease visit www.www.sdcsdc..iupiup..eduedu /outreach//outreach/msnetmsnet for morefor more informationinformation . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET Web Matrix □ Web Matrix - lightweight but powerful Existing Technologies Sites vs Applications
  • 36. Remaining .NET TalksRemaining .NET Talks  Using XML Web Services in .NETUsing XML Web Services in .NET  Tuesday, April 1, 2003Tuesday, April 1, 2003  7:00 P.M. Stright 327/3297:00 P.M. Stright 327/329 . T e c h G L A N C E . □ Create Dynamic Web Applications □ CGI & Server-side Script Hosts not the answer □ ASP was a good start □ Exposes .NET’s power to the web! □ OO Model, Rapid Development, Extensible! . A G E N D A . ASP .NET Overview ASP .NET DEMO Inside ASP .NET Legacy ASP ADO .NET □ ADO .NET merges previous techniques Closing Thoughts □ DataSet acts as the heart of ADO .NET Web Matrix □ Web Matrix - lightweight but powerful Existing Technologies Sites vs Applications