Sunday, June 26, 2011

Regenerate the code of user interface layer

With SFS Tools, this task is to automatically generate the code of the user interface (Forms). Important: With the SFS Tools is possible generate and maintain the code continuously integrating the code of the programmer.

The task of regeneration of code can be very common in the life of the project.

Steps

Assuming you are working in this project sample.

  1. Select the tree files: “All.MVC.tt”, “SecuritySettings.tt” y “SiteMapNodes.tt” and right click and select “Run custom tool” from context menu.
    image
  2. This create the code again to add the files of new entities to folders: “Controller”, “Models”, “Resources” y “Views”. If entities have been added, need to be included in the solution.

Done!

No comments:

Post a Comment