Home > Backend Development > C#.Net Tutorial > Share ASP.NET study notes (8) WebPages Helper

Share ASP.NET study notes (8) WebPages Helper

零下一度
Release: 2017-05-25 09:32:49
Original
1783 people have browsed it

ASP.NET Web Pages - Helpers

Web Helpers greatly simplify web development and common programming tasks.

ASP.NET Helpers

ASP.NET helpers are components accessible with a few simple lines of Razor code.

You can build your own helpers using Razor syntax stored in a .cshtml file, or use the built-in ASP.NET helpers.

In the following chapters of this tutorial, you will learn how to use Razor helpers.

Here are brief descriptions of some useful Razor helpers:

WebGrid Helpers

The WebGrid helpers simplify the way you display data:

Automatic Create an HTML table to display data

Supports different formatting options

Supports paginated display of data (first page, next page, previous page, last page)

Supports sorting by clicking on the list title

Chart Helper

"Chart Helper" can display different types of chart images with various formatting options and labels.

Share ASP.NET study notes (8) WebPages HelperShare ASP.NET study notes (8) WebPages Helper

The data source displayed by the Chart helper can be an array, database or file.

WebMail Helper

WebMail Helper provides the function of sending emails using SMTP (Simple Mail Transfer Protocol).

WebImage Helper

WebImage Helper provides functions for managing images in web pages.

Keywords: flip, rotate, scale, watermark.

Third-Party Helpers

With Razor, you can leverage built-in or third-party helpers to simplify email, databases, multimedia, social networking, and many other problems such as navigation and network security).

Installing Helpers

WebMatrix already includes some helpers, and you can install others manually.

In the WebPages Helpers Reference Manual at w3cschool.cc, you can see a convenient reference manual that covers the built-in helpers and other toolkits that can be added to the ASP.NET Web Helpers Library through manual installation Helper in .

If you created a website 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 password *.

Use the Search Area to search for helpers.

Click Install to install the helper you need.

(* If this is your first time using Web Pages Administration, you will be prompted to create a password.)

Share ASP.NET study notes (8) WebPages Helper

[Related recommendations]

1. Share ASP.NET study notes (6) WebPages files

2. Share ASP.NET study notes (1)--WebPages Razor

3. Share ASP.NET study notes (2)--WebPages Introduction

4. Share ASP.NET study notes (3) WebPages layout

5. Share ASP.NET study notes (4) folder

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template