++++++++++++++++++++++++++++++++++++ XWebSiteTemplate CodeSmith Templates Version 1.0.0 Jan 12, 2007 ++++++++++++++++++++++++++++++++++++ Setup ===== 1. Make sure you have at least version 4.0 of CodeSmith - either standard or professional edition. 2. Unzip "XWebSiteTemplate_CodeSmith_Templates.zip" into a temporary folder 3. Copy "\AddIns\XWebSiteTemplate_CustomProperties.dll" to \4.0\AddIns 4. Create "XWebSiteTemplate" folder in CodeSmith under your main templates directory. 5. Copy "Web" and "BusinessLogic" sub-directories from "\Templates" into XWebSiteTemplate folder you created in previous step. Default directory is "\CodeSmith\Templates\XWebSiteTemplate" 6. Now re-fresh CodeSmith and you should be able to see the template files Templates ========= There are currently 6 templates that will let you create most common classes and pages. 2 templates for Business logic layer and 4 for Web layer. NOTE: Several of the templates use "ColumnGrid" custom property through add-in "XWebSiteTemplate_CustomProperties.dll" (should have been copied into CodeSmith AddIns folder during Setup). Business logic -------------- * ItemClass.cst - Used to generate an Entity class such as Customer from database table. ex. Customer.cs * ItemSearchClass.cst - Used to generate a class for search, sorting and paging entities. ex. CustomerSearch.cs Web --- * EditItemPageASPX.cst * EditItemPageCS.cst - Generates ASPX and code behind page for editing an entity ex. EditCustomer.aspx * SearchItemsPageASPX.cst * SearchItemsPageCS.cst - Generates ASPX and code behind page for finding, sorting and paging entities. ex. SearchCustomers.aspx Release Notes ============= Ver 1.0.0 - Jan 12, 2007 * Original release Known Issues ============