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
0
votes
2 answers

asp.net mvc 4 scaffolding not working

I have the following class in a class library public class ExpenseDTO { [Key] public Int32 ExpenseId { get; set; } public Int32 ExpenseTypeId { get; set; } [Display(ResourceType = typeof(Resource), Name = "ExpenseDate")] …
0
votes
0 answers

Scaffolding aspnet webapi with jquery grid and unit testing

I've an ASPNET MVC4 project using WebApi, EF5 Code First and Repository and Unit of Work patterns. I'd like to know if someone knows a scaffolder to scaffold the controllers and views, but instead of using something like this, I'd like the views to…
0
votes
1 answer

Nuget on Visual Studio 2012

I use Visual Studio 2012 Ultimate and I'm trying to install mvcScaffolding but I'm getting errors. I've tried to set the ExecutiongPolicy to Bypass, but I'm still getting errors. Any ideas how to fix this? PM> Set-ExecutionPolicy Bypass -Scope…
0
votes
1 answer

Scaffolding error with CodeIgniter_2.1.2

I am using codeigniter 2.1.2 and I want to use scaffolding feature to add information to table. When I set this $route['scaffolding_trigger'] = 'scaffolding'; in routes.php and call it in controller $this->load->scaffolding('applicants'); I get the…
0
votes
2 answers

MVCScaffolding for MVC4?

In the past, I had some success in automation of coding with customization functionality of MVCScaffolding for my MVC sites. Now, with great knockout.js and other js libraries, I want to automate javascript coding as well. Is MVCScaffolding still…
Tae-Sung Shin
  • 20,215
  • 33
  • 138
  • 240
0
votes
1 answer

cannot find sql table from entity framework scaffolding

I just created an asp.net mvc 3 application and added these classes and then added the controller to supply the CRUD pages. When going to those pages i can do everything that's expected but for some reason i cannot find where the data is being…
theStig
  • 612
  • 1
  • 13
  • 33
0
votes
1 answer

MVCScaffolding and Database Sync for constantly-changing model

I have used MVCScaffolding from Nuget Package Manager and followed the brief tutorial on how it works. It seems simple enough,and when I run Scaffold Controller Team –Repository -Force it will create all the repository pattern stuff surrounding…
JustAnotherDeveloper
  • 3,167
  • 11
  • 37
  • 68
0
votes
2 answers

MVCscaffolding generate model template from database

Is it possible while using MVCscaffolding and t4 templates to automatically generate a model with all table data from database for example i have a table named Customers in my DB it has 3 fields: Id Name Number so can i make a t4 template that…
Eddy
  • 1
  • 4
0
votes
1 answer

Configuring hyperlink navigation from entity to entity with Spring Roo and Spring MVC

I use Spring Roo + Jpa + Spring MVC. I have several @ManyToOne and @OneToMany relationships in my domain. Furthermore, I have generated web scaffolds for my entities. So say I have a client---order relationship (one client having several…
balteo
  • 23,602
  • 63
  • 219
  • 412
0
votes
1 answer

(Rails) I have 2 models, Area (parent) & RadioStation (child). How might I pull an Area object's name in a Station form using an :area_id foreign key?

I have two "CRUD" forms generated by the "rails g scaffold ModelName type:attribute1, type2:attribute2" command, which is quite powerful. I'll try to just show what is relevant. First here are my models (attr_accessible tells the db migration…
0
votes
1 answer

Unable to generate Controller for Entity using SqlServer CE 4.0: ScaffoldingConnectionFactory Error

I am getting the feel of SqlServer CE 4.0 to use with MVC 3 without installation. Things are going fine. I have successfully integrated Troy Goode's MembershipStarterKit and also ErikEJ's SqlServerCEMembership provider. Both are working find. Now I…
0
votes
1 answer

MvcScaffolding: Adding Default Datetime Field & Current User Field (from Forms Authentication)

I'm working on a project that uses MvcScaffolding to build a quick CRUD interface (many thanks to Steven Sanderson), but I'm having trouble adding two 'code-first' fields (I normally work in SQL Server and know very little about C#). I'd like to add…
-1
votes
1 answer

asp.net mvcscaffolding Postscontroller.cs sort to order by decending

// // GET: /Posts/ public ViewResult Index() { return View(postRepository.AllIncluding(post => post.Comments)); } I want to modify the code above to display in reverse order by PublishDate column.
-1
votes
1 answer

asp mvc page load forever

Hi guys im new in asp mvc my question is that i created model using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace MyDemo.Models { public class Teachers …
-1
votes
2 answers

Entityframework +MVC + Scaffolding

I dont want a view model. I have a model as below public class Person { #region private variables private string _firstName; private string _lastName; private string _middleName; private Gender _gender; …
Vivek P
  • 133
  • 1
  • 12
1 2 3
24
25