ASP.NET Vnext标签助手的领域

编程入门 行业动态 更新时间:2024-10-25 22:34:56
本文介绍了ASP.NET Vnext标签助手的领域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我可以使用< A HREF =/区/控制器/动作'> < / A> 在asp vnext只是想知道我们是否可以使用标签佣工像<一个ASP控制器=ControllerNameASP-行动=ActionNameASP-面积=AREANAME方式> 来重定向到特定文件中的区域

I may use <a href='/Area/Controller/action'> </a> in asp vnext but just want to know whether we can use tag helpers like <a asp-controller="ControllerName" asp-action="ActionName" asp-area="AreaName"> to redirect to the specific file in the area.

将任何一个指导我如何使用标签来帮手重定向到一个文件中的区域?

Will any one guide me how to redirect to a file in area using tag helpers.?

推荐答案

最后,我从下面的链接,效果很好的答案。

Finally I got the answer from the following link which works well.

&LT;一个ASP的路由面积=AREANAMEASP-控制器=ControllerNameASP-行动=ActionName&GT; &LT; / A&GT;

github链接

更多推荐

ASP.NET Vnext标签助手的领域

本文发布于:2023-06-10 16:28:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/615037.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:助手   领域   标签   ASP   NET

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!