CLICK HERE TO DOWNLOAD PPT ON Online shopping site
Online shopping site Presentation Transcript
1.Online shopping site
2.Technologies Used
3.Why Asp.Net ?
4.What is sql ?
When a user wants to get some information from a database file, he can issue a query.
A query is a user–request to retrieve data or information with a certain condition.
Hence it’s a language that allows user to specify the conditions.(instead of algorithms)
When a user wants to get some information from a database file, he can issue a query.
A query is a user–request to retrieve data or information with a certain condition.
Hence it’s a language that allows user to specify the conditions.(instead of algorithms)
5.Basic Structure of SQL :
6.Software Requirements :
WINDOWS XP/NT/VISTA/NT
VISUAL STUDIO 2008
SQL SERVER 2005
WINDOWS XP/NT/VISTA/NT
VISUAL STUDIO 2008
SQL SERVER 2005
7.Why Visual Studio 2008 ?
8.Introduction to Asp.NET
ASP.NET is a part of the Microsoft .NET strategy
for web development.
It is a Web development platform that provides
the services necessary for developers to build
enterprise-class Web applications.
It applies an object-oriented approach to dynamic
Web applications.
ASP.NET Web applications are an optimal solution for managing large-scale business applications.
ASP.NET Web applications can be deployed on
the Internet or on an intranet.
ASP.NET is a part of the Microsoft .NET strategy
for web development.
It is a Web development platform that provides
the services necessary for developers to build
enterprise-class Web applications.
It applies an object-oriented approach to dynamic
Web applications.
ASP.NET Web applications are an optimal solution for managing large-scale business applications.
ASP.NET Web applications can be deployed on
the Internet or on an intranet.
9.Advantages of ASP.NET
A new development interface under Visual
Studio.NET.
Separation of code and presentation logic for better understanding and maintenance.
Extensive language support like Visual Basic .NET, C#, Jscript and ADO.NET.
Greater scalability.
Extensive security support.
Efficient state management.
Improved data access using ADO.NET.
Optimizes the performances of request processing by providing extensive caching support.
Easy deployment of applications.
A new development interface under Visual
Studio.NET.
Separation of code and presentation logic for better understanding and maintenance.
Extensive language support like Visual Basic .NET, C#, Jscript and ADO.NET.
Greater scalability.
Extensive security support.
Efficient state management.
Improved data access using ADO.NET.
Optimizes the performances of request processing by providing extensive caching support.
Easy deployment of applications.
10.Detail Overview
11. Asp.NET page structure
12.ASP.NET Pages
12.ASP.NET Pages
13.Page Directives
@Page: Defines page-specific attributes used by the ASP.NET page parser
and compiler. Can be included only in .aspx files.
@Control: Defines control-specific attributes used by the ASP.NET
page parser and compiler. Can be included only in .ascx files (user controls).
@Import: Explicitly imports a namespace into a page or user control.
@Implements: Declaratively indicates that a page or user control
implements a specified .NET Framework interface.
@Register: Associates aliases with namespaces and class names,
allowing user controls and custom server controls to be rendered when
included in a requested page or user control
@Assembly: Declaratively links an assembly to the current page or user
control.
@OutputCache: Declaratively controls the output caching policies of a
page or user control.
@Reference: Declaratively links a page or user control to the current
page or user control.
@Page: Defines page-specific attributes used by the ASP.NET page parser
and compiler. Can be included only in .aspx files.
@Control: Defines control-specific attributes used by the ASP.NET
page parser and compiler. Can be included only in .ascx files (user controls).
@Import: Explicitly imports a namespace into a page or user control.
@Implements: Declaratively indicates that a page or user control
implements a specified .NET Framework interface.
@Register: Associates aliases with namespaces and class names,
allowing user controls and custom server controls to be rendered when
included in a requested page or user control
@Assembly: Declaratively links an assembly to the current page or user
control.
@OutputCache: Declaratively controls the output caching policies of a
page or user control.
@Reference: Declaratively links a page or user control to the current
page or user control.
14.Event handlers
An Event handler is a subroutine that
executes code for a given event.
Events are raised during each stage of a
Web Form processing.
The event handler that corresponds to
the raised event runs.
They provide entry points that allow you
to update the contents of the Web Forms
page.
An Event handler is a subroutine that
executes code for a given event.
Events are raised during each stage of a
Web Form processing.
The event handler that corresponds to
the raised event runs.
They provide entry points that allow you
to update the contents of the Web Forms
page.
15.Web form page life cycle
16.Script section
17.Client side script
They are part of a page and are sent to
the browser which executes them when a
user requests the page.
Typically used to:
Change the appearance of the page when it is
loaded in the browser
Perform validation on the data entered by the
user in a form
Display relevant information in the browser
They are part of a page and are sent to
the browser which executes them when a
user requests the page.
Typically used to:
Change the appearance of the page when it is
loaded in the browser
Perform validation on the data entered by the
user in a form
Display relevant information in the browser
18.Server side scripting
Code can be contained in either server-
side <script> code declaration blocks or
<% %> render blocks .
ASP.NET supports server-side code in any
language that targets the runtime.
Server-side code declaration blocks must
have the runat="server" attribute.
Code can be contained in either server-
side <script> code declaration blocks or
<% %> render blocks .
ASP.NET supports server-side code in any
language that targets the runtime.
Server-side code declaration blocks must
have the runat="server" attribute.
19.Http Modules
Every request in ASP.NET is processed by an
HttpHandler
For example, ASPX pages are handled by the default
ASPX Page HttpHandler.
You can create your own HttpHandler to render
content based on the request
Handlers process the incoming request and
generate the response output.
Can be directly plugged in IIS7 (no more
registering extensions to the ISAPI ASP.NET DLL).
Every request in ASP.NET is processed by an
HttpHandler
For example, ASPX pages are handled by the default
ASPX Page HttpHandler.
You can create your own HttpHandler to render
content based on the request
Handlers process the incoming request and
generate the response output.
Can be directly plugged in IIS7 (no more
registering extensions to the ISAPI ASP.NET DLL).
20.server Controls
21.Web server controls
ASP.NET provides a set of object-oriented GUI
components known as Web Server Controls to
design and develop a web application apart from the
HTML controls generally used to design web
applications.
HTML Controls include Htmlform, HtmlImage, HtmlInputfile, etc….
All ASP.NET web server controls derive from
System.Web.UI.WebControls namespace.
The ID property can be found in all web server
controls and is used to give a name to the control being
used in the form for referring it in code and identifying it
uniquely among all the controls used in the web form.
ASP.NET provides a set of object-oriented GUI
components known as Web Server Controls to
design and develop a web application apart from the
HTML controls generally used to design web
applications.
HTML Controls include Htmlform, HtmlImage, HtmlInputfile, etc….
All ASP.NET web server controls derive from
System.Web.UI.WebControls namespace.
The ID property can be found in all web server
controls and is used to give a name to the control being
used in the form for referring it in code and identifying it
uniquely among all the controls used in the web form.
22.The AutoPostBack property can be found in all web server
controls which post back their data to the server when the
form is posted or when a button is clicked.
The EnableViewState property can be found in all web server controls and is used to define whether a control’s ViewState or the present value it contains is to be retained in the control after the form is posted back to the server.
Web Server Controls can be classified as:
Text Entry Controls
Control Transfer Controls
Selection Controls
Container Controls
Rich or Special Controls are a set of specialty controls that
reside in the System.Web.UI.WebControls namespace, and
used for a particular task, E.g. : AdRotator, Calendar, etc..
controls which post back their data to the server when the
form is posted or when a button is clicked.
The EnableViewState property can be found in all web server controls and is used to define whether a control’s ViewState or the present value it contains is to be retained in the control after the form is posted back to the server.
Web Server Controls can be classified as:
Text Entry Controls
Control Transfer Controls
Selection Controls
Container Controls
Rich or Special Controls are a set of specialty controls that
reside in the System.Web.UI.WebControls namespace, and
used for a particular task, E.g. : AdRotator, Calendar, etc..
0 comments