How to use BOs from Win project within a Web project


Author
Message
Larry Tucker
Larry Tucker
StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)
Group: StrataFrame Users
Posts: 69, Visits: 308
Hi,

I've been working on a SF Windows project and would now like to build my first SF Web project that uses the same business objects.  I've read the SF Tutorial several times but cannot quite get it to work.

First, can I leave the BO's within the Win solution, or do I need to pull them out as a separate BO library?  I'd prefer to just leave them in the Win project and manage them there.  If this is possible, how do I reference them from the Web project?

On the assumption that I need to pull them out as a separate BO Library (like the Tutorial), I tried this before posting this question.  When I go to add a reference to the new BOL from either the Win or Web solutions, the Add Reference / Project folder is empty (unlike the Tutorial!). 

So I'm stuck at step one of my first SF Web project and must be missing something basic. 

TIA,

Larry

Replies
Larry Tucker
Larry Tucker
StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)StrataFrame User (173 reputation)
Group: StrataFrame Users
Posts: 69, Visits: 308
Trent,

You need to first place your BOs in a BO library, then your Win and Web forms projects will reference the same BO library.... When you do this, you will want to use a solution, not just a project.  When you do this, you can use a project reference and it will appear. 

Thanks for the quick reply, especially on a Sunday.  I'm trying to do this, and as far as I can tell, am doing the same steps as the Tutorial,  but when I get to the Add Reference / Project tab, my BO library is not visible to be selected.  In fact, no projects are shown in this tab at all.

Is there anything that I need to do to make a project available or visible to others?  It seems odd that my Add Reference / Projects tab is completely blank, even though I've created several test SF projects of various sorts.

PS:  I've attached a jpg of the step in the Tutorial where I am stuck... FWIW.

Larry

Attachments
TutorialScreenShot.jpg (165 views, 108.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
I have attached a sample VS2005 project that has a WinForms project and a BO library.  The WinForms project references the BO library as a project reference.

Larry, if you could work it out, I think that the training class coming up in July would be really good for you.  We cover a lot of material and have an entire section just on application layout, etc.  If you could make it happen I think that it would be well worth your while.  Just an idea Smile

Thanks for the quick reply, especially on a Sunday. 

No problem.  I am working and happened to be online when I saw your post. Smile

Attachments
TuckerProjectLayoutSample.zip (152 views, 73.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search