SubSonic Forums
All Your Database Are Belong To Us

Need guidance resource auto-generation of code for CRUD operations

Latest post 10-22-2008 1:12 PM by naresh.rohra. 4 replies.
  • 10-20-2008 6:04 AM

    Need guidance resource auto-generation of code for CRUD operations

     I am trying to use subsonic for asp.net 2.0 for creating admin pages of all tables for CRUD operations. I had tried subsonic a year and a half ago for the same purpose and was able to do it successfully wherein it created a  folder named "ActionPack" with all the pages and .vb files.

    However, strangely I can't seem to find any resource that can guide me of repeating the same thing. I know scaffolding is a personal term used by Ruby on Rails but still its interchangeably used for defining subsonic's process of "auto-generating CRUD pages." But, I am a bit confused over 2 terms "scaffolding" and "auto-scaffolding". Is there any difference? My need to is to generated the physical pages on disk for later use so as I can edit them freely.

    Any help appreciated.

    Thanks,

    Naresh Rohra.

    (MCTS - MS .Net Framework 2.0: Web Applications)

    Filed under: , ,
  • 10-20-2008 4:02 PM In reply to

    Re: Need guidance resource auto-generation of code for CRUD operations

  • 10-21-2008 12:49 AM In reply to

    Re: Need guidance resource auto-generation of code for CRUD operations

    Thanks spookytooth. However, that link details about using subsonic's scaffold control (as I understood it after reading for couple of times). what I need is the steps (such as web.config changes etc) to generate aspx pages for CRUD operations just as Ruby on Rail does with its scaffolding feature. Something on the lines of what asp.net 3.5 dynamic data does however it works on MVC pattern and generates single page for all tables where as I want seperate page for each table; compatible with asp.net 2.0. If my memory serves me correct then subsonic provides this feature of generating aspx pages.

    Thanks anyways for responding.

    Naresh Rohra.

    (MCTS: MS .Net Framework 2.0: Web Applications)

  • 10-21-2008 9:55 PM In reply to

    • ranomore
    • Top 10 Contributor
    • Joined on 11-05-2007
    • Salt Lake City
    • Posts 322

    Re: Need guidance resource auto-generation of code for CRUD operations

    You can use SubSonicCentral to do this. It's the website that is part of the core subsonic download.

  • 10-22-2008 1:12 PM In reply to

    Re: Need guidance resource auto-generation of code for CRUD operations

    Thanks ranomore. Your reply was spot on. I got what I wanted.

     

    Thanks a lot again.

     

    Naresh Rohra

    (MCTS: MS .Net Framework 2.0: Web Applications)

Page 1 of 1 (5 items) | RSS