为什么 VS 不提供使用 Entitity Framework 创建 MVC 控制器
Why VS does not offer creating of MVC Controller using Entitity Framework
我是 .NET Core 的新手,我仍在努力解决所有难题。
对我来说一件奇怪的事情是。
我正在使用 VS2015 CE Update3
当我在下面创建新项目时
Visual C# -> Web -> ASP.NET 核心 Web 应用程序
当我将身份验证更改为个人用户帐户时,在下一个表单中
在我的解决方案资源管理器资源管理器下的项目中,文件夹控制器上有上下文菜单,使我能够使用 Entity Framework 创建新的控制器
如果我在不更改身份验证模式的情况下创建相同的项目。
我无法使用 Entity Framework 创建 MVC Conntolers?
为什么 ?
我在项目 whitout autentification 中缺少什么能够创建脚手架 Conntolers 和 Views
即使我根据 ASP.NET Core Docs for Enitity Framework 使用 NuGet 安装 Entity Framework,我仍然无法使用 Scarfold MVC Conntolers
我很抱歉在这里发垃圾邮件。
如果我不问我将永远找不到解决方案
看起来这是 .NET Core Preview 2 Visual Studio 工具的已知问题
There is note on next docs which I did not not reach because I stacked on line bofore
Don't miss setting authentication to Individual User Accounts. You
won't be using authentication in this tutorial, but you need to enable
it because of a limitation of .NET Core Preview 2 Visual Studio
tooling. Scaffolding for MVC controllers and views only works when
Individual User Accounts authentication is enabled.
我是 .NET Core 的新手,我仍在努力解决所有难题。 对我来说一件奇怪的事情是。 我正在使用 VS2015 CE Update3
当我在下面创建新项目时
Visual C# -> Web -> ASP.NET 核心 Web 应用程序
当我将身份验证更改为个人用户帐户时,在下一个表单中
在我的解决方案资源管理器资源管理器下的项目中,文件夹控制器上有上下文菜单,使我能够使用 Entity Framework 创建新的控制器
如果我在不更改身份验证模式的情况下创建相同的项目。
即使我根据 ASP.NET Core Docs for Enitity Framework 使用 NuGet 安装 Entity Framework,我仍然无法使用 Scarfold MVC Conntolers
我很抱歉在这里发垃圾邮件。 如果我不问我将永远找不到解决方案 看起来这是 .NET Core Preview 2 Visual Studio 工具的已知问题 There is note on next docs which I did not not reach because I stacked on line bofore
Don't miss setting authentication to Individual User Accounts. You won't be using authentication in this tutorial, but you need to enable it because of a limitation of .NET Core Preview 2 Visual Studio tooling. Scaffolding for MVC controllers and views only works when Individual User Accounts authentication is enabled.