我正在使用mvc6与vs2015 rc。阅读Using IConfiguration globally in mvc6后,我的代码现在看起来像这样: startup.cs: public void ConfigureServices(IServiceCollection services)
{
...
IConfiguration configuration = new Co
问题 我试图使用ASP.NET 5 Tag Helpers。具有配置服务器端的错误信息,我收到如下: error CS0103: The name 'addtaghelper' does not exist in the current context 从阅读在线教程,addtaghelper是应该存在。在project.json我们添加了这一点: "Microsoft.AspNet.Mvc.Ta