An ASP.NET MVC Generator...

by Paul Kohler 12. October 2008 00:43

I am working on a "generator" for the MVC stuff Microsoft has come out with. It's a rails thing in case you hadn't seen it - basically a file set skeleton generator. Rather that using built in templates, you have a local set of templates (this is important) for an application and you type stuff like this via command line:

> generate Controller Home Index About Join Contact 

And a controller is created in the right spot with basic methods etc.

> generate View Home Index

...would give you an Index view in the Home folder under views etc. The ASP.NET implementation "requires" 3 files for a view which is a bit of a pain but hey....

Probably the main thing I really wanted to roll up was a "controller set", i.e. the first command creates the controller, it's methods and all associated views.

It's almost done :-)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

ASP.NET MVC Generator | General

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.4.5.10
Theme by Mads Kristensen