ASP.NET Code Generator

I have a SQL Server database. I would really like to quickly create a middle tier and interface from this database. I would prefer something that creates web forms, if possible. I understand that no code generator will be phenomenal. However, I just want something to push me and launch me quickly, after which I can configure as needed.

Can someone recommend any code generators?

Thanks!

+7
source share
8 answers

I have successfully used Code Smith (commercial product).
This is a popular template engine, and you will find many templates on the Internet for all kinds of architecture / data access systems.

I also used simple T4 templates that you can use in Visual Studio without having to install anything (although I would recommend using something like the Tangible T4 Editor to get the color syntax).

0
source

There is ASP.NET Dynamic Data . If you can live with MVC, EF4 and MVC3 would be my choice over dynamic data.

+3
source

I have a friend who will release a code generator very soon. You provide xslts based on a data model to create classes at whatever level you want. Here is the site: Code Generator Be sure to check out the sample project .

+1
source

If you have Visual Studio (2005 or higher), you can consider T4 templates. There's a good introductory video on DNRTV . T4 is a little-known code generation tool that comes with all editions of Visual Studio (even Express, I think).

In some of my projects, I used MyGeneration , a free open source generator. This is also a good option.

0
source

You can use the Entity Framework to generate objects from the database schema, and then use the MVC Framework to generate gated types that use the specified generated objects as models.

Here's a good post - http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx

0
source

I would give SubSonic a try, especially the version of ActiveRecord. Basically, it will generate an interface (with Linq) into an existing SQL Server database. In order to take it into forms, I suspect that you will not find a very good solution, because there are so many implementation details that are usually placed in web forms, such as XSS, how everything should look and behave, etc. d.

0
source

I propose a tool that I use for rapid application development, is the creator of asp.net . http://www.hkvstore.com/aspnetmaker/

I used it for low budget projects or where I needed for a dirty quick fix until the final was ready. What I did was that I create a solution for simple tables and create code for one that thinks too much to be fixed.

The pros is that it has a lot of future, very easy, and you do not need to know anything to make an interface , create an entire environment from a database that can edit it, be able to make many settings, and what you get is a better page than Forest.

The negative is that you stick to the fact that this tool is a product, and you cannot refresh pages yourself to make small changes, because it complicates one, the second, if something changes, the pages, and even if you rename it and don’t overwrite, it may not work.

You need to check it out and see for yourself.

0
source

Redbrook Technology has excellent ASP.NET forms and a code generator. It is also very cheap. Try it - ASP.NET Generator

0
source

All Articles