@manhnguyenv

Welcome to my blog!

My Code Generator

March 14, 2018 13:17

https://www.codeproject.com/Articles/15728/Write-your-own-Code-Generator-or-Template-Engine-i

https://tomassetti.me/parsing-in-csharp/

Code Generator

January 25, 2018 11:26

.NET Code Generator

  • T4 Text Templates
  • Code Trigger

T4 Text Templates

Design-time T4 text templates let you generate program code and other files in your Visual Studio project

Code Trigger

https://www.codetrigger.com

Review Code Trigger

http://www.devride.com/index.php/codetrigger-one-of-the-best-net-code-generator/

As a project manager one would think of following things:

a- Setup code base.
b- Graphics Design Resources availability.
c- Design and architecture.
d- Meeting deadlines.

As a developer I would think of following:

a- Which design pattern to follow.
b- 4 entities. Each entitiy should provide atleast basic CRUD (Create, read, Update and Delete) operations in Data Access Layer.
c- Performance of code
d- Bug free code
e- Web Service Layer
f- Dependency Injection in code? Ninject, Unity, Autofac?
g- Repository Pattern.
h- Writing the access layer.

For a medium to large scale project i must say CodeTrigger is the best code generator tool ever.

Best Features:

a- Clean & quality code
b- Bug free code
c- Performance
d- Easily manage changes during sprints, one click and you get your code changes
e- Visual Studio integration
f- Nice Criteria query API
g- Nice Repository pattern implementation
h- Generate SQL Stored procedures.
i- Support for logging
j- Exception handling support
k- Unit of work pattern
l- Dependency injection pattern using either Unity or ninject
m- Generates interface definitions.

Categories