StrataFrame Forum

Unable to Add Business Object to Web Site

http://forum.strataframe.net/Topic9589.aspx

By Alan W - 6/14/2007

Following the tutorial documentation regarding a Web Site "Creating a Project" which references Tutorial_WebVB_1, I am unable to add a business object to the project. The only StrataFrame object that appears in the documentation is a StrataFrame Web Form. The StrataFrame Business Object does not appear in the list of installed templates as shown in the screen shot of your documentation.
By Ivan George Borges - 6/14/2007

Hi Alan.

This might help:

http://forum.strataframe.net/Topic8232-8-1.aspx

By Trent L. Taylor - 6/14/2007

Alan,

I think that you need to start with the WinForms tutorial.  By starting straight on the web you do not yet have an understanding of how to create a business object, map it, etc.  First of all, you NEVER want to store a BO in a web site project.  You need to create a BO Library project and then the web site references that project assembly.

If you start with the WinForms tutorial, you will see how to create BOs, map them, bind them to controls, etc.  Those exact same BOs that are used in the WinForms can then be turned around and used on a WebForms application without changing a single thing from the BO layer down.  Another reason to create a BO library.

I hope this makes sense, but I think you would find more success by first starting on the WinForms side where, per our converstaion earlier, you have more experience anyway and things will probably line up more quickly as to how the framework is laid out and works.

By Alan W - 6/14/2007

Thanks for the info. I am certainly a rookie when it comes to StrataFrame. As a suggestion, you might want to update the tutorial documentation. The link > Adding a Business Object in the help page entitled "Creating the Project" that references Tutorial_WebVB_1 is what  caused me to attempt to incorrectly add a business object where I should not.
By Trent L. Taylor - 6/14/2007

We'll take a look at it....thanks Smile
By Ivan George Borges - 6/14/2007

Alan W (06/14/2007)
As a suggestion, you might want to update the tutorial documentation. The link > Adding a Business Object in the help page entitled "Creating the Project" that references Tutorial_WebVB_1 is what  caused me to attempt to incorrectly add a business object where I should not.

Hi Alan.

Do you get a Web Tutorial over there? In mine I can see only a WinForms tutorial, and only Tutorial_WinVB_1.

By Ivan George Borges - 6/14/2007

Sorry, just found it... it happens if you go from the link "> Creating the Project" from the "Before you Begin" in the "Creating a Business Object Library" topic... Blush