ASP.NET

Image

ASP.NET (formerly known as ASP) is a framework created by Microsoft in 2002, intended for the development of web pages (Web3.0 ).

It can be used with all languages ​​intended to work on the .NET platform.

Code Examples

We start with very simple codes. The more you progress, page after page, the more sophisticated the scripts will be.

C 0001 - Hello World !

Say hello...
Watch out for the indentation !

<!DOCTYPE html>
<body>
<div>
<%
Response. Write( "Hello World !");
%>
</div> </body> </html>

C 0002 - Variables

Using text colors...
Watch out for the indentation !

<!DOCTYPE html>
<body>
<%
Response.Write("<p style='color:#ff0000'>A text and its color</p>")
%>

</body>
</html>

C 0003 - Numbers

Print a country's list...
Watch out for the indentation !

<!DOCTYPE html>
<body>
<%
Dim x(2,2)
x(0,0)="France"
x(0,1)="Italy"
x(0,2)="UK"
x(1,0)="USA"
x(1,1)="Canada"
x(1,2)="Mexico"
x(2,0)="Greece"
x(2,1)="Portugal"
x(2,2)="Spain"
for i=0 to 2
response.write("<p>")
for j=0 to 2
response.write(x(i,j) & "<br />")
next
response.write("</p>")
next
%>

</body>
</html>

C 0004 - Date and hour

Showing date and hour...
Watch out for the indentation !

<!DOCTYPE html>
<html>
<body>
Today's date is : <%response.write(date())%>.
<br>
The server watch is : <%response.write(time())%>.
</body>
</html>

Info+

Creation
» Creation date : 2002
* Created and developed by Microsoft
* Influenced by all languages ​​specific to .NET
* Multiplatform
* Proprietary license / Apache (V5) but also open source

Practical cases

In order to train you, we add small programs every week to this section in order to keep you up to speed.

CASE 1

BASIC LEVEL

Display a list of links

This small program will allow you to develop a small glossary, made up of links leading to second level pages.

TRY

CASE 2

INTERMEDIATE LEVEL

Create a forms library

This little kit will allow you to set up a library of technical forms, intended for your team.

TRY

CASE 3

EXPERT LEVEL

Create a website

Design and develop an ECorporate website, including contact forms, as well as legal notices.

TRY
2021 (C) Fond of Code tm (protected trademark) - Reflex001 / Diego Piccini (da Todi).
All rights reserved. Protected editorial content (www.theethicalweb.com).

About Us...

About Us...
Reflex001

Web
Programming
Development

Main Topics

Main Topics

Legal/Support

Legal/Support
Image