introduction to asp.net
DESCRIPTION
For web developer this presentation is very helpful as it provide useful knowledge of the latest web technology that is ASP.NETTRANSCRIPT
![Page 1: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/1.jpg)
ASP.NET
Presented By
Rajkumar Soy CSE 4th year 1252510908
![Page 2: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/2.jpg)
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.
![Page 3: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/3.jpg)
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)
![Page 4: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/4.jpg)
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.
![Page 5: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/5.jpg)
.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++.
![Page 6: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/6.jpg)
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).
![Page 7: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/7.jpg)
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
![Page 8: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/8.jpg)
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
![Page 9: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/9.jpg)
Visual Studio a web development tool
![Page 10: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/10.jpg)
ASP.NET development models
• ASP.NET supports three different development models:
-Web Pages
- Web Forms and
- MVC (Model View Controller)
![Page 11: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/11.jpg)
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
![Page 12: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/12.jpg)
Web Page in Visual Studio
![Page 13: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/13.jpg)
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.
![Page 14: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/14.jpg)
Web Form in Visual Studio
![Page 15: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/15.jpg)
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.
![Page 16: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/16.jpg)
MVC Model
![Page 17: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/17.jpg)
MVC Controller
![Page 18: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/18.jpg)
MVC View
![Page 19: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/19.jpg)
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.
![Page 20: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/20.jpg)
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.
![Page 21: Introduction to ASP.NET](https://reader033.vdocuments.site/reader033/viewer/2022052910/559c1c6a1a28ab0f158b4639/html5/thumbnails/21.jpg)
Any queries?