When we are working with MVC projects we tend to rely on the
intellisense. When creating a controller most of the time we expect the view
and the code to be generated if we are using MVC.
However, sometimes we do not get this when we are creating a
controller. It only creates a controller, not the view and the code. How to
sort this issue out? Can we get these options to sort them?
The answer is yes, we can. This can be achieved by adding
the following packages to the project.json file
"Microsoft.ApplicationInsights.AspNet": "1.0.0-rc1",
"EntityFramework.MicrosoftSqlServer": "7.0.0-rc1-final",
"Microsoft.Extensions.CodeGenerators.Mvc": "1.0.0-rc1-final",
"Microsoft.AspNet.Mvc.TagHelpers": "6.0.0-rc1-final"
No comments:
Post a Comment