本文介绍了在Asp vNext中的bindingRedirect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp vnext中实现绑定重定向?在我在web.config文件中使用xml配置bindingRedirect之前,但是我可以在Project.json中找到如何做到这一点
How can I achieve a binding redirect in asp 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
github/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).
github/aspnet/Home/issues/407
更多推荐
在Asp.net vNext中的bindingRedirect
发布评论