FAQ Database Discussion Community


Command line scaffolding in asp.Net VNext

c#,asp.net-5,asp.net-mvc-scaffolding,visual-studio-2015
I am trying to create a Web Application in Visual studio 2015 Preview. I am trying to create views using the Command Line Scaffolding. I used the following command: k gen controller -name ProductController -m ViewModels.Product -dc ProductContext -f -udl The ViewModels.Product class is defined in another project and referenced...

MVC5 Scaffolding Dropdowns Out the Box

asp.net-mvc,asp.net-mvc-5,poco,html.dropdownlistfor,asp.net-mvc-scaffolding
I want to view, edit and create with drop-down list of my lookup relationships. Sometimes this works, sometimes it doesn't. It's a mystery that I'm hoping can be definitely solved here. Here's my POCO's for the lookup public class Color { public int Id { get; set; } public string...

Is controller scaffolding missing in MVC 6?

c#,asp.net-mvc-6,asp.net-mvc-scaffolding,vs-2015-preview
When creating controller in MVC 6 I don't see the scaffolding for creating controller methods? Will they be missing or in the production release?

Scaffolding Error - Building with Database First

asp.net,asp.net-mvc,entity-framework,scaffolding,asp.net-mvc-scaffolding
Provided Error No connection string named 'Entities' could be found in the application config file. Explanation and Inquiry I know this question has been asked, but I have found that none of the answers are working for me, and I believe it has to do with my attempts to Scaffold...