Share the ASP. NET Learning Note (8) Webpages Helper

Source: Internet
Author: User

ASP. NET Web Pages-Helper

Web helpers greatly simplify web development and common programming tasks.

ASP. NET Helper

The ASP. NET helper is a component that can be accessed through a few lines of simple Razor code.

You can use the Razor syntax stored in the. cshtml file to build your own helper, or use the built-in ASP. NET Helper.

In the next sections of this tutorial, you will learn how to use the Razor helper.

Here is a brief description of some useful Razor helpers:

WebGrid Helper

The WebGrid helper simplifies the way data is displayed:

Automatically create an HTML table to display the data

Support for different formatting options

Support data pagination display (first page, next page, previous page, last page)

Support for sorting by clicking on a list title

Chart Helper

The chart helper can display different types of graph images with multiple formatting options and labels.

The Chart helper displays a data source that can be an array, a database, or a file.

WebMail Helper

The WebMail helper provides the ability to send e-mail messages using the SMTP (Simple Mail Transfer Protocol Easy Message Transfer Protocol).

Webimage Helper

The Webimage helper provides the ability to manage images in a Web page.

Keywords: flip, rotate, scale, watermark.

Third-party helpers

With Razor, you can leverage built-in or third-party helpers to simplify the use of e-mail, databases, multimedia, social networking, and many other issues, such as navigation and network security.

Installing the Help device

WebMatrix already contains some helpers, and you can manually install additional helpers.

In w3cschool.cc's Webpages Helper reference manual, you can see a handy reference manual that contains built-in helpers and other helpers that can be attached to the ASP. Net. NET Web Helpers Library Toolkit by manual installation.

If you created a Web site in WebMatrix, follow these steps to install the helper:

In WebMatrix, open the Site workspace.

Click Web Pages Administration.

Log in to Web Pages administration using the password *.

Use the search area to search for helpers.

Install the helper you want by installing the installation.

(* If you are using Web Pages administration for the first time, you will be prompted to create a password.) )

"Recommended"

1. Share the ASP. NET Learning Note (6) Webpages file

2. Share the ASP. NET Learning Notes (1)--webpages Razor

3. Share the ASP. NET Learning Notes (2)--webpages Introduction

4. Share the ASP. NET Learning Notes (3) Webpages layout

5. Share the ASP. NET Learning Notes (4) folder

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.