다음 리스트는 주요 내장된 태그 헬퍼를 나타낸다.
• 링크 태그 헬퍼
- <a asp-action="Index" asp-controller="Home">Home</a>
• 폼 태그 헬퍼
- <form asp-action="Create" asp-controller="Board"></form>
• 레이블 태그 헬퍼
- <label asp-for="Name" />
• TextArea 태그 헬퍼
- <textarea asp-for="Content"></textarea>
• Select 태그 헬퍼
- <select asp-for="Encoding" asp-items="EncodingLists"></select>
- <select asp-for="Encoding" asp-items="@Html.GetEnumSelectList(typeof(EnumType))"></select>
• 유효성 검사 태그 헬퍼
- <span asp-validation-for="Title"></span>
• Environment 태그 헬퍼: 개발 환경과 배포 환경에 따라 다른 기능 구현
- <environment names="Development"></environment>
- <environment names="Staging, Production"></environment>
• Cache 태그 헬퍼: 특정 시점까지 캐싱 기능을 적용
- <cache vary-by-user="true"></cache>
레이아웃 페이지에서 다음과 같이 코드를 입력하면 css 폴더의 모든 css 파일을 읽어서 한 번에 link 태그로 만들어 넣어 준다. 이처럼 asp-로 시작하는 내장된 태그 헬퍼가 많이 있다.
<link asp-href-include=“~/css/*.css” rel=“stylesheet” />