asp.net-mvcsubsonicsubsonic3

Subsonic MVC Template and Code Generation


I am using Subsonic MVC Template from this project.

Here is a folder named [Code Template] which contains the .tt files for generating views and controllers. But that is giving me error "MvcTextTemplateHost not found"

I want to generate the create/edit/list pages based on the tables generated by subsonic. How can I do that?


Solution

  • what you want is this:

    http://github.com/subsonic/SubSonic-3.0/downloads

    1 add subsonic dll to bin folder 2 add reference to that DLL

    3 add a connection string to your web.config or app.config

    add the connection string name to your ttinclude file

    drag files into your models folder

    you are then ready to go

    http://subsonicproject.com/docs/The_5_Minute_Demo

    brilliant up and running in like 10 mins