Home
Do you have auto-generated maintenance pages on every project ?
  v3.0 Posted at 3/03/2017 8:35 AM by Tiago Araujo

Nowadays, most application are dealing with Data. And it would be nice to have maintenance pages to manage data (select, insert, update and delete).

We recommend you create the maintenance pages by netTiers. netTiers is a set of open source code templates used in CodeSmith for object-relational mapping. It automatically generates a personalized Data Tiers application (on a base of a SQL Server Database) in just a few minutes. With the application it generated, you can manage data of a web application easily and efficiently.

Please follow these steps to create your maintenance pages. 

  1. Download CodeSmith.
  2. Download .netTiers and extract to a folder (e.g., C:\Program Files\Net​Tiers)
  3. Install CodeSmith.
  4. Run C:\Program Files\NetTiers\NetTiers.cst.
  5. Set requires properties following instructions.

  6. Figure: Properties Window
  7. Generate.
  8. Open the solution.
  9. Build it and run it in IE.
  10. Congratulations! It's up and running.
  11. Figure: The application is running

Code ​Smith enables to do this generate with a single command. If you want to generate it again, just run this command.

cs D:\DataDavidBian\Personal\New12345\NetTiers.csp
Figure: An example of command line of Code Smith for NorthWind

We recommend you put this command in a file called "_Regenerate.bat" and add it in the solution in case you will generate it again in future.


Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.