First of all, some background: 4 years of C # experience and a year of Rails experience. I would appreciate any input from someone who worked in both, and knows a lot about ASP.NET MVC application development.
I have done nothing but Rails projects over the past year. Now my client wants their application to be converted from ASP.NET Web Forms to ASP.NET MVC. This is the first time I've done MVC in C #, so I'm trying to figure out how this happens, and if some productive Rails tasks are moving to ASP.NET MVC.
First of all, is there such a thing as Scaffoldin ASP.NET MVC? I see something called Area, but I donโt know if it really is. Also, how can I create a scaffold (models, controllers, and views), just a controller, or just a model based on the same information that I would provide to Rails?
For example, I can do something like:
$>script/generate scaffold person first_name:string last_name:string
which creates a model Person, the transfer script (that I run to create database tables), the controller Peopleand views for each of the interfaces RESTful ( index, new, create, edit, update, show, destroy). Can I do something similar in Visual Web Develop 2010 Express?
source
share