ASP.NET Tutoria...login
ASP.NET Tutorial
author:php.cn  update time:2022-04-11 14:18:18

Introduction to Web Pages


ASP.NET Web Pages - Tutorial


ASP.NET is a web page created using HTML, CSS, JavaScript and server scripts and website development framework.

ASP.NET supports three different development modes:
Web Pages (Web page), MVC (Model View Controller model-view-controller), Web Forms (Web Form):

This tutorial introduces Web Pages.

# #Web Forms

Where to start?

Most developers learn a new technology by looking at running instances.


Learn Easily with "Run Example"

Our "Run Example" tool makes it easier to learn Web Pages.

It displays ASP.NET code and HTML output while running the instance.

Click the "Run Instance" button to see how it works:

Instance

<!DOCTYPE html>
<html>
<body>
     <h1>Hello Web Pages</h1> 
     <p>The time is @DateTime.Now</p>
</body>
</html>

Run Instance»

Click the "Run Instance" button to view the online instance




What are Web Pages?

Web Pages is one of three programming patterns for creating ASP.NET websites and web applications.

The other two programming patterns are Web Forms and MVC (Model View Controller Model-View-Controller).

Web Pages is the simplest development model for developing ASP.NET web pages. It provides a simple way to combine HTML, CSS, JavaScript and server scripts:

  • Easy to learn, easy to understand, easy to use

  • Created around a single web page

  • Similar to PHP and Classic ASP

  • Server scripts for Visual Basic or C

  • #Full HTML, CSS and JavaScript Control

Web Pages has built-in Web Helpers for databases, videos, graphics, social media and more, so it's easy Extension.


Web Pages Tutorial

If you are new to ASP.NET, it is recommended to start learning from Web Pages.

In our Web Pages tutorial, you'll learn how to combine HTML, CSS, JavaScript, and server code using the latest Razor server markup syntax in VB (Visual Basic) or C# (C sharp).

You can also learn how to extend your web pages with programmable Web Helpers including databases, videos, graphics, social media, and more.


Web Pages Examples

Learn through examples!

Because ASP.NET code is executed on the server, you cannot view the code in your browser. You only see normal HTML page output.

In w3cschool.cc, each example will show the hidden ASP.NET code, which will make it easier for you to understand how it works.

Web Pages Example


Web Pages Reference Manual

At the end of this tutorial, you will see a complete set of ASP.NET reference manual that introduces Objects, components, properties and methods.

Web Pages Reference Manual


Using WebMatrix

In this tutorial, we used WebMatrix.

WebMatrix is ​​a simple but powerful free ASP.NET development tool specifically tailored for Web Pages by Microsoft.

WebMatrix contains:

  • Web Pages instances and templates

  • A Web server language (VB or C# Razor server Markup syntax)

  • A kind of Web server (IIS Express)

  • A kind of database server (SQL Server Compact)

  • A complete web development framework (ASP.NET)

By using WebMatrix, you can start development from an empty website and a blank page, or you can You can use open source applications in the "Web Application Library" for secondary development. Many PHP and ASP.NET applications are open source, such as Umbraco, DotNetNuke, Drupal, Joomla, WordPress, and more. WebMatrix also has built-in security, SEO, and web publishing tools.

Technology and code developed using WebMatrix can be seamlessly transformed into fully professional ASP.NET applications.

If you want to try WebMatrix, please click the link below to install:

http://www.microsoft.com/web/gallery/install.aspx?appid=WebMatrix


Web Pages
MVC