+ Reply to Thread
Results 1 to 9 of 9

Thread: Looking for a C# Code generator

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    1

    Looking for a C# Code generator

    Hi guys,
    I am a web programmer and I have recently been involved in developing my first ASP.NET application written in C#. I am looking for a code generator to help me to implement the skeleton of the application. I tried to search on the Internet and found a few, but none of them generate the stored procedures, the data access layer and the business layer. Can someone suggest me a good and bug-free code generator so I can focus on implementing the business rules rather than writing stored procedures and developing logic to load and save the data?
    Thanks in advance!


  2. #2
    sarcastic encouragement, brilliant! rossable's Avatar
    Join Date
    Oct 2007
    Location
    IN, USA
    Posts
    1,138
    pm hoags

    my uneducated guess would be that doing such things is what really tailors the project to your specific needs though and to neglect this step would kill your optimization.
    but i'm just paid to make things look like they work... functionality is beyond me at the moment.
    Last edited by rossable; 11-12-2007 at 06:33 PM.

  3. #3
    i'm here mjhoagland's Avatar
    Join Date
    Nov 2007
    Posts
    32
    Ok. The thing with code generators is that all of them have bugs and flaws. No program can surpass the judgement and expertise of a knowledgable programmer. Hence, why progammers make programs and not the other way around.

    The neatest skeleton framework that does what you're describing is Ruby on Rails and that's not ASP.Net. So, the best thing I can recommend for you is to take your time and develop your own basic data access layer that is flexible enough to work with any data structure and yet rigid enough to include error checking, recovery, etc.

    Not the answer you're looking for, I know but it's the best way to address your problem. This is a very common situation for programmers and this is the "best practices" solution for it.

    As far as a prebuilt business layer, that is what describes your business rules. If there's code in the business layer that doesn't describe those rules then it shouldn't be in your business layer, no exceptions. That is the single most layer that changes the most from application to application whether it be a desktop app, web app, server/client app, etc.

    A good data access layer should not change much from application to application. There are really only three requirements you need to focus on when making this layer. Requirement 1) get data, 2) put data and 3) an exception recovery model in case 1 or 2 fails. This should be the most light-weight and efficient layer of the application as it's accessed the most since in the vast majority of applications it is accessed by everything.

    The business layer should be all the heavy duty logic, your 800lb gorilla. The data layer is the heart and the business layer is the brain. And as a brain, it carries everything from differentiating bool from string, etc.

    So, in summary, avoid generators and, instead, develop your own data framework that you can carry from project to project. Not saying it's a straight copy/paste from each application but the changes will be minimal if you do it correctly.

  4. #4
    i'm here mjhoagland's Avatar
    Join Date
    Nov 2007
    Posts
    32
    Spammer!!!

  5. #5
    Experienced Member picky-very-picky's Avatar
    Join Date
    Aug 2007
    Location
    UK
    Posts
    113
    delete the post they should know better
    “About half my designs are controlled fantasy, 15 percent are total madness and the rest are bread-and-butter designs.”

  6. #6
    Junior Member
    Join Date
    Feb 2008
    Posts
    1

    Best Code Generator

    I recommend Advantage Builder
    http://AdvantageBuilder.googlepages.com

    It's free, powerfull and simple to use. Point and click architecture throughout. You can build out of the box stored procs classes and web forms.

    You can also script your templates using JScript.

  7. #7
    Junior Member
    Join Date
    Jun 2008
    Posts
    1

    Code Generator

    This one was great.

    URL: pureobjects.com

    It generates c# and vb.net objects as well as create sql table and stored procs all in one shot.

  8. #8
    Junior Member
    Join Date
    Mar 2009
    Posts
    1
    There is a simple program on that link check it, i tried it and creates business classes and also stored procedures.

    C# Code & Stored Procedure Generator

  9. #9
    Junior Member
    Join Date
    Sep 2009
    Posts
    1

+ Reply to Thread

Similar Threads

  1. stripe generator
    By drewbie_wan in forum General Web Design Forum
    Replies: 4
    Last Post: 08-03-2008, 11:33 AM
  2. Vinyl Record Generator
    By Laura Lynne in forum Off Topic
    Replies: 1
    Last Post: 25-02-2008, 08:11 PM
  3. Spam Proof Email Generator
    By Miss Leona in forum General Web Design Forum
    Replies: 0
    Last Post: 20-02-2008, 01:09 PM
  4. Google Sitemap Generator for Mac
    By Toon in forum Apple Mac Forum
    Replies: 3
    Last Post: 31-01-2008, 11:10 AM
  5. 2.0 Stripe Generator
    By Toon in forum General Web Design Forum
    Replies: 1
    Last Post: 03-04-2007, 07:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum Free Vista Themes
The Top The Best Images Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations Creativecurio - Design Blog Graphic Design Advertising

Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.



Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Vision.To Design | Leaflet Printing | Estetica Design Forum's Privacy Policy

Flyer Printing | Photography Blog | Design Forum Links | Logo Design | Graphic Design Social Network | Logo Design

Graphic Design Tutorials | Logo Designer | UK Logo Design Studio | Land for sale | Vector Art Blog | Leaflet Printing

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

Printing | Leaflet Printing | Online Backup | T-Shirt Printing | Personalised Mugs | Canvas Printing | Free Web Hosting Comparison Site