Professional Documents
Culture Documents
1
ASP.NET
A powerful tool for creating dynamic and
interactive web pages
ASP.NET is a server side scripting technology that
enables scripts (embedded in web pages) to be
executed by an Internet server.
ASP.NET is a Microsoft Technology
ASP stands for Active Server Pages
ASP.NET is a program that runs inside IIS
2
Features in ASP.NET 2.0
Master Pages, Themes, and Web Parts
Standard controls for navigation
Standard controls for security
Roles, personalization, and internationalization services
Improved and simplified data access controls
Full support for XML standards like, XHTML, XML, and WSDL
Improved compilation and deployment (installation)
Improved site management
New and improved development tools
3
ASP.NET WEB PAGE CODE MODEL
1.Single-File Page Model
Sample.aspx
<% page Language=“c#” %>
<script runat =“server”>
Void Button_click(object sender,Event args e)
{
Label.text=“clicked at”+DateTime.Now.ToString();
}
</script>
<html>
<head><title>
</title></head><body>
</body></html>
4
2.Code Behind Page Model
Sample.aspx
5
TYPES OF WEBSITES
Local IIs website
File system website
Ftp sites
Remote sites
6
PAGE LIFECYCLE MODEL
7
VARIOUS CONTROLS
Html control:Div,image,input
Standard toolbox control:button,cal,label
Web server controls:User controls
Navigation control:menu,sitemap path,treeview
8
ADVENTURE WORKS
A fictitious bicycle manufacturer.
business-to-consumer (B2C) Web application.
The B2C Web application will enable members of the public to:
Browse product categories.
View product details.
Add products to shopping carts.
Complete the online order process.
Submit ratings and feedback for products.
View details of past orders and invoices.
9
REQUIREMENTS
Visual studio 2005
.NET framework 2.0
Microsoft sql server 2005
Language used:c#
10
SNAPSHOTS
11
12
13
14
15
THANK YOU
16
QUERIES ???...
17