.NET Core第26天_ScriptTagHelper的使用

https://ithelp.ithome.com.tw/upload/images/20210927/20107452eigkk4166g.png
ScriptTagHelper (脚本标签帮助程序):是针对HTML原生<script> tag的封装。

<script>当中有src属性用於加载CDN的js文件
那微软额外多封装了
asp-fallback-src属性:主要是当主要URL师廖要回推到特定的URL,这里通常会改用Server本机的js。

asp-fallback-test属性:设置用於作回推测是的属性。

本篇已同步发表至个人部落格
https://coolmandiary.blogspot.com/2021/08/net-core26scripttaghelper.html


<<:  CSS BOX Model(模型)(DAY14)

>>:  【13】模型套不套用资料增强 (Data Augmentation) 的比较实验

Day 11:94. Binary Tree Inorder Traversal

今日题目 题目连结:94. Binary Tree Inorder Traversal 题目主题:S...

[Golang] Modules

Within a small application, we can just use the ma...

How to change Siri's voice on your iPhone

If you want your iPhone to be more original and st...

RWD模版

以此为模版将需要的内容图片填进去 <!DOCTYPE html> <html>...

[Day8]Rare Easy Problem

上一篇介绍了2 the 9s,是一题会需要重复执行的题目,使用回圈跟副程序会比较容易执行,整体上不会...