Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Copy WSSF and use as base for new GA package (formerly Where are the configuration files located?)
 

Copy WSSF and use as base for new GA package (formerly Where are the configuration files located?)

I want to create a custom package. I have used the "Giuidance Package Development" project to start me off but I want to look at some example packages to see how they work. Specifically I want to see how code is generated from a database schema and how code is generated from classes. I think the database part can come from the WSSF. I'm not sure how the BusinessEntity classes work but I think they can be found in the same package. Should I be looking at the Guidance Automation configuration file for WSSF? If so where can I find it?

I want to create a guidance package creates a data access layer, business entity layer, a web service layer (all of this can be done with the WSSF I know) but also I want my classes to act as data providers off of which I can build web controls for administration. I want to also build those in an automated manner. The reason I need to depart from WSSF isbecause Ihave a set of fields I use in most tables for auditing and some for ownership (to support an application service provider model).For exampleCreatedUser, Owner, and LastModifiedUser should be filled by the user who is logged on so I will need to either change the stored procedures that are generated or the DAL classes to accomodate them.

lcj  Wednesday, November 22, 2006 1:10 PM

You may want to take a look at the GAT Hands On Lab too, based on what you're describing it may help looking at its source code.

But if you're going to reuse most of WSSF then I would suggest you start modifying its sources instead of starting from scratch. I'm not sure which configuration files are you referring to? If you mean the package manifest file you should find them along with the package source code in the download for the factory.

HTH,
-Victor.

vga  Wednesday, November 22, 2006 3:10 PM

You may want to take a look at the GAT Hands On Lab too, based on what you're describing it may help looking at its source code.

But if you're going to reuse most of WSSF then I would suggest you start modifying its sources instead of starting from scratch. I'm not sure which configuration files are you referring to? If you mean the package manifest file you should find them along with the package source code in the download for the factory.

HTH,
-Victor.

vga  Wednesday, November 22, 2006 3:10 PM
That sounds like a good suggestion. Do you have the specific steps involved in copying the WSSF source code and as a guidance package that I can then edit?
lcj  Wednesday, November 22, 2006 3:42 PM

I would just copy & paste the whole sources to a new folder and start working from there. One thing you need to make sure is to change the Guid and Name attributes of the package in the package's manifest file in order to give it a differenty "identity" than the WFC one.

HTH,
-Victor.

vga  Wednesday, November 22, 2006 7:08 PM

You can use google to search for other answers

Custom Search

More Threads

• How to execute value editor from custom wizard ?
• Adding a recipe to a GAT package to create a view/presenter as in SCSF
• Effort in creating class recipe
• Facing problem while working with file system under source control
• web project template, to fire code in gac class.
• registry entry for GAT and GAX
• GAT Wrapper
• What is the status of GAT? Why not use Codesmith?
• Set an "Overview" HTML page to the Guidance Package
• GAX not wanting to install