Questions tagged [asp.net-mvc-scaffolding]

ASP.NET MVC Scaffolding is a scaffolding package for quickly generating a basic outline of your software that you can then edit and customise.

ASP.NET MVC Scaffolding is a scaffolding package for quickly generating a basic outline of your software that you can then edit and customise.

A tutorial is found on Steven Sanderson's blog.

Installation

MVC Scaffolding can most easily be installed through its NuGet package.

Install-Package MvcScaffolding
364 questions
-1
votes
1 answer

Entity Framework DB context missing when adding scaffolded item

I originally had my EF class in a project added to the solution with my MVC app project referencing that project directly in the solution. I added a bunch of scaffolded items with no issue. I recently moved my EF project to a separate solution and…
-1
votes
1 answer

Create Model From Another Controller

I have a complex user type (more info) which may contain different information based on different types. Now, when I want to register the user, I want to add the necessary information in other database tables. Currently I'm trying to do…
Alireza Noori
  • 14,961
  • 30
  • 95
  • 179
-2
votes
1 answer

Error in Scaffold-DbContext - I can't create entities in NET 6.0

I have a problem when I try to connect to SQL Server database from my local PC. When I use this code in my terminal in Visual Studio 2022: Scaffold-DbContext "Server=MyLaptop-xxxx/SQLEXPRESS; DataBase=db-example;Integrated Security=true"…
-2
votes
2 answers

'NULL entry' error in MVC4 Edit view option of a MVC web application

In the implemntation of a Displayview in a MVC application I am getting the NULL entry for Parameter error when I click on Edit option. Used code for the controller is given below: public ActionResult Edit(int ? id, ConferDetal cnfdr) { …
1 2 3
24
25