KEMBAR78
Lect 1 About ASP.NET webforms and freme | PPTX
Lecture 1
Introduction to
Information
Technology
Instructed By :Eng Islaw
Abrar University
Evaluation Method
 30 %
 20% Course work Evaluation
 50% Final Exam
Midterm exam
Introduction
ASP.NET is a web application framework developed and marketed
by Microsoft to allow programmers to build dynamic web sites. It
allows you to use a full featured programming language such as
C# or VB.NET to build web applications easily..
This course covers all the basic elements of ASP.NET that a
beginner would require to get started.
5
What is SP.NET ?
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.
ASP.NET is a part of Microsoft .NET platform. ASP.NET applications are compiled
codes, written using the extensible and reusable components or objects present
in .NET framework. These codes can use the entire hierarchy of classes in .Net
framework.
The ASP.NET application codes can be written in any of the following languages:
 C#
 Visual Basic .NET
 Jscript
 J#
5
ASP.NET Web Forms Model
 ASP.NET web forms extend the event-driven model of interaction to the web
applications.
 The browser submits a web form to the web server and the server returns a
full markup page or HTML page in response..
All client side user activities are forwarded to the server for stateful processing.
The server processes the output of the client actions and triggers the reactions.
Now, HTTP is a stateless protocol. ASP.NET framework helps in storing the
information regarding the state of the application, which consists of:
1. Page state
2. Session state
 The page state is the state of the client, i.e., the content of various input fields
in the web form.
 The session state is the collective information obtained from various pages the
user visited and worked with, i.e., the overall session state
6
The ASP.NET Component Model
 The ASP.NET component model provides various building blocks of ASP.NET
pages. Basically it is an object model, which describes:
 Server side counterparts of almost all HTML elements or tags, such as <form>
and <input>.
 Server controls, which help in developing complex user-interface. For
example, the Calendar control or the Gridview control.
 ASP.NET is a technology, which works on the .Net framework that contains
all web-related functionalities. The .Net framework is made of an object-
oriented hierarchy. An ASP.NET web application is made of pages. When a
user requests an ASP.NET page, the IIS delegates the processing of the page
to the ASP.NET runtime system.
6
Components of .Net Framework 3.5
The following table describes the components of the .Net framework 3.5 and the
job they perform:
1. Common Language Runtime or CLR
It performs memory management, exception handling, debugging, security
checking, thread execution, code execution, code safety, verification, and
compilation
6
2.Net Framework Class Library
It contains a huge library of reusable types. classes, interfaces,
structures, and enumerated values, which are collectively called
types.
3. Common Language Specification
It contains the specifications for the .Net supported languages and
implementation of language integration.
4.Common Type System
It provides guidelines for declaring, using, and managing types at
runtime, and cross-language communication.
Continues…..
(5) Metadata and Assemblies
Metadata is the binary information describing the program, which is either
stored in a portable executable file (PE) or in the memory.
6
(6) Windows Forms
Windows Forms contain the graphical representation of any
window displayed in the application.
(7) ASP.NET and ASP.NET AJAX
ASP.NET is the web development model and AJAX is an extension
of ASP.NET for developing and implementing AJAX functionality
(8) ADO.NET
It is the technology used for working with data and databases. It
provides access to data sources like SQL server, OLE DB, XML etc.
The ADO.NET allows connection to data sources for retrieving,
manipulating, and updating data.
Continues……….
6
(9) Windows Workflow Foundation (WF)
It helps in building workflow-based applications in Windows. It
contains activities, workflow runtime, workflow designer, and a
rules engine.
(11) Windows Communication Foundation (WCF)
It is the technology used for building and executing connected
systems.
(12) Windows CardSpace
It provides safety for accessing resources and sharing personal
information on the internet.
(13) LINQ
It imparts data querying capabilities to .Net languages using a
syntax which is similar to the tradition query language SQL.
ASP.NET - Environment Setup
Installation:
Microsoft provides a free version of visual studio which also contains SQL Server
and it can be downloaded from www.visualstudio.com.
Step 1 − Once downloading is complete, run the installer. The following dialog
will be displayed.
Step 2 −
Click on the Install button and it will start the installation process.
Step 3
Once the installation process is completed successfully, you will see the following
dialog. Close this dialog and restart your computer if required.
Step 4 −
 Open Visual Studio from start Menu which will open the following dialog. It will
be a while for the first time for preparation.
Step 5 −
Once all is done you will see the main window of Visual studio.
Questions

Lect 1 About ASP.NET webforms and freme

  • 1.
  • 2.
    Evaluation Method  30%  20% Course work Evaluation  50% Final Exam Midterm exam
  • 3.
    Introduction ASP.NET is aweb application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites. It allows you to use a full featured programming language such as C# or VB.NET to build web applications easily.. This course covers all the basic elements of ASP.NET that a beginner would require to get started. 5
  • 4.
    What is SP.NET? 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. ASP.NET is a part of Microsoft .NET platform. ASP.NET applications are compiled codes, written using the extensible and reusable components or objects present in .NET framework. These codes can use the entire hierarchy of classes in .Net framework. The ASP.NET application codes can be written in any of the following languages:  C#  Visual Basic .NET  Jscript  J# 5
  • 5.
    ASP.NET Web FormsModel  ASP.NET web forms extend the event-driven model of interaction to the web applications.  The browser submits a web form to the web server and the server returns a full markup page or HTML page in response.. All client side user activities are forwarded to the server for stateful processing. The server processes the output of the client actions and triggers the reactions. Now, HTTP is a stateless protocol. ASP.NET framework helps in storing the information regarding the state of the application, which consists of: 1. Page state 2. Session state  The page state is the state of the client, i.e., the content of various input fields in the web form.  The session state is the collective information obtained from various pages the user visited and worked with, i.e., the overall session state 6
  • 6.
    The ASP.NET ComponentModel  The ASP.NET component model provides various building blocks of ASP.NET pages. Basically it is an object model, which describes:  Server side counterparts of almost all HTML elements or tags, such as <form> and <input>.  Server controls, which help in developing complex user-interface. For example, the Calendar control or the Gridview control.  ASP.NET is a technology, which works on the .Net framework that contains all web-related functionalities. The .Net framework is made of an object- oriented hierarchy. An ASP.NET web application is made of pages. When a user requests an ASP.NET page, the IIS delegates the processing of the page to the ASP.NET runtime system. 6
  • 7.
    Components of .NetFramework 3.5 The following table describes the components of the .Net framework 3.5 and the job they perform: 1. Common Language Runtime or CLR It performs memory management, exception handling, debugging, security checking, thread execution, code execution, code safety, verification, and compilation 6 2.Net Framework Class Library It contains a huge library of reusable types. classes, interfaces, structures, and enumerated values, which are collectively called types. 3. Common Language Specification It contains the specifications for the .Net supported languages and implementation of language integration. 4.Common Type System It provides guidelines for declaring, using, and managing types at runtime, and cross-language communication.
  • 8.
    Continues….. (5) Metadata andAssemblies Metadata is the binary information describing the program, which is either stored in a portable executable file (PE) or in the memory. 6 (6) Windows Forms Windows Forms contain the graphical representation of any window displayed in the application. (7) ASP.NET and ASP.NET AJAX ASP.NET is the web development model and AJAX is an extension of ASP.NET for developing and implementing AJAX functionality (8) ADO.NET It is the technology used for working with data and databases. It provides access to data sources like SQL server, OLE DB, XML etc. The ADO.NET allows connection to data sources for retrieving, manipulating, and updating data.
  • 9.
    Continues………. 6 (9) Windows WorkflowFoundation (WF) It helps in building workflow-based applications in Windows. It contains activities, workflow runtime, workflow designer, and a rules engine. (11) Windows Communication Foundation (WCF) It is the technology used for building and executing connected systems. (12) Windows CardSpace It provides safety for accessing resources and sharing personal information on the internet. (13) LINQ It imparts data querying capabilities to .Net languages using a syntax which is similar to the tradition query language SQL.
  • 10.
    ASP.NET - EnvironmentSetup Installation: Microsoft provides a free version of visual studio which also contains SQL Server and it can be downloaded from www.visualstudio.com. Step 1 − Once downloading is complete, run the installer. The following dialog will be displayed.
  • 11.
    Step 2 − Clickon the Install button and it will start the installation process.
  • 12.
    Step 3 Once theinstallation process is completed successfully, you will see the following dialog. Close this dialog and restart your computer if required.
  • 13.
    Step 4 − Open Visual Studio from start Menu which will open the following dialog. It will be a while for the first time for preparation.
  • 14.
    Step 5 − Onceall is done you will see the main window of Visual studio.
  • 15.