Home >Backend Development >C#.Net Tutorial >Share ASP.NET study notes (2)--WebPages introduction

Share ASP.NET study notes (2)--WebPages introduction

零下一度
零下一度Original
2017-05-24 17:56:281924browse

ASP.NET Web Pages - Tutorial

ASP.NET is a development framework for creating web pages and websites using HTML, CSS, JavaScript, and server scripts.

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.

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 Example" button to see how it works:

Web Pages Example

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

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

Visual Basic or C# server script

Full HTML, CSS and JavaScript control

Web Pages built-in database, video, graphics , social media and many more Web Helpers, so it's easy to extend.

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, which introduces objects and 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 (Razor server markup syntax for VB or C#)

A Web Server (IIS Express)

A database server (SQL Server Compact)

A complete Web development framework (ASP.NET)

By using WebMatrix, you can Start development with an empty website and a blank page, or 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.

【Related Recommendations】

1. ASP.NET Free Video Tutorial

2. Detailed introduction to ASP.NET MVC--View

3. What is ASP.NET MVC? Summary of ASP.NET MVC

4. Simple definition and introduction of ASP.NET

The above is the detailed content of Share ASP.NET study notes (2)--WebPages introduction. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn