2. 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.
3. 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)
4. 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.
5. .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 server-side
version of JavaScript), J# (a Java clone), and C++.
6. 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 third-party
compilers).
7. 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
8. 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
10. ASP.NET development models
• ASP.NET supports three different development models:
-Web Pages
-Web Forms and
- MVC (Model View Controller)
11. 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
13. 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.
15. 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.
19. Advantages of ASP.NET
• Advantage
• 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.
20. 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.