19
INTRODUCTION OF ASP.NET Shyam N. Chawda 07874391191 www.shyamsir.com

Basic Concept of ASP.NET

Embed Size (px)

DESCRIPTION

basic of ASP.NET

Citation preview

Page 1: Basic Concept of ASP.NET

INTRODUCTION OF ASP.NETShyam N. Chawda 07874391191

www.shyamsir.com

Page 2: Basic Concept of ASP.NET

CODING MODELS

Shyam N. Chawda 9374928879

Inline code (single-file)

Code behind file

Page 3: Basic Concept of ASP.NET

INLINE Need to write the

Script code + HTML code

in the same file.

Shyam N. Chawda 9374928879

Page 4: Basic Concept of ASP.NET

CODE BEHIND

Shyam N. Chawda 9374928879

4

Page 5: Basic Concept of ASP.NET

CODE BEHIND Script code and the HTML code in

separate files

These two files are then linked together to run the Web application.

Shyam N. Chawda 9374928879

5

Page 6: Basic Concept of ASP.NET

CODE BEHIND

2 separate files.

Designing in HTML (.aspx) Coding in Vb.net (.aspx.vb)

Shyam N. Chawda 9374928879

6

Page 7: Basic Concept of ASP.NET

COMPARE Easy Designer working on the markup while a

programmer Code can be reused for multiple pages.

Single-file page is easier to rename. send to another programmer because there is

only one file.Shyam N. Chawda 9374928879

7

Page 8: Basic Concept of ASP.NET

CODE RENDER BLOCKS Code render blocks are used to

write inline code or inline expressions inside the .aspx page.

Shyam N. Chawda 9374928879

8

Page 9: Basic Concept of ASP.NET

CODE RENDER BLOCKS

<% inline code %> <%=inline expression %>

Shyam N. Chawda 9374928879

9

Page 10: Basic Concept of ASP.NET

CODE RENDER BLOCKS

<% Dim I as integer %>

<font size=<%=I%>>

Shyam N. Chawda 9374928879

10

Page 11: Basic Concept of ASP.NET

CODE RENDER BLOCKS

Exercise <hr> <font>

Shyam N. Chawda 9374928879

11

Page 12: Basic Concept of ASP.NET

TYPES OF CONTROL

Page 13: Basic Concept of ASP.NET

Standard Controls

Validation Controls

Rich Controls

Data Controls

Navigation Controls

Login Controls

Webpart Controls

HTML Controls

Page 14: Basic Concept of ASP.NET

SERVER CONTROLS

They are programmable objects Server side objects. HTML conrtols <runat =server> System.Web.UI.WebControls

Shyam N. Chawda 9374928879

14

Page 15: Basic Concept of ASP.NET

HTML CONTROLS

System.Web.UI.HTMLControls

Shyam N. Chawda 9374928879

15

Page 16: Basic Concept of ASP.NET

VALIDATION CONTROL RequiredFieldValidator CompareValidator RangeValidator RegularExpressionValidat

or CustomValidator

Shyam N. Chawda 9374928879

16

Page 17: Basic Concept of ASP.NET

DIRECTORY STRUCUTRE

App_Browsers App_Code App_Data App_GlobalResources App_LocalResources

Page 18: Basic Concept of ASP.NET

DIRECTORY STRUCUTRE

App_Themes App_WebReferences Bin

Page 19: Basic Concept of ASP.NET

Shyam N. Chawda 9374928879

19

Any Questions

Thanks