Lecture (04) ASP - draelshafee.netdraelshafee.net/Spring2017/web-programming---lecture-04.pdf ·...

Post on 31-Jul-2018

220 views 0 download

Transcript of Lecture (04) ASP - draelshafee.netdraelshafee.net/Spring2017/web-programming---lecture-04.pdf ·...

Lecture (04)ASP.net

By:

Dr. Ahmed ElShafee

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١

ASP.NET

• ASP.NET is a web application framework developed by Microsoft to allow programmers to build dynamic web sites, web applications and web services.

• ASP.NET is part of the Visual Studio package.

• It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages (ASP) technology. 

• ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language, such as C# and VB.NET.

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢

• ASP.NET web pages or webpage, known officially as Web Forms], are the main building block for application development. Web forms are contained in files with an “.aspx” extension.

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣

ASP.NET supports different approaches for making web sites or web pages.

• ASP.NET Web Pages uses a single page model that mixes code and HTML markup.

• ASP.NET SPA (Single Page Application)

• ASP.NET Web Forms uses controls and an event‐model for component‐based development.

• ASP.NET MVC (Model View Controller) values separation of concerns and enables easier test‐driven development.

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤

• You can mix and match these techniques within one application depending on your needs.

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٥

Example 01 (web form)

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٦

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٧

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٨

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٩

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٠

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١١

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٢

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٣

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٤

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٥

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٦

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٧

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٨

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming١٩

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٠

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢١

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٢

Example 02

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٣

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٤

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٥

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٦

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٧

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٨

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٢٩

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٠

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣١

Example 03

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٢

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٣

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٤

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٥

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٦

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٧

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٨

Example 04

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٣٩

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤٠

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤١

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤٢

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤٣

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤٤

Thanks,..

See you next week (ISA),…

Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming٤٥