By: Glenard
Sarmiento
AP 3
ASP.NET
ASP.NET
2nd Semester, AY 2020 – 2021
• Course Description :
 ASP.NET is a web development platform, which provides a
programming model, a comprehensive software
 infrastructure and various services required to build up robust
web applications for PC, as well as mobile devices.
Course Learning Outcomes :
 Create web forms applications that employ .Net principles and
techniques.
 Apply appropriate techniques for transactional SQL operations to
business process.
 Develop web-based and database applications using transactional SQL
operations for appropriate to
 business process.
Course Requirements
Students are expected to maintain and promote the highest
standards of personal honesty and professional integrity.
Each student has to attend regular class sessions within the
semester and shall comply with the requirements of the
course before the end of the semester. For this course, the
following is/are the requirement/s:
1. Business App (CRUD Transaction)
To receive credit, student must achieve a course grade of at
least 3.0. The weighting of the grade is described in the
evaluation procedures.
Evaluation Procedures :
Evolution of web development
• Standards such as HTML (Hypertext
Markup Language) and XML (Extensible
Markup Language) were created.
• Need to develop languages and
programming tools that could integrate
with the Web.
The Early Web Development World
• Separate, tiny applications that are
executed by server-side calls - CGI
(Common Gateway Interface)
• Scripts that are interpreted by a server-
side resource: Classic ASP (Active Server
Pages)
What’s Wrong with Classic ASP
• Classic ASP is a solid tool for developing
web applications using Microsoft
technologies.
• Length Code
• No IDE (integrated development
environment) for developers
• ASP Code is interpreted.
.NET Framework
• The .NET framework is a software development
framework from Microsoft. It provides a
controlled programming environment where
software can be developed, installed and
executed on Windows-based operating
systems.
• The .NET languages: These include Visual Basic,
C#, JScript .NET (a serverside version of
JavaScript), J# (a Java clone), and C++.
ASP.NET
• ASP.NET is a web application framework
developed and marketed by Microsoft to
allow programmers to build dynamic
websites, web applications and web
services.
• ASP.NET gives you the ability to code in any
supported .NET language (including Visual
Basic, C#, J#, and many other languages
that have thirdparty compilers).
How does ASP.NET work?
• ASP.NET applications are executed via a sequence of
HTTP requests and HTTP responses.
• Client Web browser request ASPX pages.
• IIS passes the request to the ASP.NET engine on the
server.
• The Web server executes the ASPX page and produce
XHTML + CSS + JavaScript
• ASP.NET file is returned to the browser as plain HTML
Visual Studio as ASP.NET
development tool
• Visual Studio is a development tool, which
provides a rich environment where you can
rapidly create advanced applications.
• Some of the features of Visual Studio
include the following:
 Page design
 Automatic error detection
 Debugging tools
 IntelliSense
Visual Studio a web development
tool
ASP.NET development models
• ASP.NET supports three different
development models:
 Web Pages
 Web Forms and
 MVC (Model View Controller)
Web Pages (Single Pages Model)
Web Pages is the simplest programming model for
developing ASP.NET web pages. It provides an easy
way to combine HTML, CSS, JavaScript and server
code.
• Easy to learn, understand, and use
• Built around single web pages
• Similar to PHP and Classic ASP
• Server scripting with Visual Basic or C#
• Full HTML, CSS, and JavaScript control
Web Page in Visual Studio
Web Forms (Event Driven Model)
• Web Forms is the oldest ASP.NET programming
model, with event driven web pages written as a
combination of HTML, server controls, and server
code.
• Web Forms are compiled and executed on the
server, which generates the HTML that displays the
web pages.
• Web Forms comes with hundreds of different web
controls and web components to build user-driven
web sites with data access.
Web Form in Visual Studio
MVC (Model View Controller)
MVC is a framework for building web
applications using a MVC (Model View
Controller) design:
• The Model represents the application core
• The View displays the data
• The Controller handles the input
The MVC model also provides full control over
HTML, CSS, and JavaScript.
MVC Model
MVC Controller
MVC View
Advantages of ASP.NET
• ASP.NET drastically reduces the amount of code required to build
large applications.
• The ASP.NET framework is complemented by a rich toolbox and
designer in the Visual Studio integrated development environment.
WYSIWYG editing, drag-and-drop server controls, and automatic
deployment are just a few of the features this powerful tool
provides.
• Being language-independent, it allows you to choose the language
that best applies to your application or partition your application
across many languages.
• ASP.NET makes for easy deployment. There is no need to register
components because the configuration information is built-in.
Disadvantage of ASP.NET
• As ASP.NET uses .NET framework which
works on windows platform so the
websites can build only in windows
platform not other platform like linux
,macintosh, solaris etc.

ASP.pptx

  • 1.
  • 2.
    ASP.NET 2nd Semester, AY2020 – 2021 • Course Description :  ASP.NET is a web development platform, which provides a programming model, a comprehensive software  infrastructure and various services required to build up robust web applications for PC, as well as mobile devices. Course Learning Outcomes :  Create web forms applications that employ .Net principles and techniques.  Apply appropriate techniques for transactional SQL operations to business process.  Develop web-based and database applications using transactional SQL operations for appropriate to  business process.
  • 3.
    Course Requirements Students areexpected to maintain and promote the highest standards of personal honesty and professional integrity. Each student has to attend regular class sessions within the semester and shall comply with the requirements of the course before the end of the semester. For this course, the following is/are the requirement/s: 1. Business App (CRUD Transaction) To receive credit, student must achieve a course grade of at least 3.0. The weighting of the grade is described in the evaluation procedures.
  • 4.
  • 5.
    Evolution of webdevelopment • Standards such as HTML (Hypertext Markup Language) and XML (Extensible Markup Language) were created. • Need to develop languages and programming tools that could integrate with the Web.
  • 6.
    The Early WebDevelopment World • Separate, tiny applications that are executed by server-side calls - CGI (Common Gateway Interface) • Scripts that are interpreted by a server- side resource: Classic ASP (Active Server Pages)
  • 7.
    What’s Wrong withClassic ASP • Classic ASP is a solid tool for developing web applications using Microsoft technologies. • Length Code • No IDE (integrated development environment) for developers • ASP Code is interpreted.
  • 8.
    .NET Framework • The.NET framework is a software development framework from Microsoft. It provides a controlled programming environment where software can be developed, installed and executed on Windows-based operating systems. • The .NET languages: These include Visual Basic, C#, JScript .NET (a serverside version of JavaScript), J# (a Java clone), and C++.
  • 9.
    ASP.NET • ASP.NET isa web application framework developed and marketed by Microsoft to allow programmers to build dynamic websites, web applications and web services. • ASP.NET gives you the ability to code in any supported .NET language (including Visual Basic, C#, J#, and many other languages that have thirdparty compilers).
  • 10.
    How does ASP.NETwork? • ASP.NET applications are executed via a sequence of HTTP requests and HTTP responses. • Client Web browser request ASPX pages. • IIS passes the request to the ASP.NET engine on the server. • The Web server executes the ASPX page and produce XHTML + CSS + JavaScript • ASP.NET file is returned to the browser as plain HTML
  • 11.
    Visual Studio asASP.NET development tool • Visual Studio is a development tool, which provides a rich environment where you can rapidly create advanced applications. • Some of the features of Visual Studio include the following:  Page design  Automatic error detection  Debugging tools  IntelliSense
  • 12.
    Visual Studio aweb development tool
  • 13.
    ASP.NET development models •ASP.NET supports three different development models:  Web Pages  Web Forms and  MVC (Model View Controller)
  • 14.
    Web Pages (SinglePages Model) Web Pages is the simplest programming model for developing ASP.NET web pages. It provides an easy way to combine HTML, CSS, JavaScript and server code. • Easy to learn, understand, and use • Built around single web pages • Similar to PHP and Classic ASP • Server scripting with Visual Basic or C# • Full HTML, CSS, and JavaScript control
  • 15.
    Web Page inVisual Studio
  • 16.
    Web Forms (EventDriven Model) • Web Forms is the oldest ASP.NET programming model, with event driven web pages written as a combination of HTML, server controls, and server code. • Web Forms are compiled and executed on the server, which generates the HTML that displays the web pages. • Web Forms comes with hundreds of different web controls and web components to build user-driven web sites with data access.
  • 17.
    Web Form inVisual Studio
  • 18.
    MVC (Model ViewController) MVC is a framework for building web applications using a MVC (Model View Controller) design: • The Model represents the application core • The View displays the data • The Controller handles the input The MVC model also provides full control over HTML, CSS, and JavaScript.
  • 19.
  • 20.
  • 21.
  • 22.
    Advantages of ASP.NET •ASP.NET drastically reduces the amount of code required to build large applications. • The ASP.NET framework is complemented by a rich toolbox and designer in the Visual Studio integrated development environment. WYSIWYG editing, drag-and-drop server controls, and automatic deployment are just a few of the features this powerful tool provides. • Being language-independent, it allows you to choose the language that best applies to your application or partition your application across many languages. • ASP.NET makes for easy deployment. There is no need to register components because the configuration information is built-in.
  • 23.
    Disadvantage of ASP.NET •As ASP.NET uses .NET framework which works on windows platform so the websites can build only in windows platform not other platform like linux ,macintosh, solaris etc.