0% found this document useful (0 votes)
47 views

Web Engineering-Ii: Adnan Amin

This document provides an overview of web engineering using ASP.NET. It discusses web forms, which are ASP.NET pages that separate content into an HTML template and code behind. The template contains controls like HTML and server controls that create the user interface. HTML controls run on the client-side while server controls run on the server. The code behind contains programming routines related to server controls and can be written in languages like VB.NET and C#.

Uploaded by

Adnan Amin
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views

Web Engineering-Ii: Adnan Amin

This document provides an overview of web engineering using ASP.NET. It discusses web forms, which are ASP.NET pages that separate content into an HTML template and code behind. The template contains controls like HTML and server controls that create the user interface. HTML controls run on the client-side while server controls run on the server. The code behind contains programming routines related to server controls and can be written in languages like VB.NET and C#.

Uploaded by

Adnan Amin
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

WEB ENGINEERING-II

USING ASP.NET
Adnan Amin (ICT Lecturer / Software Programmer)
Overview
 Web Form
 ASP.net Controls
 HTML Controls
 HTML Server Controls

 The Code Behind the page.


Web Form
 Web form are ASP.net pages within an ASP.net
application.
 The extension of Web form of ASP.net using VB.net is
*.aspx;
 The APS.net web form is separated into two logical
area.
1. HTML template.
2. Code behind the web form.
1.HTML Template Web Form conti.

 HTML template usually contains


1. The design layout,
2. Contents and
3. Controls
i. HTML Controls.
ii. HTML Server Controls.
 The HTML template creates the user interface using
web form controls.
HTML Controls
 HTML Controls runs on Client side.
 The old ASP were using HTML
controls.
 You only need to write runat=“server”
to transform the HTML control into an
HTML Server control. or
 Right click on html control then click on
runat from menu.
HTML Control (textbox)
<input type=“text”>

HTML Server Control


<input type=“textbox” runat=“server”>
HTML Server Controls
 Server Controls are run on the server.
 ASP.net Server Controls are
 Form controls
 Data Validation controls

 Web parts

 Mobile Controls

 Login Controls

 Navigations Controls
2.Code Behind the Web forms Web Form conti.

 With the web forms, the server programs are written in


a separate file known as the code behind the web form.
 The Code behind the page contains programming
routines that are directly related to the various server
controls on the web form.
 Just the server controls can interact with the code behind
the page.
 The code behind the page may be written in any ASP.net
compatible language, including vb.net, C# and J#.
 It has the same filename as the web form with extension
varies with programming language. (*.cs and *.vb)
Thank You !
 References
 www.geoamins.com

 Introduction to ASP.net <2nd Edition> by Kathleen Kalata

You might also like