在Asp.net vNext中的bindingRedirect [英] bindingRedirect in Asp.net vNext

查看:77
本文介绍了在Asp.net vNext中的bindingRedirect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在asp.net vnext中实现绑定重定向?在我在web.config文件中使用xml配置bindingRedirect之前,但是我可以在Project.json中找到如何做到这一点

How can I achieve a binding redirect in asp.net vnext? Before I would have configured the bindingRedirect using xml in the web.config file, but I can find how to to this in the Project.json

https://github.com/aspnet/Home/wiki/Project.json-文件

推荐答案

根据ASPNET小组的David Fowler讲,绑定重定向已消失,并且不会返回.我创建了一个GitHub问题,他认为这需要在Roslyn级别完成(基本上,不再输出此警告).

According to David Fowler from the ASPNET team, binding redirects are gone and not coming back. I created a GitHub issue and he thinks this needs to be done at the Roslyn level (basically, don't output this warning anymore).

https://github.com/aspnet/Home/issues/407

这篇关于在Asp.net vNext中的bindingRedirect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆