ASP.NET Scaffolding/Templating CRUD Solutions

后端 未结 6 1186
刺人心
刺人心 2021-02-06 02:35

I\'ve been looking into ASP.NET Dynamic Data and how it does scaffolding and routing. I\'ve only scratched the surface, but it\'s looking like I\'d have to create a template for

相关标签:
6条回答
  • 2021-02-06 03:17

    In ASP.NET webforms we use CodeSmith. From a single entity we generate admin pages, codebehinds, service layers, data layers and db stored procedures. All in a matter of seconds. I'd recommend you check it our for quickly building the crud in your apps.

    0 讨论(0)
  • 2021-02-06 03:22

    We're actually working on our own code generation tool. It has already proven to work perfectly on the lower layers and now we're on the way to extend it for the presentation layer, that is for generating user controls.

    I've not looked into dynamic data (although I'd like to when I have some time) but my biggest fear is always to lose flexibility. The problem is that these front-ends are then maybe generated dynamically each time based on some template and editing, especially bringing in special customer wishes becomes quite difficult. For small standard apps it may work perfectly though.

    What we're therefore doing is to "generate" these usercontrols based on a set of standard custom server controls we've developed, but we'll generate just the first time from some static information about the entities in our application. Then you can continue customizing.

    Such systems should help the developer, improving his development speed, doing the initial awkward work but then they should give him the flexibility to modify till the maximum. They should not add additional complexity...

    0 讨论(0)
  • 2021-02-06 03:27

    I used .netTiers CodeSmith templates long time ago (years) and it was proven so strong, so, it must be more than great now.

    I know a (big) company who have built a customization engine (allowing GUI for internal company options) around those templates to use them in most of their applications and were so successful.

    0 讨论(0)
  • 2021-02-06 03:28

    Obviously not much widespread use out there other than whats provided in Visual Studio.

    0 讨论(0)
  • 2021-02-06 03:29

    Have a look at Blinq.

    0 讨论(0)
  • 2021-02-06 03:30

    I've used http://www.ironspeed.com/ in the past which has been great. Saved us MONTHS of time on our last project which has a big DB, so the cost is worth it. But it looks a bit ugly and can be tricky to update the DB schema once you've generated.

    0 讨论(0)
提交回复
热议问题